Update of /cvsroot/cppunit/cppunit2/src/opentest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6062/src/opentest
Modified Files:
texttestdriver.cpp
Log Message:
* fixed propagation of test input.
Index: texttestdriver.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/opentest/texttestdriver.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** texttestdriver.cpp 28 Feb 2005 22:11:57 -0000 1.1
--- texttestdriver.cpp 28 Feb 2005 22:31:37 -0000 1.2
***************
*** 135,142 ****
unsigned int entryId = 0;
for ( ; itTest != testsToRun_.end(); ++itTest )
plan.add( TestPlanEntryPtr( new TestDriverTestPlanEntry(
++entryId,
*itTest,
! Properties() ) ) );
runner_.runTests( plan, *this, Properties() );
--- 135,145 ----
unsigned int entryId = 0;
for ( ; itTest != testsToRun_.end(); ++itTest )
+ {
+ const InternalTestInfo &testInfo = getTestInfo( *itTest );
plan.add( TestPlanEntryPtr( new TestDriverTestPlanEntry(
++entryId,
*itTest,
! testInfo.info_ ) ) );
! }
runner_.runTests( plan, *this, Properties() );
|