[Mockpp-commits] mockpp/mockpp/examples/tutorial tut-visit.dox,1.6,1.7
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-08-31 14:46:43
|
Update of /cvsroot/mockpp/mockpp/mockpp/examples/tutorial In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26654/mockpp/examples/tutorial Modified Files: tut-visit.dox Log Message: typo Index: tut-visit.dox =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/tut-visit.dox,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- tut-visit.dox 5 Mar 2005 20:45:09 -0000 1.6 +++ tut-visit.dox 31 Aug 2005 14:46:36 -0000 1.7 @@ -122,7 +122,7 @@ Visitable mock objects offer some more functionality. Suppose you have a method \c add() which receives two parameters and returns the sum.You could emulate this behaviour for some expected values by using the following statements. Additionally the method shall -return -1 as error indicator for all other parameters. As man alternative +return -1 as error indicator for all other parameters. As an alternative you could have it throw an exception by using \c setDefaultThrowable(). \code |