From: Jeff M. <cus...@us...> - 2002-06-19 15:11:03
|
Update of /cvsroot/mockobjects/mockobjects-java/src/core/com/mockobjects In directory usw-pr-cvs1:/tmp/cvs-serv7626/com/mockobjects Modified Files: ReturnObjectList.java Log Message: Added support for booleans to ReturnObjectList Index: ReturnObjectList.java =================================================================== RCS file: /cvsroot/mockobjects/mockobjects-java/src/core/com/mockobjects/ReturnObjectList.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ReturnObjectList.java 23 Apr 2002 11:09:59 -0000 1.2 +++ ReturnObjectList.java 19 Jun 2002 15:11:00 -0000 1.3 @@ -38,6 +38,14 @@ } /** + * Add a next boolean to the end of the list. + * @param aBooleanToReturn boolean to be added to the list + */ + public void addObjectToReturn(boolean aBooleanToReturn){ + myObjects.add(new Boolean(aBooleanToReturn)); + } + + /** * Returns the next object from the list. Each object it returned in the * order in which they where added. */ |