de.fuberlin.wiwiss.d2rq.functional_tests
Class FindTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
de.fuberlin.wiwiss.d2rq.TestFramework
de.fuberlin.wiwiss.d2rq.FindTestFramework
de.fuberlin.wiwiss.d2rq.functional_tests.FindTest
- All Implemented Interfaces:
- junit.framework.Test
- public class FindTest
- extends FindTestFramework
Functional tests for the find(spo) operation of GraphD2RQ
.
For notes on running the tests, see AllTests
.
Each test method runs one or more find queries 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 triples are compared against expected triples.
If a test fails, the dump() method can be handy. It shows the actual triples returned
by a query on System.out.
To see debug information, uncomment the enableDebug() call in the setUp() method.
- Author:
- Richard Cyganiak
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary |
FindTest(java.lang.String arg0)
Constructor for FindTest. |
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 |
FindTest
public FindTest(java.lang.String arg0)
- Constructor for FindTest.
- Parameters:
arg0
-
testListTypeStatements
public void testListTypeStatements()
testListTopicInstances
public void testListTopicInstances()
testListTopicNames
public void testListTopicNames()
testListAuthors
public void testListAuthors()
testLiteralDatatype
public void testLiteralDatatype()
testLiteralLanguage
public void testLiteralLanguage()
testFindSubjectWhereObjectURIColumn
public void testFindSubjectWhereObjectURIColumn()
testFindSubjectWithConditionalObject
public void testFindSubjectWithConditionalObject()
testFindSubjectWhereObjectURIPattern
public void testFindSubjectWhereObjectURIPattern()
testMatchAnonymousNode
public void testMatchAnonymousNode()
testDump
public void testDump()
testFetchAnonAndReverse
public void testFetchAnonAndReverse()
testFindPredicate
public void testFindPredicate()
testReverseFetchWithDatatype
public void testReverseFetchWithDatatype()
testReverseFetchWithURI
public void testReverseFetchWithURI()