Update of /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1335/input/javasrc/biz/xsoftware/test/mock2
Modified Files:
Tag: branchForOffice
TestMockCreator.java
Log Message:
change to method.getMethodName() when assert
Index: TestMockCreator.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/test/mock2/Attic/TestMockCreator.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** TestMockCreator.java 13 Jan 2006 16:34:22 -0000 1.1.2.1
--- TestMockCreator.java 17 Jan 2006 07:52:59 -0000 1.1.2.2
***************
*** 23,27 ****
CalledMethod method=m.expect(methodName);
! assertEquals("the methodName should be the same",methodName,method.getClass().getName());
assertEquals("params should equal", param, method.getParameters()[0]);
assertEquals("param count should be 1", 1, method.getParameters().length);
--- 23,27 ----
CalledMethod method=m.expect(methodName);
! assertEquals("the methodName should be the same",methodName,method.getMethodName());
assertEquals("params should equal", param, method.getParameters()[0]);
assertEquals("param count should be 1", 1, method.getParameters().length);
|