edu.rice.cs.cunit.util
Class XMLConfig.XMLConfigTest

java.lang.Object
  extended by TestCase
      extended by edu.rice.cs.cunit.util.XMLConfig.XMLConfigTest
Enclosing class:
XMLConfig

public static class XMLConfig.XMLConfigTest
extends TestCase

Unit tests.


Constructor Summary
XMLConfig.XMLConfigTest()
           
 
Method Summary
private  java.lang.String remove16XML(java.lang.String s)
           
 void testAttrs()
           
 void testAttrsStarEnd()
           
 void testExceptions()
           
 void testGetNodePath1()
           
 void testMultipleNodes()
           
 void testMultipleNodesAttr()
           
 void testNodes()
           
 void testNodesStarEnd()
           
 void testNodesStarMiddle()
           
 void testNodeStarAttrsStar()
           
 void testSave()
           
 void testSetAttrFromEmpty()
           
 void testSetAttrNoOverwrite()
           
 void testSetAttrOverwrite()
           
 void testSetFromNode()
           
 void testSetNodeFromEmpty()
           
 void testSetNodeNoOverwrite()
           
 void testSetNodeOverwrite()
           
 void testXMLConcDef()
           
 void testXMLConcDefWrong1()
           
 void testXMLConcDefWrong2()
           
 void testXMLConcDefWrong3()
           
 void testXMLConcDefWrong4()
           
 void testXMLConcDefWrong5()
           
 void testXMLConcDefWrong6()
           
 void testXMLConcDefWrong7()
           
 void testXMLConcDefWrong8()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfig.XMLConfigTest

public XMLConfig.XMLConfigTest()
Method Detail

testNodes

public void testNodes()
               throws java.lang.Exception
Throws:
java.lang.Exception

testAttrs

public void testAttrs()
               throws java.lang.Exception
Throws:
java.lang.Exception

testExceptions

public void testExceptions()
                    throws java.lang.Exception
Throws:
java.lang.Exception

remove16XML

private java.lang.String remove16XML(java.lang.String s)

testSave

public void testSave()
              throws java.lang.Exception
Throws:
java.lang.Exception

testSetNodeFromEmpty

public void testSetNodeFromEmpty()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSetNodeOverwrite

public void testSetNodeOverwrite()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSetAttrFromEmpty

public void testSetAttrFromEmpty()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSetAttrOverwrite

public void testSetAttrOverwrite()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSetNodeNoOverwrite

public void testSetNodeNoOverwrite()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testSetAttrNoOverwrite

public void testSetAttrNoOverwrite()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testSetFromNode

public void testSetFromNode()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleNodes

public void testMultipleNodes()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleNodesAttr

public void testMultipleNodesAttr()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testNodesStarEnd

public void testNodesStarEnd()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testNodesStarMiddle

public void testNodesStarMiddle()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAttrsStarEnd

public void testAttrsStarEnd()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testNodeStarAttrsStar

public void testNodeStarAttrsStar()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testGetNodePath1

public void testGetNodePath1()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDef

public void testXMLConcDef()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong1

public void testXMLConcDefWrong1()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong2

public void testXMLConcDefWrong2()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong3

public void testXMLConcDefWrong3()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong4

public void testXMLConcDefWrong4()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong5

public void testXMLConcDefWrong5()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong6

public void testXMLConcDefWrong6()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong7

public void testXMLConcDefWrong7()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testXMLConcDefWrong8

public void testXMLConcDefWrong8()
                          throws java.lang.Exception
Throws:
java.lang.Exception