From: Jeff M. <cus...@us...> - 2003-03-18 14:28:21
|
Update of /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects In directory sc8-pr-cvs1:/tmp/cvs-serv22766/src/core/test/mockobjects Modified Files: TestReturnValue.java Log Message: Added Long support to ReturnValue Index: TestReturnValue.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestReturnValue.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- TestReturnValue.java 21 Feb 2003 14:08:26 -0000 1.3 +++ TestReturnValue.java 18 Mar 2003 14:28:18 -0000 1.4 @@ -28,6 +28,13 @@ assertEquals(13, value.getIntValue()); } + public void testLongValue(){ + long now = System.currentTimeMillis(); + value.setValue(now); + assertEquals(now, value.getLongValue()); + value.getIntValue(); + } + public void testValueNotSet() { try { value.getValue(); |