Update of /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/mock2/impl
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15882/input/javasrc/biz/xsoftware/mock2/impl
Modified Files:
MockObjectSuperImpl.java
Log Message:
fixed a bug in ignore... ported the examples
Index: MockObjectSuperImpl.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/mock2/impl/MockObjectSuperImpl.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** MockObjectSuperImpl.java 5 May 2006 15:29:23 -0000 1.15
--- MockObjectSuperImpl.java 7 Aug 2006 15:52:45 -0000 1.16
***************
*** 348,352 ****
{
throw new RuntimeException("You must specify a return value for " +
! "ignored or expected method " + methodName + "()");
}
else if(returnType != Void.TYPE && ret != null && (ret.getClass().isPrimitive() || returnType.isPrimitive()))
--- 348,352 ----
{
throw new RuntimeException("You must specify a return value for " +
! "ignored or expected method " + returnType + " " + methodName + "()");
}
else if(returnType != Void.TYPE && ret != null && (ret.getClass().isPrimitive() || returnType.isPrimitive()))
|