|
|||||||||
| 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.shapelogic.logic.JexlContextTest
public class JexlContextTest
Test problems with JexlContext: call static method on class
| Constructor Summary | |
|---|---|
JexlContextTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
testCollectionSize()
|
void |
testMapAccess()
|
void |
testMultipleStatements()
Notice that the result get turned into a Long |
void |
testStaticMethodCallFromClass()
So the solution is that you have to associate a the class name with the class first |
void |
testStaticMethodCallFromClassUsingSetClassInContext()
So the solution is that you have to associate a the class name with the class first |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JexlContextTest()
| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCase
public void testStaticMethodCallFromClass()
throws java.lang.Exception
java.lang.Exception
public void testStaticMethodCallFromClassUsingSetClassInContext()
throws java.lang.Exception
java.lang.Exception
public void testMultipleStatements()
throws java.lang.Exception
java.lang.Exception
public void testCollectionSize()
throws java.lang.Exception
java.lang.Exception
public void testMapAccess()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||