org.apache.commons.jexl2
Class BlockTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.jexl2.JexlTestCase
              extended by org.apache.commons.jexl2.BlockTest
All Implemented Interfaces:
junit.framework.Test

public class BlockTest
extends JexlTestCase

Tests for blocks

Since:
1.1

Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
BlockTest(String testName)
          Create the test
 
Method Summary
 void testBlockExecutesAll()
           
 void testBlockLastExecuted01()
           
 void testBlockLastExecuted02()
           
 void testBlockSimple()
           
 void testEmptyBlock()
           
 void testNestedBlock()
           
 
Methods inherited from class org.apache.commons.jexl2.JexlTestCase
createEngine, createThreadedArithmeticEngine, debuggerCheck, flatten, flattenedStr, main, runTest, runTest, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockTest

public BlockTest(String testName)
Create the test

Parameters:
testName - name of the test
Method Detail

testBlockSimple

public void testBlockSimple()
                     throws Exception
Throws:
Exception

testBlockExecutesAll

public void testBlockExecutesAll()
                          throws Exception
Throws:
Exception

testEmptyBlock

public void testEmptyBlock()
                    throws Exception
Throws:
Exception

testBlockLastExecuted01

public void testBlockLastExecuted01()
                             throws Exception
Throws:
Exception

testBlockLastExecuted02

public void testBlockLastExecuted02()
                             throws Exception
Throws:
Exception

testNestedBlock

public void testNestedBlock()
                     throws Exception
Throws:
Exception


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.