|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
de.fuberlin.wiwiss.d2rq.TestFramework
de.fuberlin.wiwiss.d2rq.RDQLTestFramework
de.fuberlin.wiwiss.d2rq.functional_tests.RDQLTest
Functional tests that exercise a ModelD2RQ by running RDQL queries against it.
For notes on running the tests, see AllTests
.
Each test method runs one RDQL query and automatically compares the actual
results to the expected results. For some tests, only the number of returned triples
is checked. For others, the returned values are compared against expected values.
If a test fails, the dump() method can be handy. It shows the actual results returned
by a query on System.out.
To see debug information, uncomment the enableDebug() call in the setUp() method.
Field Summary |
Fields inherited from class de.fuberlin.wiwiss.d2rq.RDQLTestFramework |
compareQueryHandlers, differenceLogger, differentLogger, logger, model, performanceLogger, queryString, rdqlLogger, results, rsLogger, separator |
Fields inherited from class de.fuberlin.wiwiss.d2rq.TestFramework |
D2RQMap, NS, xsdString, xsdYear |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
RDQLTest(java.lang.String arg0)
|
Method Summary | |
void |
testRDQLFetch()
|
void |
testRDQLGetAuthorsAndEmails()
|
void |
testRDQLGetAuthorsAndEmailsWithCondition()
|
void |
testRDQLGetAuthorsNameAndEmail()
|
void |
testRDQLGetAuthorsOfPaperByTitle()
|
void |
testRDQLGetTopics()
|
Methods inherited from class de.fuberlin.wiwiss.d2rq.RDQLTestFramework |
assertResult, assertResultCount, containsAll, dump, rdql, resultBindingsToMaps, resultBindingToMap, runTest, setUp, tearDown |
Methods inherited from class de.fuberlin.wiwiss.d2rq.TestFramework |
getD2RQMap, getNS, run, setD2RQMap, setNS |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, runBare, setName, 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 RDQLTest(java.lang.String arg0)
Method Detail |
public void testRDQLFetch()
public void testRDQLGetAuthorsAndEmails()
public void testRDQLGetAuthorsAndEmailsWithCondition()
public void testRDQLGetTopics()
public void testRDQLGetAuthorsOfPaperByTitle()
public void testRDQLGetAuthorsNameAndEmail()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |