[Mockpp-commits] mockpp/mockpp/tests ReturnObjectList_test.cpp,1.10,1.11
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-03-22 18:44:22
|
Update of /cvsroot/mockpp/mockpp/mockpp/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14244/mockpp/tests Modified Files: ReturnObjectList_test.cpp Log Message: add counter value Index: ReturnObjectList_test.cpp =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/ReturnObjectList_test.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- ReturnObjectList_test.cpp 27 Feb 2005 11:48:16 -0000 1.10 +++ ReturnObjectList_test.cpp 22 Mar 2005 18:43:29 -0000 1.11 @@ -77,6 +77,7 @@ rol.addObjectToReturn(buff, buff+sizeof(buff)-1); // take care of trailing '\0'! rol.addObjectToReturn('3'); rol.addObjectToReturn('4'); + rol.addObjectToReturn('5', 3); CPPUNIT_ASSERT(rol.hasMoreObjects()); @@ -91,6 +92,9 @@ CPPUNIT_ASSERT('g' == rol.nextReturnObject()); CPPUNIT_ASSERT('3' == rol.nextReturnObject()); CPPUNIT_ASSERT('4' == rol.nextReturnObject()); + CPPUNIT_ASSERT('5' == rol.nextReturnObject()); + CPPUNIT_ASSERT('5' == rol.nextReturnObject()); + CPPUNIT_ASSERT('5' == rol.nextReturnObject()); CPPUNIT_ASSERT(!rol.hasMoreObjects()); |