Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.deployment.application » [javadoc | source]
org.apache.cactus.integration.ant.deployment.application
public final class: TestApplicationXmlVersion [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.cactus.integration.ant.deployment.application.TestApplicationXmlVersion
Unit tests for ApplicationXmlVersion .
Method from org.apache.cactus.integration.ant.deployment.application.TestApplicationXmlVersion Summary:
setUp,   testCompare12To12,   testCompare12To13,   testCompare13To12,   testCompare13To13,   testValueOfDocType12,   testValueOfDocType13,   testValueOfNull,   testValueOfUnknownDocType
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.deployment.application.TestApplicationXmlVersion Detail:
 public  void setUp() throws ParserConfigurationException 
 public  void testCompare12To12() throws Exception 
    Verifies that comparing version 1.2 to version 1.2 yields zero.
 public  void testCompare12To13() throws Exception 
    Verifies that comparing version 1.2 to version 1.3 yields a negative value.
 public  void testCompare13To12() throws Exception 
    Verifies that comparing version 1.2 to version 1.3 yields a negative value.
 public  void testCompare13To13() throws Exception 
    Verifies that comparing version 1.3 to version 1.3 yields zero.
 public  void testValueOfDocType12() throws Exception 
    Verifies that calling ApplicationXmlVersion.valueOf() with a application 1.2 document type returns the correct instance.
 public  void testValueOfDocType13() throws Exception 
    Verifies that calling ApplicationXmlVersion.valueOf() with a application 1.3 document type returns the correct instance.
 public  void testValueOfNull() throws Exception 
    Verifies that calling ApplicationXmlVersion.valueOf(null) throws a NullPointerException.
 public  void testValueOfUnknownDocType() throws Exception 
    Verifies that calling ApplicationXmlVersion.valueOf() with a unknown document type returns null.