| com.hp.hpl.jena.graph.test.GraphTestBase com.hp.hpl.jena.graph.test.TestNode
TestNode | public class TestNode extends GraphTestBase (Code) | | author: bwm out of kers author: Exercise nodes. Make sure that the different node types do not overlap author: and that the test predicates work properly on the different node kinds. |
suite | public static TestSuite suite()(Code) | | |
testANY | public void testANY()(Code) | | |
testBlanks | public void testBlanks()(Code) | | |
testCache | public void testCache()(Code) | | |
testConcrete | public void testConcrete()(Code) | | |
testCreateANY | public void testCreateANY()(Code) | | |
testCreateAnon | public void testCreateAnon()(Code) | | Test that anonymous nodes are created with the correct labels
|
testCreateBadString | public void testCreateBadString()(Code) | | Test that the create method does sensible things on null and ""
|
testCreateLanguagedLiteralEN1 | public void testCreateLanguagedLiteralEN1()(Code) | | |
testCreateLanguagedLiteralEN2 | public void testCreateLanguagedLiteralEN2()(Code) | | |
testCreateLanguagedLiteralXY | public void testCreateLanguagedLiteralXY()(Code) | | |
testCreateLiteralBackslashEscape | public void testCreateLiteralBackslashEscape()(Code) | | |
testCreateLiteralOtherEscapes | public void testCreateLiteralOtherEscapes()(Code) | | |
testCreateLiteralQuoteEscapes | public void testCreateLiteralQuoteEscapes()(Code) | | |
testCreatePlainLiteralDoubleQuotes | public void testCreatePlainLiteralDoubleQuotes()(Code) | | |
testCreatePlainLiteralSingleQuotes | public void testCreatePlainLiteralSingleQuotes()(Code) | | |
testCreatePrefixed | public void testCreatePrefixed()(Code) | | |
testCreateTypedLiteralBoolean | public void testCreateTypedLiteralBoolean()(Code) | | |
testCreateTypedLiteralInteger | public void testCreateTypedLiteralInteger()(Code) | | |
testCreateURI | public void testCreateURI()(Code) | | |
testCreateURIOtherMap | public void testCreateURIOtherMap()(Code) | | |
testCreateVariable | public void testCreateVariable()(Code) | | |
testDataMatches | public void testDataMatches()(Code) | | |
testEquals | public void testEquals()(Code) | | |
testFailingLabels | public void testFailingLabels()(Code) | | this is where we test that using the wrong accessor on a Node gets you
an exception.
|
testGetBlankNodeIdFails | public void testGetBlankNodeIdFails(Node n)(Code) | | |
testGetBlankNodeLabelString | public void testGetBlankNodeLabelString()(Code) | | |
testGetIndexingValueBlank | public void testGetIndexingValueBlank()(Code) | | |
testGetIndexingValueLanguagedString | public void testGetIndexingValueLanguagedString()(Code) | | |
testGetIndexingValuePlainString | public void testGetIndexingValuePlainString()(Code) | | |
testGetIndexingValueURI | public void testGetIndexingValueURI()(Code) | | |
testGetIndexingValueXSDString | public void testGetIndexingValueXSDString()(Code) | | |
testGetLiteralDatatypeNull | public void testGetLiteralDatatypeNull()(Code) | | |
testGetLiteralFails | public void testGetLiteralFails(Node n)(Code) | | |
testGetLiteralValuePlainString | public void testGetLiteralValuePlainString()(Code) | | |
testGetNameFails | public void testGetNameFails(Node n)(Code) | | |
testGetNumericLiteralLexicalForm | public void testGetNumericLiteralLexicalForm()(Code) | | |
testGetPlainLiteralLexicalForm | public void testGetPlainLiteralLexicalForm()(Code) | | |
testGetURIFails | public void testGetURIFails(Node n)(Code) | | |
testHasURI | public void testHasURI()(Code) | | |
testLabels | public void testLabels()(Code) | | test that the label of a Node can be retrieved from that Node in
a way appropriate to that Node.
|
testLiteralIsXML | public void testLiteralIsXML()(Code) | | |
testLiteralToString | public void testLiteralToString()(Code) | | |
testLiterals | public void testLiterals()(Code) | | |
testNamespace | public void testNamespace()(Code) | | test that URI nodes have namespace/localname splits which are consistent
with Util.splitNamepace.
|
testNodeEquals | public void testNodeEquals()(Code) | | |
testNodeHelp | public void testNodeHelp()(Code) | | |
testNodeVariableConstructor | public void testNodeVariableConstructor()(Code) | | |
testSimpleMatches | public void testSimpleMatches()(Code) | | |
testStringConversion | protected void testStringConversion(String wanted, String template)(Code) | | |
testToStringWithPrefixMapping | public void testToStringWithPrefixMapping()(Code) | | |
testTypesExpandPrefix | public void testTypesExpandPrefix()(Code) | | |
testURIs | public void testURIs()(Code) | | |
testVariableSupport | public void testVariableSupport()(Code) | | |
testVariables | public void testVariables()(Code) | | |
testVisitorPatternCalled | public void testVisitorPatternCalled()(Code) | | Test that the appropriate elements of the visitor are called exactly once;
this relies on the order of the visits in visitExamples.
|
testVisitorPatternNode | public void testVisitorPatternNode()(Code) | | |
testVisitorPatternValue | public void testVisitorPatternValue()(Code) | | |
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)
|
|
|