Update of /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23477/input/javasrc/biz/xsoftware/test/mock2
Modified Files:
Tag: branchForOffice
TestMockCreator.java
Log Message:
add message for verify not called
Index: TestMockCreator.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2/Attic/TestMockCreator.java,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -C2 -d -r1.1.2.9 -r1.1.2.10
*** TestMockCreator.java 6 Feb 2006 16:02:30 -0000 1.1.2.9
--- TestMockCreator.java 7 Feb 2006 05:51:19 -0000 1.1.2.10
***************
*** 6,9 ****
--- 6,10 ----
import junit.framework.TestCase;
import biz.xsoftware.mock2.CalledMethod;
+ import biz.xsoftware.mock2.Messages;
import biz.xsoftware.mock2.MockObject;
import biz.xsoftware.mock2.MockObjectFactory;
***************
*** 138,142 ****
fail("This should fail since m.verify() is not called");
} catch(IllegalStateException e) {
! //assertEquals(Messages.VERIFY_NOT_CALLED, e.getMessage());
}
}
--- 139,143 ----
fail("This should fail since m.verify() is not called");
} catch(IllegalStateException e) {
! assertEquals(Messages.VERIFY_NOT_CALLED, e.getMessage());
}
}
|