You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2001/05/07 21:57:29 UTC
cvs commit: xml-axis/java/test/encoding TestHrefs.java
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>",