Update of /cvsroot/mockobject/mockobject2/input/javasrc/biz/xsoftware/mock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2922/input/javasrc/biz/xsoftware/mock
Modified Files:
MockSuperclass.java
Log Message:
Index: MockSuperclass.java
===================================================================
RCS file: /cvsroot/mockobject/mockobject2/input/javasrc/biz/xsoftware/mock/MockSuperclass.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** MockSuperclass.java 18 Dec 2004 17:49:16 -0000 1.9
--- MockSuperclass.java 18 Mar 2005 16:00:58 -0000 1.10
***************
*** 1,512 ****
! package biz.xsoftware.mock;
!
! import java.io.PrintWriter;
! import java.io.StringWriter;
! import java.util.ArrayList;
! import java.util.Arrays;
! import java.util.HashMap;
! import java.util.LinkedList;
! import java.util.List;
! import java.util.Map;
[...1014 lines suppressed...]
! l.add(o);
! }
!
! public void setDefaultReturnValue(String method, Object o) {
! methodToDefaultRetVal.put(method, o);
! }
!
! /**
! * Only needs to be overridden if the events are modifiable.
! * If the event is immutable, this does not need to be
! * overridden. To override this function, you just need to
! * copy the object and return a new one.
! *
! * @param o
! * @return
! */
! protected Object[] clone(Object[] params) {
! return params;
! }
! }
|