org.apache.webdav.lib.util.tests
Class TestDOMUtils

org.apache.webdav.lib.util.tests.TestDOMUtils

public class TestDOMUtils

Testcases for DOMUtils

Author:
B.C. Holmes

Field Summary
protected  java.lang.String xml1
           
protected  java.lang.String xml2
           
protected  java.lang.String xml3
           
 
Constructor Summary
TestDOMUtils(java.lang.String name)
           
 
Method Summary
protected  org.w3c.dom.Document parse(java.lang.String xml)
           
static junit.framework.Test suite()
           
 void testFindDavPrefix1()
           
 void testFindDavPrefix2()
           
 void testFindDavPrefix3()
           
 void testGetElementNamespaceURI()
           
 void testGetTextValue()
           
 void testParseStatus()
           
 

Field Detail

xml1

protected java.lang.String xml1

xml2

protected java.lang.String xml2

xml3

protected java.lang.String xml3
Constructor Detail

TestDOMUtils

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

suite

public static junit.framework.Test suite()

testGetTextValue

public void testGetTextValue()
                      throws java.lang.Exception

testFindDavPrefix1

public void testFindDavPrefix1()
                        throws java.lang.Exception

testFindDavPrefix2

public void testFindDavPrefix2()
                        throws java.lang.Exception

testFindDavPrefix3

public void testFindDavPrefix3()
                        throws java.lang.Exception

testParseStatus

public void testParseStatus()
                     throws java.lang.Exception

testGetElementNamespaceURI

public void testGetElementNamespaceURI()
                                throws java.lang.Exception

parse

protected org.w3c.dom.Document parse(java.lang.String xml)
                              throws java.lang.Exception