|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--org.objectweb.jonas_ejb.deployment.ejbql.AssertQueryHelper
Helper used to check the validity of query parsing
Constructor Summary | |
AssertQueryHelper()
|
Method Summary | |
static org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode |
checkParserFor(java.lang.String query)
Check the validity of the parsing for a given query.So far, the validation consists in performing a first parsing, counting the nodes of the obtained lexical tree, creating a new string representation of the query from the lexical tree, parsing this string again and comparing the number of nodes of the last tree with the first one. |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AssertQueryHelper()
Method Detail |
public static org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode checkParserFor(java.lang.String query) throws java.lang.Exception
query
- the string containing the EJBQL query
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |