org.apache.commons.jexl2
Class VarTest

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

public class VarTest
extends JexlTestCase

Tests local variables.


Nested Class Summary
static class VarTest.NumbersContext
           
 
Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
VarTest(String testName)
           
 
Method Summary
 void testLiteral()
           
 void testLocalBasic()
           
 void testLocalFor()
           
 void testLocalForFunc()
           
 void testLocalForFuncReturn()
           
 void testLocalSimple()
           
 void testMix()
           
 void testRefs()
           
 void testStrict()
           
 
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

VarTest

public VarTest(String testName)
Method Detail

testStrict

public void testStrict()
                throws Exception
Throws:
Exception

testLocalBasic

public void testLocalBasic()
                    throws Exception
Throws:
Exception

testLocalSimple

public void testLocalSimple()
                     throws Exception
Throws:
Exception

testLocalFor

public void testLocalFor()
                  throws Exception
Throws:
Exception

testLocalForFunc

public void testLocalForFunc()
                      throws Exception
Throws:
Exception

testLocalForFuncReturn

public void testLocalForFuncReturn()
                            throws Exception
Throws:
Exception

testRefs

public void testRefs()
              throws Exception
Throws:
Exception

testMix

public void testMix()
             throws Exception
Throws:
Exception

testLiteral

public void testLiteral()
                 throws Exception
Throws:
Exception


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