Update of /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/mock2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30434
Modified Files:
Behavior.java
Log Message:
add documentation
Index: Behavior.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib2/input/javasrc/biz/xsoftware/mock2/Behavior.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Behavior.java 23 Dec 2005 01:33:05 -0000 1.1
--- Behavior.java 31 Dec 2005 15:23:26 -0000 1.2
***************
*** 3,10 ****
/**
* A marker interface that signifies that the implementation is a behavior
! * and cloner class. Methods for the behavior has the exact same signature as the
! * method. The cloner method has the <methodName>Clone with the same signature
! * as the method to clone the parameters and returns the cloned parameters as
! * an object array.
*
* @author Dann Ormond
--- 3,14 ----
/**
* A marker interface that signifies that the implementation is a behavior
! * and cloner class. If you implement this class, your implementation class
! * must have two methods. It must have a behavior method and a clone method.
! * The behavior method must have the same exact signature of the method you
! * expect to be called(ie. when you called MockObject.expect, you passed in
! * the method you expected to be called). The clone method will be called
! * <methodName>Clone with the same signature as the method to clone
! * the parameters and returns the cloned parameters as an object array.
! *
*
* @author Dann Ormond
|