java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.hp.hpl.jena.test.JenaTestBase
com.hp.hpl.jena.graph.test.GraphTestBase
com.hp.hpl.jena.graph.test.TestGraph
- All Implemented Interfaces:
- junit.framework.Test
- public class TestGraph
- extends GraphTestBase
|
Nested Class Summary |
static class |
TestGraph.WrappedGraphMem
Class to provide a constructor that produces a wrapper round a GraphMem. |
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class com.hp.hpl.jena.graph.test.GraphTestBase |
appendNode, arrayToSet, assertContains, assertContainsAll, assertEqualsTemplate, assertIsomorphic, assertIsomorphic, assertOmits, assertOmitsAll, contains, getGraph, getReificationTriples, graphAdd, graphWith, iteratorToList, iteratorToSet, modelFor, newGraph, nice, nice, niceTriple, node, nodes, nodeSet, show, testContains, testContains, testContains, testContains, testOmits, testOmits, testOmits, testOmits, triple, triple, tripleArray, tripleSet |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
TestGraph
public TestGraph(java.lang.String name)
suite
public static junit.framework.TestSuite suite()
- Answer a test suite that runs the Graph and Reifier tests on GraphMem and on
WrappedGraphMem, the latter standing in for testing WrappedGraph.
suite
public static junit.framework.TestSuite suite(java.lang.Class classWithTests,
java.lang.Class graphClass)
testWrappedSame
public void testWrappedSame()
- Trivial [incomplete] test that a Wrapped graph pokes through to the underlying
graph. Really want something using mock classes. Will think about it.
testListSubjectsDoesntUseFind
public void testListSubjectsDoesntUseFind()
testListPredicatesDoesntUseFind
public void testListPredicatesDoesntUseFind()
testListObjectsDoesntUseFind
public void testListObjectsDoesntUseFind()