[Mockpp-commits] mockpp/mockpp/examples/tutorial tut-chain.dox,1.9,1.10 tut-chain2.dox,1.1,1.2 tut-v
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-11-18 10:59:03
|
Update of /cvsroot/mockpp/mockpp/mockpp/examples/tutorial In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2132/mockpp/examples/tutorial Modified Files: tut-chain.dox tut-chain2.dox tut-visit.dox tut-visit2.dox tutorial.dox Log Message: update Index: tutorial.dox =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/tutorial.dox,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- tutorial.dox 4 Mar 2005 23:37:00 -0000 1.12 +++ tutorial.dox 18 Nov 2005 10:58:55 -0000 1.13 @@ -19,7 +19,9 @@ - \ref problem <br> - \ref basic_mo <br> - \ref visit_mo <br> + - \ref visit2_mo <br> - \ref chain_mo <br> + - \ref chain2_mo <br> - \ref poor_mo <br> - \ref poor_se_mo <br> - \ref cppunit <br> @@ -66,7 +68,7 @@ developing different solutions. All files are present as working source code to start playing with them under -\c mockpp/examples/tutorial/listings . +\c mockpp/examples/tutorial . Next: \ref basic_mo Index: tut-chain2.dox =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/tut-chain2.dox,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- tut-chain2.dox 18 Nov 2005 10:24:30 -0000 1.1 +++ tut-chain2.dox 18 Nov 2005 10:58:55 -0000 1.2 @@ -125,7 +125,7 @@ new ReturnStub<std::string>("record-3"))); \endcode -<a href="chainmock_8cpp-source.html">chainmock.cpp</a> contains the +<a href="chainmock2_8cpp-source.html">chainmock2.cpp</a> contains the complete source code. \section chain2_examples More elaborate examples @@ -167,7 +167,7 @@ .will(returnValue(1)); \endcode -<a href="chainmock_8cpp-source.html">chainmock.cpp</a> contains the +<a href="chainmock2_8cpp-source.html">chainmock2.cpp</a> contains the complete source code. Next: \ref poor_mo Index: tut-visit2.dox =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/tut-visit2.dox,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- tut-visit2.dox 18 Nov 2005 10:24:30 -0000 1.1 +++ tut-visit2.dox 18 Nov 2005 10:58:55 -0000 1.2 @@ -113,7 +113,7 @@ } \endcode -<a href="visitmock_8cpp-source.html">visitmock.cpp</a> contains the +<a href="visitmock2_8cpp-source.html">visitmock2.cpp</a> contains the complete source code. @@ -182,7 +182,7 @@ calculate_controller.addResponseValue(30, eq<unsigned>(6,2)); \endcode -<a href="visitmock_8cpp-source.html">visitmock.cpp</a> contains the complete source code. +<a href="visitmock2_8cpp-source.html">visitmock2.cpp</a> contains the complete source code. Next: \ref chain_mo Index: tut-chain.dox =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/tut-chain.dox,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- tut-chain.dox 18 Nov 2005 10:24:12 -0000 1.9 +++ tut-chain.dox 18 Nov 2005 10:58:55 -0000 1.10 @@ -170,7 +170,7 @@ <a href="chainmock_8cpp-source.html">chainmock.cpp</a> contains the complete source code. -Next: \ref tut_chain2 +Next: \ref chain2_mo \ref content Index: tut-visit.dox =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/tut-visit.dox,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- tut-visit.dox 18 Nov 2005 10:24:12 -0000 1.8 +++ tut-visit.dox 18 Nov 2005 10:58:55 -0000 1.9 @@ -12,7 +12,7 @@ /*! \page tut_visit -\section visit_mo Solution 2: Visitable Mock Objects With Macros +\section visit_mo Solution 2a: Visitable Mock Objects With Macros In the previous example each sub-expectation was created and adjusted manually. To reduce the code needed to set up the desired behaviour \c mockpp provides advanced @@ -184,7 +184,7 @@ <a href="visitmock_8cpp-source.html">visitmock.cpp</a> contains the complete source code. -Next: \ref tut_visit2 +Next: \ref visit2_mo \ref content |