|
From: <exo...@us...> - 2003-03-13 19:52:49
|
Update of /cvsroot/nmock/nmock/test/NMock
In directory sc8-pr-cvs1:/tmp/cvs-serv23876/test/NMock
Modified Files:
MockTest.cs
Log Message:
modifications to nmock.sln to include sample project
added unit test to indicate NoCall bug
Index: MockTest.cs
===================================================================
RCS file: /cvsroot/nmock/nmock/test/NMock/MockTest.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MockTest.cs 15 Nov 2002 22:31:10 -0000 1.4
--- MockTest.cs 13 Mar 2003 19:52:44 -0000 1.5
***************
*** 253,256 ****
--- 253,264 ----
}
+ [Test, Ignore("NoCall does not currently work, but requires a biggish overhaul to fix. No time right now to do it")]
+ public void ExpectNoCall_WithNoCall()
+ {
+ mock.ExpectNoCall("myMethod");
+ mock.Verify();
+ Assertion.Fail("fa");
+ }
+
[Test]
[ExpectedException(typeof(VerifyException))]
|