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.rdf.model.test.ModelTestBase
com.hp.hpl.jena.vocabulary.test.TestVocabRDF
- All Implemented Interfaces:
- junit.framework.Test
- public class TestVocabRDF
- extends com.hp.hpl.jena.rdf.model.test.ModelTestBase
| Fields inherited from class com.hp.hpl.jena.graph.test.GraphTestBase |
|
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class com.hp.hpl.jena.rdf.model.test.ModelTestBase |
assertIsoModels, assertIsoModels, createMemModel, createModel, extendedModel, literal, modelAdd, modelWithStatements, modelWithStatements, nice, property, property, rdfNode, rdfNode, resource, resource, resource, resources, statement, statement, statements |
| 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 |
RDFns
static final java.lang.String RDFns
- The correct namespace for RDF. It is *important* that this be a literal
string, not a reference to RDF.getURI(), because we're testing that the
RDF vocabulary is correct, so this here string is the gold standard.
- See Also:
- Constant Field Values
TestVocabRDF
public TestVocabRDF(java.lang.String name)
suite
public static junit.framework.TestSuite suite()
testRDFVocabulary
public void testRDFVocabulary()
- Tests that the RDF vocabulary identifiers are what they're supposed to be.
TODO arrange that we detect if there are any other identifiers in the class.
testLI
public void testLI()
- Test that the RDF.li() method generates the correct strings for a few
plausible test cases.
testNodes
public void testNodes()