org.apache.commons.jexl2
Class ScriptCallableTest

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

public class ScriptCallableTest
extends JexlTestCase

Tests around asynchronous script execution and interrupts.


Nested Class Summary
static class ScriptCallableTest.TestContext
           
 
Field Summary
 
Fields inherited from class org.apache.commons.jexl2.JexlTestCase
JEXL
 
Constructor Summary
ScriptCallableTest()
           
 
Method Summary
 void testCallable()
           
 void testCancelForever()
           
 void testCancelLoopWait()
           
 void testCancelWait()
           
 void testCancelWaitInterrupt()
           
 void testFuture()
           
 void testNoWait()
           
 void testWait()
           
 
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

ScriptCallableTest

public ScriptCallableTest()
Method Detail

testFuture

public void testFuture()
                throws Exception
Throws:
Exception

testCallable

public void testCallable()
                  throws Exception
Throws:
Exception

testNoWait

public void testNoWait()
                throws Exception
Throws:
Exception

testWait

public void testWait()
              throws Exception
Throws:
Exception

testCancelWait

public void testCancelWait()
                    throws Exception
Throws:
Exception

testCancelWaitInterrupt

public void testCancelWaitInterrupt()
                             throws Exception
Throws:
Exception

testCancelForever

public void testCancelForever()
                       throws Exception
Throws:
Exception

testCancelLoopWait

public void testCancelLoopWait()
                        throws Exception
Throws:
Exception


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