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 bl...@apache.org on 2001/10/17 20:24:06 UTC
cvs commit: xml-axis/java/test/session TestSimpleSession.java
bloritsch 01/10/17 11:24:06
Modified: java/test/session TestSimpleSession.java
Log:
Add more meaningful messages to tests.
Revision Changes Path
1.3 +3 -2 xml-axis/java/test/session/TestSimpleSession.java
Index: TestSimpleSession.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/session/TestSimpleSession.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestSimpleSession.java 2001/06/14 07:04:17 1.2
+++ TestSimpleSession.java 2001/10/17 18:24:06 1.3
@@ -18,11 +18,12 @@
Object val = new Float(5.6666);
session.set("test", val);
- assertEquals(val, session.get("test"));
+ assertEquals("\"test\" equals \"" + session.get("test") + "\", not \"" + val + "\" as expected",
+ val, session.get("test"));
session.remove("test");
- assertNull(session.get("test"));
+ assertNull("Did not remove \"test\" from the session successfully", session.get("test"));
}