Update of /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/dynamic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29992/src/core/test/mockobjects/dynamic
Modified Files:
InvocationMockerTest.java
Log Message:
User AssertionFailedError rather than AssertionError
Index: InvocationMockerTest.java
===================================================================
RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/test/mockobjects/dynamic/InvocationMockerTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- InvocationMockerTest.java 18 Nov 2003 23:12:52 -0000 1.8
+++ InvocationMockerTest.java 18 May 2004 13:37:26 -0000 1.9
@@ -3,6 +3,7 @@
*/
package test.mockobjects.dynamic;
+import junit.framework.AssertionFailedError;
import com.mockobjects.ExpectationCounter;
import com.mockobjects.ExpectationValue;
import com.mockobjects.constraint.Constraint;
@@ -58,7 +59,7 @@
}
public StringBuffer writeTo(StringBuffer buffer) {
- throw new AssertionError("should implement writeTo");
+ throw new AssertionFailedError("should implement writeTo");
}
};
|