com.hp.hpl.jena.xmloutput
Class TestEntityOutput

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.hp.hpl.jena.test.JenaTestBase
              extended by com.hp.hpl.jena.graph.test.GraphTestBase
                  extended by com.hp.hpl.jena.rdf.model.test.ModelTestBase
                      extended by com.hp.hpl.jena.xmloutput.TestEntityOutput
All Implemented Interfaces:
junit.framework.Test

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

Tests for entities being created corresponding to prefixes.

Author:
kers

Constructor Summary
TestEntityOutput(java.lang.String name)
           
 
Method Summary
 void testCatchesBadEntities()
           
 void testCRinLiterals()
           
 void testDifficultChars()
          See http://www.w3.org/TR/xml/#NT-EntityValue " & and % ' are all legal URI chars, but illegal in entity defn.
 void testKnownEntityNames()
           
 void testRDFNamespaceMissing()
           
 void testSettingWriterEntityProperty()
           
 void testUsesEntityForPrefix()
           
 
Methods inherited from class com.hp.hpl.jena.rdf.model.test.ModelTestBase
assertIsoModels, assertIsoModels, createMemModel, createModel, literal, modelAdd, modelWithStatements, modelWithStatements, property, property, rdfNode, rdfNode, resource, resource, resources, resourceSet, statement, statement, statements
 
Methods inherited from class com.hp.hpl.jena.graph.test.GraphTestBase
arrayToSet, assertContains, assertContainsAll, assertEqualsTemplate, assertIsomorphic, assertIsomorphic, assertOmits, assertOmitsAll, contains, getGraph, graphAdd, graphWith, iteratorToList, iteratorToSet, newGraph, nice, 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, listOfOne, listOfStrings, listToSet, pass, setOfOne, setOfStrings, testToSilenceJunitComplaintsAboutNoTestMethods
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestEntityOutput

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

testSettingWriterEntityProperty

public void testSettingWriterEntityProperty()

testKnownEntityNames

public void testKnownEntityNames()

testRDFNamespaceMissing

public void testRDFNamespaceMissing()

testUsesEntityForPrefix

public void testUsesEntityForPrefix()

testCatchesBadEntities

public void testCatchesBadEntities()

testDifficultChars

public void testDifficultChars()
                        throws java.io.IOException
See http://www.w3.org/TR/xml/#NT-EntityValue " & and % ' are all legal URI chars, but illegal in entity defn.

Throws:
java.io.IOException

testCRinLiterals

public void testCRinLiterals()
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP