org.apache.commons.jexl2
Class ForEachTest

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.ForEachTest
All Implemented Interfaces:
junit.framework.Test

public class ForEachTest
extends JexlTestCase

Tests for the foreach statement

Since:
1.1

Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
ForEachTest(String name)
          create a named test
 
Method Summary
 void testForEachWithArray()
           
 void testForEachWithBlock()
           
 void testForEachWithCollection()
           
 void testForEachWithEmptyList()
           
 void testForEachWithEmptyStatement()
           
 void testForEachWithEnumeration()
           
 void testForEachWithIterator()
           
 void testForEachWithIteratorMethod()
           
 void testForEachWithListExpression()
           
 void testForEachWithMap()
           
 void testForEachWithProperty()
           
 
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

ForEachTest

public ForEachTest(String name)
create a named test

Method Detail

testForEachWithEmptyStatement

public void testForEachWithEmptyStatement()
                                   throws Exception
Throws:
Exception

testForEachWithEmptyList

public void testForEachWithEmptyList()
                              throws Exception
Throws:
Exception

testForEachWithArray

public void testForEachWithArray()
                          throws Exception
Throws:
Exception

testForEachWithCollection

public void testForEachWithCollection()
                               throws Exception
Throws:
Exception

testForEachWithEnumeration

public void testForEachWithEnumeration()
                                throws Exception
Throws:
Exception

testForEachWithIterator

public void testForEachWithIterator()
                             throws Exception
Throws:
Exception

testForEachWithMap

public void testForEachWithMap()
                        throws Exception
Throws:
Exception

testForEachWithBlock

public void testForEachWithBlock()
                          throws Exception
Throws:
Exception

testForEachWithListExpression

public void testForEachWithListExpression()
                                   throws Exception
Throws:
Exception

testForEachWithProperty

public void testForEachWithProperty()
                             throws Exception
Throws:
Exception

testForEachWithIteratorMethod

public void testForEachWithIteratorMethod()
                                   throws Exception
Throws:
Exception


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