net.jsefa.test.xml.lowlevel
Class DocumentTypeDeclarationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.jsefa.test.xml.lowlevel.DocumentTypeDeclarationTest
All Implemented Interfaces:
junit.framework.Test

public class DocumentTypeDeclarationTest
extends junit.framework.TestCase

Tests to test the correct serialization of DOCTYPE declarations (StaxBasedXmlLowLevelSerializer).

Author:
Norman Lahme-Huetig

Constructor Summary
DocumentTypeDeclarationTest()
           
 
Method Summary
 void testWithDefaultNamespacePrefix()
          Tests it with the default namespace prefix (no public id).
 void testWithExplicitNamespacePrefix()
          Tests it with an explicit namespace prefix (no public id).
 void testWithoutNamespacesAndWithoutPublicId()
          Tests it with no namespace and no public id.
 void testWithoutNamespacesAndWithPublicId()
          Tests it with no namespace but with a public id.
 
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

DocumentTypeDeclarationTest

public DocumentTypeDeclarationTest()
Method Detail

testWithoutNamespacesAndWithoutPublicId

public void testWithoutNamespacesAndWithoutPublicId()
Tests it with no namespace and no public id.


testWithoutNamespacesAndWithPublicId

public void testWithoutNamespacesAndWithPublicId()
Tests it with no namespace but with a public id.


testWithDefaultNamespacePrefix

public void testWithDefaultNamespacePrefix()
Tests it with the default namespace prefix (no public id).


testWithExplicitNamespacePrefix

public void testWithExplicitNamespacePrefix()
Tests it with an explicit namespace prefix (no public id).



Copyright © 2014. All rights reserved.