org.apache.commons.jexl2
Class CacheTest

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

public class CacheTest
extends JexlTestCase

Verifies cache & tryExecute


Nested Class Summary
static class CacheTest.AssignBooleanTask
          A task to check boolean assignment.
static class CacheTest.AssignListTask
          A task to check list assignment.
static class CacheTest.AssignNullTask
          A task to check null assignment.
static class CacheTest.AssignTask
          A task to check assignment.
static class CacheTest.Cached
          A set of classes that define different getter/setter methods for the same properties.
static class CacheTest.Cached0
           
static class CacheTest.Cached1
           
static class CacheTest.Cached2
           
static class CacheTest.Cached3
           
static class CacheTest.Cached4
           
static class CacheTest.ComputeTask
          A task to check method calls.
static class CacheTest.Task
          The base class for MT tests.
 
Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
CacheTest(String testName)
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testAssignBooleanCache()
           
 void testAssignBooleanNoCache()
           
 void testAssignCache()
           
 void testAssignListCache()
           
 void testAssignListNoCache()
           
 void testAssignNoCache()
           
 void testComputeCache()
           
 void testCOMPUTECache()
           
 void testComputeNoCache()
           
 void testCOMPUTENoCache()
           
 void testNullAssignCache()
           
 void testNullAssignNoCache()
           
 
Methods inherited from class org.apache.commons.jexl2.JexlTestCase
createEngine, createThreadedArithmeticEngine, debuggerCheck, flatten, flattenedStr, main, runTest, runTest
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

CacheTest

public CacheTest(String testName)
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class JexlTestCase
Throws:
Exception

testNullAssignNoCache

public void testNullAssignNoCache()
                           throws Exception
Throws:
Exception

testNullAssignCache

public void testNullAssignCache()
                         throws Exception
Throws:
Exception

testAssignNoCache

public void testAssignNoCache()
                       throws Exception
Throws:
Exception

testAssignCache

public void testAssignCache()
                     throws Exception
Throws:
Exception

testAssignBooleanNoCache

public void testAssignBooleanNoCache()
                              throws Exception
Throws:
Exception

testAssignBooleanCache

public void testAssignBooleanCache()
                            throws Exception
Throws:
Exception

testAssignListNoCache

public void testAssignListNoCache()
                           throws Exception
Throws:
Exception

testAssignListCache

public void testAssignListCache()
                         throws Exception
Throws:
Exception

testComputeNoCache

public void testComputeNoCache()
                        throws Exception
Throws:
Exception

testComputeCache

public void testComputeCache()
                      throws Exception
Throws:
Exception

testCOMPUTENoCache

public void testCOMPUTENoCache()
                        throws Exception
Throws:
Exception

testCOMPUTECache

public void testCOMPUTECache()
                      throws Exception
Throws:
Exception


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