|
From: <exo...@us...> - 2003-03-13 20:12:02
|
Update of /cvsroot/nmock/nmock/test/NMock
In directory sc8-pr-cvs1:/tmp/cvs-serv32599/test/NMock
Modified Files:
MockTest.cs
Log Message:
fixed MockNoCall bug
Index: MockTest.cs
===================================================================
RCS file: /cvsroot/nmock/nmock/test/NMock/MockTest.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MockTest.cs 13 Mar 2003 19:52:44 -0000 1.5
--- MockTest.cs 13 Mar 2003 20:11:53 -0000 1.6
***************
*** 253,262 ****
}
! [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");
}
--- 253,261 ----
}
! [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();
}
|