|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.test.query.ASTTest
public final class ASTTest
JUnit Test class.
Constructor Summary | |
---|---|
ASTTest()
|
Method Summary | |
---|---|
void |
allNamesBug()
Test for wildcard matching. |
void |
attributesBug()
Test for attribute axis. |
void |
comparisonBug()
Test for comparing text nodes with numbers. |
void |
comparisonTest()
Test for comparison. |
void |
descOrSelfBug()
Test for descendant-or-self axis. |
void |
docNodeNotReturned()
Test for doc node not returned on child step from doc node. |
void |
docNodeReturned1()
Test for doc node returned on '/' query. |
void |
docNodeReturned2()
Test for doc node returned on '/.' query. |
void |
docNodeReturned3()
Test for doc node contained in ancestor axis. |
void |
dotSlashBug1()
Test for './.' bug. |
void |
dotSlashBug2()
Test for './/.' bug. |
void |
dotSlashBug3()
Test for './/a' bug. |
void |
dotSlashBug4()
Test for './' not allowed. |
void |
dotSlashBug5()
Test for 'a/' not allowed. |
void |
doubleSlashBug1()
Test for '//' not recognized as valid. |
void |
doubleSlashBug2()
Test for '//' not recognized as valid. |
void |
doubleSlashBug3()
Test for 'count(//)' not recognized as valid. |
void |
functionCallTest()
Test a function. |
static void |
initData()
Initialize XML Storage for tests. |
void |
multipleSlashesBug1()
Test for '///' not recognized as valid. |
void |
multipleSlashesBug2()
Test for '////' not recognized as valid. |
void |
nameOnlyBug()
Test for 'a[b]' bug. |
void |
nameResolvingBug()
Test for basic name resolving. |
static void |
tearDown()
Delete the test-database. |
void |
testBasic()
Test for doc node returned on '/' query. |
void |
unfinishedPredicateBug()
Test for 'a[b' throwing ParsingException, not Errors. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASTTest()
Method Detail |
---|
public static void initData() throws java.lang.Exception
java.lang.Exception
- exceptionpublic void testBasic() throws QueryException
QueryException
- query exceptionpublic void docNodeReturned1() throws QueryException
QueryException
- query exceptionpublic void docNodeReturned2() throws QueryException
QueryException
- query exceptionpublic void docNodeReturned3() throws QueryException
QueryException
- query exceptionpublic void docNodeNotReturned() throws QueryException
QueryException
- query exceptionpublic void nameResolvingBug() throws QueryException
QueryException
- query exceptionpublic void allNamesBug() throws QueryException
QueryException
- query exceptionpublic void attributesBug() throws QueryException
QueryException
- query exceptionpublic void descOrSelfBug() throws QueryException
QueryException
- query exceptionpublic void multipleSlashesBug1() throws QueryException
QueryException
- query exceptionpublic void multipleSlashesBug2() throws QueryException
QueryException
- exceptionpublic void doubleSlashBug2() throws QueryException
QueryException
- exceptionpublic void doubleSlashBug3() throws QueryException
QueryException
- exceptionpublic void doubleSlashBug1() throws QueryException
QueryException
- exceptionpublic void dotSlashBug1() throws QueryException
QueryException
- exceptionpublic void dotSlashBug2() throws QueryException
QueryException
- exceptionpublic void dotSlashBug3() throws QueryException
QueryException
- exceptionpublic void dotSlashBug4() throws QueryException
QueryException
- exceptionpublic void dotSlashBug5() throws QueryException
QueryException
- exceptionpublic void nameOnlyBug() throws QueryException
QueryException
- exceptionpublic void unfinishedPredicateBug() throws QueryException
QueryException
- exceptionpublic void comparisonBug() throws QueryException
QueryException
- exceptionpublic void functionCallTest() throws QueryException
QueryException
- exceptionpublic void comparisonTest() throws QueryException
QueryException
- exceptionpublic static void tearDown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |