| com.hp.hpl.jena.graph.test.GraphTestBase com.hp.hpl.jena.graph.query.test.TestSimpleTripleSorter
TestSimpleTripleSorter | public class TestSimpleTripleSorter extends GraphTestBase (Code) | | author: kers |
TestSimpleTripleSorter | public TestSimpleTripleSorter(String name)(Code) | | |
suite | public static TestSuite suite()(Code) | | |
testANY | public void testANY()(Code) | | Test that ANY is heavier than one variable but lighter than two
|
testBoundFirst | public void testBoundFirst()(Code) | | Test that bound variables get sorted nearer the beginning than unbound ones
|
testConcreteFirst | public void testConcreteFirst()(Code) | | Test that concrete nodes get sorted to the beginning of the result
|
testEmpty | public void testEmpty()(Code) | | Test that the empty triple array sorts into an empty triple array
|
testInteraction | public void testInteraction()(Code) | | Test that binding a variable makes it lighter than an unbound variable
|
testReordersTo | public void testReordersTo(String desired, String original)(Code) | | Utility: test that the triple array described by original gets reordered
to the triple array described by desired .
|
testSingle | public void testSingle()(Code) | | Test that a singleton triple array sorts into that same singleton array
for various different search-styles of triples
|
testSortByMass | public void testSortByMass()(Code) | | Test that a triple that binds more things gets sorted earlier than a equally-light
triple that binds fewer things
|
Fields inherited from com.hp.hpl.jena.graph.test.GraphTestBase | protected static int bnc(Code)(Java Doc)
|
Methods inherited from com.hp.hpl.jena.graph.test.GraphTestBase | protected static void appendNode(StringBuffer b, Map bnodes, Node n)(Code)(Java Doc) public Set arrayToSet(Object[] A)(Code)(Java Doc) public static void assertContains(String name, String s, Graph g)(Code)(Java Doc) public static void assertContainsAll(String name, Graph g, String s)(Code)(Java Doc) public static void assertEqualsTemplate(String title, Graph g, String template)(Code)(Java Doc) public static void assertIsomorphic(String title, Graph expected, Graph got)(Code)(Java Doc) public static void assertIsomorphic(Graph expected, Graph got)(Code)(Java Doc) public static void assertOmits(String name, Graph g, String s)(Code)(Java Doc) public static void assertOmitsAll(String name, Graph g, String s)(Code)(Java Doc) public static boolean contains(Graph g, String fact)(Code)(Java Doc) public static Graph getGraph(Object wrap, Class graphClass, ReificationStyle style)(Code)(Java Doc) protected static Graph getReificationTriples(Reifier r)(Code)(Java Doc) public static Graph graphAdd(Graph g, String s)(Code)(Java Doc) public static Graph graphWith(String s)(Code)(Java Doc) public static List iteratorToList(Iterator it)(Code)(Java Doc) public static Set iteratorToSet(Iterator it)(Code)(Java Doc) public static Graph newGraph()(Code)(Java Doc) public static String nice(Graph g, Map bnodes)(Code)(Java Doc) protected static String nice(Node n)(Code)(Java Doc) protected static void niceTriple(StringBuffer b, Map bnodes, Triple t)(Code)(Java Doc) public static Node node(String x)(Code)(Java Doc) public static Node[] nodeArray(String items)(Code)(Java Doc) public static List nodeList(String items)(Code)(Java Doc) public Set nodeSet(String nodes)(Code)(Java Doc) public void testContains(Graph g, Triple[] triples)(Code)(Java Doc) public void testContains(Graph g, List triples)(Code)(Java Doc) public void testContains(Graph g, Iterator it)(Code)(Java Doc) public void testContains(Graph g, Graph other)(Code)(Java Doc) public void testOmits(Graph g, Triple[] triples)(Code)(Java Doc) public void testOmits(Graph g, List triples)(Code)(Java Doc) public void testOmits(Graph g, Iterator it)(Code)(Java Doc) public void testOmits(Graph g, Graph other)(Code)(Java Doc) public static Triple triple(String fact)(Code)(Java Doc) public static Triple triple(PrefixMapping pm, String fact)(Code)(Java Doc) public static Triple[] tripleArray(String facts)(Code)(Java Doc) public static Set tripleSet(String facts)(Code)(Java Doc)
|
|
|