|
||||||||||
| 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.ParseFailuresTest
public class ParseFailuresTest
Tests for malformed expressions and scripts.
(JexlEngine.createExpression(String) and
JexlEngine.createScript(String) should throw
JexlExceptions).
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.jexl2.JexlTestCase |
|---|
JEXL |
| Constructor Summary | |
|---|---|
ParseFailuresTest(String testName)
Create the test. |
|
| Method Summary | |
|---|---|
void |
testMalformedExpression1()
|
void |
testMalformedExpression2()
|
void |
testMalformedScript1()
|
void |
testMalformedScript2()
|
void |
testMalformedScript3()
|
| 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 |
|---|
public ParseFailuresTest(String testName)
testName - name of the test| Method Detail |
|---|
public void testMalformedExpression1()
throws Exception
Exception
public void testMalformedExpression2()
throws Exception
Exception
public void testMalformedScript1()
throws Exception
Exception
public void testMalformedScript2()
throws Exception
Exception
public void testMalformedScript3()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||