|
||||||||||
| 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 - exception
public void testBasic()
throws QueryException
QueryException - query exception
public void docNodeReturned1()
throws QueryException
QueryException - query exception
public void docNodeReturned2()
throws QueryException
QueryException - query exception
public void docNodeReturned3()
throws QueryException
QueryException - query exception
public void docNodeNotReturned()
throws QueryException
QueryException - query exception
public void nameResolvingBug()
throws QueryException
QueryException - query exception
public void allNamesBug()
throws QueryException
QueryException - query exception
public void attributesBug()
throws QueryException
QueryException - query exception
public void descOrSelfBug()
throws QueryException
QueryException - query exception
public void multipleSlashesBug1()
throws QueryException
QueryException - query exception
public void multipleSlashesBug2()
throws QueryException
QueryException - exception
public void doubleSlashBug2()
throws QueryException
QueryException - exception
public void doubleSlashBug3()
throws QueryException
QueryException - exception
public void doubleSlashBug1()
throws QueryException
QueryException - exception
public void dotSlashBug1()
throws QueryException
QueryException - exception
public void dotSlashBug2()
throws QueryException
QueryException - exception
public void dotSlashBug3()
throws QueryException
QueryException - exception
public void dotSlashBug4()
throws QueryException
QueryException - exception
public void dotSlashBug5()
throws QueryException
QueryException - exception
public void nameOnlyBug()
throws QueryException
QueryException - exception
public void unfinishedPredicateBug()
throws QueryException
QueryException - exception
public void comparisonBug()
throws QueryException
QueryException - exception
public void functionCallTest()
throws QueryException
QueryException - exception
public 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 | |||||||||