Update of /cvsroot/mockobjects/nmock/test/NMock/Dynamic
In directory usw-pr-cvs1:/tmp/cvs-serv6916/test/NMock/Dynamic
Modified Files:
ClassGeneratorTest.cs
Log Message:
Decoupled from NUnit. Use testing framework of choice.
Index: ClassGeneratorTest.cs
===================================================================
RCS file: /cvsroot/mockobjects/nmock/test/NMock/Dynamic/ClassGeneratorTest.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ClassGeneratorTest.cs 7 Oct 2002 00:08:02 -0000 1.3
+++ ClassGeneratorTest.cs 14 Oct 2002 18:43:30 -0000 1.4
@@ -134,7 +134,7 @@
}
[Test]
- [ExpectedException(typeof(AssertionException))]
+ [ExpectedException(typeof(VerifyException))]
public void CallMethodWithParamExpectationsThatFails()
{
mock.Expect("WithSimpleArg", new IsEqual("hello"));
@@ -151,7 +151,7 @@
}
[Test]
- [ExpectedException(typeof(AssertionException))]
+ [ExpectedException(typeof(VerifyException))]
public void CallMethodWithTwoParamExpectationsThatFails()
{
mock.Expect("WithTwoArgs", new IsEqual("hello"), new IsEqual("world"));
|