Update of /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/mock2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18515/javasrc/biz/xsoftware/mock2
Modified Files:
MockObject.java
Log Message:
whoops, fix the api I checked in. They were supposed to be varargs.
Index: MockObject.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/mock2/MockObject.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MockObject.java 23 Dec 2005 01:33:05 -0000 1.1
--- MockObject.java 7 Jan 2006 15:13:39 -0000 1.2
***************
*** 18,22 ****
* is called
*/
! public CalledMethod expect(String methodName, Class[] vargs);
/**
--- 18,22 ----
* is called
*/
! public CalledMethod expect(String methodName, Class... vargs);
/**
***************
*** 34,38 ****
*/
public CalledMethod expect(Object returnValue, String methodName,
! Class[] vargs);
/**
--- 34,38 ----
*/
public CalledMethod expect(Object returnValue, String methodName,
! Class... vargs);
/**
***************
*** 50,54 ****
*/
public CalledMethod expect(String methodName, Throwable throwable,
! Class[] vargs);
/**
--- 50,54 ----
*/
public CalledMethod expect(String methodName, Throwable throwable,
! Class... vargs);
/**
***************
*** 66,70 ****
*/
public CalledMethod expect(String methodName, Behavior behavior,
! Class[] params);
/***************************************************************************
--- 66,70 ----
*/
public CalledMethod expect(String methodName, Behavior behavior,
! Class... params);
/***************************************************************************
***************
*** 84,88 ****
* is called
*/
! public CalledMethod expect(String methodName, long timeout, Class[] vargs);
/**
--- 84,88 ----
* is called
*/
! public CalledMethod expect(String methodName, long timeout, Class... vargs);
/**
***************
*** 101,105 ****
*/
public CalledMethod expect(Object returnValue, String methodName,
! long timeout, Class[] vargs);
/**
--- 101,105 ----
*/
public CalledMethod expect(Object returnValue, String methodName,
! long timeout, Class... vargs);
/**
***************
*** 119,123 ****
*/
public CalledMethod expect(String methodName, Throwable throwable,
! long timeout, Class[] vargs);
/**
--- 119,123 ----
*/
public CalledMethod expect(String methodName, Throwable throwable,
! long timeout, Class... vargs);
/**
***************
*** 137,141 ****
*/
public CalledMethod expect(String methodName, Behavior behavior,
! long timeout, Class[] params);
/**
--- 137,141 ----
*/
public CalledMethod expect(String methodName, Behavior behavior,
! long timeout, Class... params);
/**
***************
*** 152,156 ****
* the optional parameter types of the method call
*/
! public void addIgnoreMethod(String methodName, Class[] vargs);
/**
--- 152,156 ----
* the optional parameter types of the method call
*/
! public void addIgnoreMethod(String methodName, Class... vargs);
/**
***************
*** 162,166 ****
* the optinal parameter types of the method call
*/
! public void removeIgnoreMethod(String methodName, Class[] vargs);
/**
--- 162,166 ----
* the optinal parameter types of the method call
*/
! public void removeIgnoreMethod(String methodName, Class... vargs);
/**
***************
*** 176,180 ****
*/
public void setDefaultReturnValue(Object returnValue, String methodName,
! Class[] vargs);
/**
--- 176,180 ----
*/
public void setDefaultReturnValue(Object returnValue, String methodName,
! Class... vargs);
/**
|