Update of /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv615/input/javasrc/biz/xsoftware/mock
Modified Files:
MockObject.java
Log Message:
add javadoc comments.
Index: MockObject.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/mock/MockObject.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MockObject.java 10 Sep 2006 18:44:06 -0000 1.3
--- MockObject.java 11 Sep 2006 05:14:44 -0000 1.4
***************
*** 52,57 ****
/**
* Set the DefaultReturnValue for a 'method'
! * @param method The method
! * @param argTypes TODO
*/
public void setDefaultReturnValue(Object o, String method, Class... argTypes);
--- 52,58 ----
/**
* Set the DefaultReturnValue for a 'method'
! *
! * @param method The method name to set the default return value for
! * @param argTypes Optionally specify the type of parameters of the method
*/
public void setDefaultReturnValue(Object o, String method, Class... argTypes);
***************
*** 78,82 ****
* @param e The exception to throw on method.
* @param method The method to throw the exception on when it is called.
! * @param argTypes TODO
*/
public void addThrowException(Throwable e, String method, Class... argTypes);
--- 79,83 ----
* @param e The exception to throw on method.
* @param method The method to throw the exception on when it is called.
! * @param argTypes Optionally specify the type of parameters of the method
*/
public void addThrowException(Throwable e, String method, Class... argTypes);
***************
*** 93,97 ****
* @param o The object to return that is added to the queue
* @param method The method that when called returns first value on queue
! * @param argTypes TODO
*/
public void addReturnValue(Object o, String method, Class... argTypes);
--- 94,98 ----
* @param o The object to return that is added to the queue
* @param method The method that when called returns first value on queue
! * @param argTypes Optionally specify the type of parameters of the method
*/
public void addReturnValue(Object o, String method, Class... argTypes);
***************
*** 103,106 ****
--- 104,110 ----
* in 'methods' variable so if one of the methods in this array is
* called, it will not result in an exception.
+ *
+ * @param method The name of the method to ignore
+ * @param argTypes Optionally specify the type of parameters of the method
*/
public void addIgnoredMethod(String method, Class ... argTypes);
***************
*** 108,111 ****
--- 112,118 ----
/**
* Removes the method from the ignored methods set.
+ *
+ * @param method The name of the method to not ignore
+ * @param argTypes Optionally specify the type of parameters of the method
*/
public void removeIgnoredMethod(String method, Class ... argTypes);
|