com.hp.hpl.jena.xmloutput
Class TestLiteralEncoding

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.TestLiteralEncoding
All Implemented Interfaces:
junit.framework.Test

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

Tests to ensure that certain literals are either encoded properly or reported as exceptions.

Author:
kers

Constructor Summary
TestLiteralEncoding(java.lang.String name)
           
 
Method Summary
 void testBasicLexicalEncodingException()
           
 void testLexicalEncodingException(java.lang.String lang)
           
 void testNoApparentCData()
           
 void testPrettyLexicalEncodingException()
           
 void testX()
           
 
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

TestLiteralEncoding

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

testX

public void testX()

testLexicalEncodingException

public void testLexicalEncodingException(java.lang.String lang)

testBasicLexicalEncodingException

public void testBasicLexicalEncodingException()

testPrettyLexicalEncodingException

public void testPrettyLexicalEncodingException()

testNoApparentCData

public void testNoApparentCData()


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