Update of /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects
In directory sc8-pr-cvs1:/tmp/cvs-serv20940/src/core/test/mockobjects
Modified Files:
TestExpectationCollection.java
Log Message:
Added long support to collections
Index: TestExpectationCollection.java
===================================================================
RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/TestExpectationCollection.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestExpectationCollection.java 21 Oct 2002 22:52:38 -0000 1.1
+++ TestExpectationCollection.java 11 Aug 2003 09:29:38 -0000 1.2
@@ -179,4 +179,13 @@
assertVerifyFails(myExpectation);
}
+
+ public void testExpectingALong(){
+ final long expectedLong = 666l;
+
+ myExpectation.addExpected(expectedLong);
+ myExpectation.addActual(expectedLong);
+
+ myExpectation.verify();
+ }
}
|