axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/test/utils TestJavaUtils.java
Date Wed, 05 Mar 2003 15:19:43 GMT
dims        2003/03/05 07:19:43

  Modified:    java/test/utils TestJavaUtils.java
  Log:
  Adding Table  20-2 "Illustrative Examples" from JAXRPC Spec as a sanity check.
  
  Revision  Changes    Path
  1.18      +10 -0     xml-axis/java/test/utils/TestJavaUtils.java
  
  Index: TestJavaUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/utils/TestJavaUtils.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- TestJavaUtils.java	28 Feb 2003 20:28:57 -0000	1.17
  +++ TestJavaUtils.java	5 Mar 2003 15:19:43 -0000	1.18
  @@ -34,7 +34,17 @@
        */
       public void testXmlNameToJava() {
   
  +        /* Begin TABLE 20-2 Illustrative Examples from JAXRPC Spec */
           assertEquals("mixedCaseName", JavaUtils.xmlNameToJava("mixedCaseName"));
  +
  +        assertEquals("nameWithDashes", JavaUtils.xmlNameToJava("name-with-dashes"));
  +        
  +        assertEquals("name_with_underscore", JavaUtils.xmlNameToJava("name_with_underscore"));
  +        
  +        assertEquals("other_punctChars", JavaUtils.xmlNameToJava("other_punct.chars"));
  +        
  +        assertEquals("answer42", JavaUtils.xmlNameToJava("Answer42"));
  +        /* End TABLE 20-2 Illustrative Examples from JAXRPC Spec */
   
           assertEquals("nameWithDashes",
                   JavaUtils.xmlNameToJava("name-with-dashes"));
  
  
  

Mime
View raw message