|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.jexl2.JexlTestCase
org.apache.commons.jexl2.MethodTest
public class MethodTest
Tests for calling methods on objects
| Nested Class Summary | |
|---|---|
static class |
MethodTest.ContextualFunctor
|
static class |
MethodTest.EnhancedContext
|
static class |
MethodTest.Functor
|
static class |
MethodTest.MyMath
|
static class |
MethodTest.ScriptContext
|
static class |
MethodTest.VarArgs
|
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.jexl2.JexlTestCase |
|---|
JEXL |
| Constructor Summary | |
|---|---|
MethodTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
testCallJexlVarArgMethod()
|
void |
testCallMixedVarArgMethod()
|
void |
testCallVarArgMethod()
|
void |
testInvoke()
|
void |
testMethod()
test a simple method expression |
void |
testMulti()
|
void |
testNamespaceCall()
|
void |
testScriptCall()
|
void |
testStaticMethodInvocation()
Ensures static methods on objects can be called. |
void |
testStaticMethodInvocationOnClasses()
|
void |
testStringMethods()
test some String method calls |
void |
testTopLevelCall()
|
| 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, 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 |
|---|
public MethodTest()
| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void testCallVarArgMethod()
throws Exception
Exception
public void testCallMixedVarArgMethod()
throws Exception
Exception
public void testCallJexlVarArgMethod()
throws Exception
Exception
public void testInvoke()
throws Exception
Exception
public void testMethod()
throws Exception
Exception
public void testMulti()
throws Exception
Exception
public void testStringMethods()
throws Exception
Exception
public void testStaticMethodInvocation()
throws Exception
Exception
public void testStaticMethodInvocationOnClasses()
throws Exception
Exception
public void testTopLevelCall()
throws Exception
Exception
public void testNamespaceCall()
throws Exception
Exception
public void testScriptCall()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||