org.jboss.test.util.test.xml
Class DOMWriterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.test.util.test.xml.DOMWriterTestCase
All Implemented Interfaces:
junit.framework.Test

public class DOMWriterTestCase
extends junit.framework.TestCase

Test the DOMWriter

Since:
10-Aug-2006
Author:
Thomas.Diesler@jboss.org

Constructor Summary
DOMWriterTestCase()
           
 
Method Summary
 void testDocumentComments()
           
 void testElementNamespaceURIDocumentParse()
           
 void testElementNamespaceURIElementNS()
           
 void testElementNamespaceURITransformer()
           
 void testEntity()
           
 void testNamespaceCompletionAttribute()
          The element does not contain the required attribute ns declaration.
 void testNamespaceCompletionDefault()
          The envelope defines a default namespace
 void testNamespaceCompletionOne()
          The element does not contain the required ns declaration.
 void testNamespaceCompletionThree()
          The element does not contain the required ns declaration, the child does.
 void testNamespaceCompletionTwo()
          The element already contains the required ns declaration.
 void testWhiteSpaceRemove()
           
 
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

DOMWriterTestCase

public DOMWriterTestCase()
Method Detail

testNamespaceCompletionOne

public void testNamespaceCompletionOne()
                                throws Exception
The element does not contain the required ns declaration.

Throws:
Exception

testNamespaceCompletionTwo

public void testNamespaceCompletionTwo()
                                throws Exception
The element already contains the required ns declaration.

Throws:
Exception

testNamespaceCompletionThree

public void testNamespaceCompletionThree()
                                  throws Exception
The element does not contain the required ns declaration, the child does.

Throws:
Exception

testNamespaceCompletionDefault

public void testNamespaceCompletionDefault()
                                    throws Exception
The envelope defines a default namespace

Throws:
Exception

testNamespaceCompletionAttribute

public void testNamespaceCompletionAttribute()
                                      throws Exception
The element does not contain the required attribute ns declaration.

Throws:
Exception

testEntity

public void testEntity()
                throws Exception
Throws:
Exception

testDocumentComments

public void testDocumentComments()
                          throws Exception
Throws:
Exception

testElementNamespaceURIElementNS

public void testElementNamespaceURIElementNS()
                                      throws Exception
Throws:
Exception

testElementNamespaceURIDocumentParse

public void testElementNamespaceURIDocumentParse()
                                          throws Exception
Throws:
Exception

testElementNamespaceURITransformer

public void testElementNamespaceURITransformer()
                                        throws Exception
Throws:
Exception

testWhiteSpaceRemove

public void testWhiteSpaceRemove()
                          throws Exception
Throws:
Exception


Copyright © 2009 JBoss Inc.. All Rights Reserved.