Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.vocabulary.test
Class TestVocabRDF  view TestVocabRDF download TestVocabRDF.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.hp.hpl.jena.test.JenaTestBase
              extended bycom.hp.hpl.jena.graph.test.GraphTestBase
                  extended bycom.hp.hpl.jena.rdf.model.test.ModelTestBase
                      extended bycom.hp.hpl.jena.vocabulary.test.TestVocabRDF
All Implemented Interfaces:
junit.framework.Test

public class TestVocabRDF
extends com.hp.hpl.jena.rdf.model.test.ModelTestBase


Field Summary
(package private) static java.lang.String RDFns
          The correct namespace for RDF.
 
Fields inherited from class com.hp.hpl.jena.rdf.model.test.ModelTestBase
aModel, empty
 
Fields inherited from class com.hp.hpl.jena.graph.test.GraphTestBase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestVocabRDF(java.lang.String name)
           
 
Method Summary
static junit.framework.TestSuite suite()
           
 void testLI()
          Test that the RDF.li() method generates the correct strings for a few plausible test cases.
 void testNodes()
           
 void testRDFVocabulary()
          Tests that the RDF vocabulary identifiers are what they're supposed to be.
 
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 com.hp.hpl.jena.test.JenaTestBase
append, assertDiffer, assertDiffer, assertHasParent, getConstructor, hasAsParent, isPublicTestMethod, isTestMethod, listToSet, pass
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

TestVocabRDF

public TestVocabRDF(java.lang.String name)
Method Detail

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()