org.opencms.xml
Class TestXmlUtils

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.opencms.xml.TestXmlUtils
All Implemented Interfaces:
junit.framework.Test

public class TestXmlUtils
extends junit.framework.TestCase

Since:
6.0.0

Constructor Summary
TestXmlUtils()
           
 
Method Summary
 void testCreateXpath()
          Test case for the Xpath generation methods.
 void testGetXpathIndex()
          Test case for the Xpath index cut off.
 void testRemoveXpath()
          Test case for the Xpath remove methods.
 void testSimplifyXpath()
          Test case for the Xpath simplification.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestXmlUtils

public TestXmlUtils()
Method Detail

testCreateXpath

public void testCreateXpath()
                     throws Exception
Test case for the Xpath generation methods.

Throws:
Exception - in case the test fails

testGetXpathIndex

public void testGetXpathIndex()
                       throws Exception
Test case for the Xpath index cut off.

Throws:
Exception - in case the test fails

testRemoveXpath

public void testRemoveXpath()
                     throws Exception
Test case for the Xpath remove methods.

Throws:
Exception - in case the test fails

testSimplifyXpath

public void testSimplifyXpath()
                       throws Exception
Test case for the Xpath simplification.

Throws:
Exception - in case the test fails