Update of /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects
In directory sc8-pr-cvs1:/tmp/cvs-serv29954/src/core/test/mockobjects
Modified Files:
TestReturnValue.java
Log Message:
Added int support to return value
Index: TestReturnValue.java
===================================================================
RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestReturnValue.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestReturnValue.java 2 Jan 2003 15:57:40 -0000 1.2
+++ TestReturnValue.java 21 Feb 2003 14:08:26 -0000 1.3
@@ -23,6 +23,11 @@
assertTrue(value.getBooleanValue());
}
+ public void testIntValue(){
+ value.setValue(13);
+ assertEquals(13, value.getIntValue());
+ }
+
public void testValueNotSet() {
try {
value.getValue();
|