org.apache.commons.jexl2
Class WhileTest

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

public class WhileTest
extends JexlTestCase

Tests for while statement.

Since:
1.1

Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
WhileTest(String testName)
           
 
Method Summary
 void testSimpleWhileFalse()
           
 void testWhileExecutesExpressionWhenLooping()
           
 void testWhileWithBlock()
           
 
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

WhileTest

public WhileTest(String testName)
Method Detail

testSimpleWhileFalse

public void testSimpleWhileFalse()
                          throws Exception
Throws:
Exception

testWhileExecutesExpressionWhenLooping

public void testWhileExecutesExpressionWhenLooping()
                                            throws Exception
Throws:
Exception

testWhileWithBlock

public void testWhileWithBlock()
                        throws Exception
Throws:
Exception


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