axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/test/encoding TestHrefs.java
Date Mon, 07 May 2001 19:57:29 GMT
gdaniels    01/05/07 12:57:29

  Modified:    java/test/encoding TestHrefs.java
  Log:
  Slightly more informative name + message.
  
  Revision  Changes    Path
  1.2       +4 -4      xml-axis/java/test/encoding/TestHrefs.java
  
  Index: TestHrefs.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/encoding/TestHrefs.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestHrefs.java	2001/05/06 15:59:50	1.1
  +++ TestHrefs.java	2001/05/07 19:57:26	1.2
  @@ -27,12 +27,12 @@
           this(name, Constants.URI_CURRENT_SCHEMA_XSI, 
                      Constants.URI_CURRENT_SCHEMA_XSD);
       }
  -    
  +
       public static void main(String [] args)
       {
           TestHrefs tester = new TestHrefs("me");
           try {
  -            tester.testString();
  +            tester.testStringReference();
           } catch (Exception e) {
               e.printStackTrace();
           }
  @@ -85,10 +85,10 @@
          assertNotNull("param", param);
   
          Object result = param.getValue();
  -       assertEquals(expected, result);
  +       assertEquals("case " + pos, expected, result);
       }
   
  -    public void testString() {
  +    public void testStringReference() {
           deserialize("<result id=\"1\" xsi:type=\"xsd:string\">abc</result>",
                       "abc", 0);
           deserialize("<result id=\"1\" xsi:type=\"xsd:string\">abc</result>",
  
  
  

Mime
View raw message