|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.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.assembler.test.AssemblerTestBase
com.hp.hpl.jena.eyeball.test.EyeballTestBase
com.hp.hpl.jena.eyeball.inspectors.test.InspectorTestBase
com.hp.hpl.jena.eyeball.inspectors.test.TestLiteralInspector
public class TestLiteralInspector
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.hp.hpl.jena.assembler.test.AssemblerTestBase |
|---|
com.hp.hpl.jena.assembler.test.AssemblerTestBase.FixedObjectAssembler, com.hp.hpl.jena.assembler.test.AssemblerTestBase.NamedObjectAssembler |
| Field Summary |
|---|
| Fields inherited from class com.hp.hpl.jena.assembler.test.AssemblerTestBase |
|---|
schema |
| 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 |
|---|
bnc |
| Constructor Summary | |
|---|---|
TestLiteralInspector()
|
|
| Method Summary | |
|---|---|
protected java.lang.Class<? extends Inspector> |
getInspectorClass()
Subclass override to supply the concrete inspector class that they are testing. |
protected com.hp.hpl.jena.rdf.model.Literal |
literal(java.lang.String spelling)
|
void |
testAllowsPlainStringLiterals()
|
void |
testAllowsStringLiteralsWithLegalLanguageCodes()
|
void |
testLiteralInspectorDeclaresPredicates()
|
void |
testLiteralInspectorInspectsLiteralsWithInspectLiteral()
|
void |
testReportsBadDatatypeURI()
|
void |
testReportsBadDatatypeURIOnce()
|
void |
testReportsIllegalLanguageCodes()
|
void |
testReportsIllegalLexicalForm()
|
| Methods inherited from class com.hp.hpl.jena.eyeball.inspectors.test.InspectorTestBase |
|---|
assertOrder, eyeResource, eyeResourceSet, testInspectorConstructor, testInspectorConstructor |
| Methods inherited from class com.hp.hpl.jena.eyeball.test.EyeballTestBase |
|---|
both, itemModel, itemModel, justOne, modelAddFacts, ontModel, ontModel, setRequiredPrefixes, single |
| Methods inherited from class com.hp.hpl.jena.assembler.test.AssemblerTestBase |
|---|
assertDomain, assertRange, assertSamePrefixMapping, assertSubclassOf, assertType, getAssemblerClass, model, model, resourceInModel, testDemandsMinimalType |
| 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, resourceSet, 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, newGraph, nice, nice, niceTriple, node, nodeArray, nodeList, nodeSet, 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, assertInstanceOf, getConstructor, hasAsParent, isPublicTestMethod, isTestMethod, iteratorOfStrings, listOfOne, listOfStrings, listToSet, pass, setOfOne, setOfStrings, testToSilenceJunitComplaintsAboutNoTestMethods |
| 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestLiteralInspector()
| Method Detail |
|---|
protected java.lang.Class<? extends Inspector> getInspectorClass()
InspectorTestBase
getInspectorClass in class InspectorTestBasepublic void testLiteralInspectorInspectsLiteralsWithInspectLiteral()
public void testLiteralInspectorDeclaresPredicates()
public void testAllowsPlainStringLiterals()
public void testAllowsStringLiteralsWithLegalLanguageCodes()
public void testReportsIllegalLanguageCodes()
public void testReportsBadDatatypeURI()
public void testReportsBadDatatypeURIOnce()
public void testReportsIllegalLexicalForm()
protected com.hp.hpl.jena.rdf.model.Literal literal(java.lang.String spelling)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||