Update of /cvsroot/mockobjects/mockobjects-java/src/core/com/mockobjects/constraint
In directory sc8-pr-cvs1:/tmp/cvs-serv3129/src/core/com/mockobjects/constraint
Modified Files:
Tag: DynamicMockExperiment
IsEqual.java
Log Message:
Basic implementation
- adds syntactic sugar for permitAndReturn, expectAndReturn etc.
- separated CallMatch from ExpectedCall
Still needs Sequence, SingleCall, CallCount support
Index: IsEqual.java
===================================================================
RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/com/mockobjects/constraint/IsEqual.java,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- IsEqual.java 24 Nov 2002 11:20:19 -0000 1.2
+++ IsEqual.java 7 Apr 2003 17:38:50 -0000 1.2.2.1
@@ -23,6 +23,6 @@
}
public String toString() {
- return "a value equal to <" + _object + ">";
+ return _object.toString();
}
}
|