[Cppunit-devel] two testcases in one test runner
Brought to you by:
blep
|
From: Sun, G. <Gui...@sa...> - 2003-09-05 14:46:36
|
Hello,=20
We used to use cppunit-1.0. Now we updated to cppunit-1.8.0. One problem =
we encounter is we couldn't run more than one testcase suite with one =
TestRunner. The running results for both testcases are same (both are =
from the first one). For example,
int main( int argc, char **argv)
{
CppUnit::TextUi::TestRunner runner;
runner.addTest( TestCaseI::suite() );
runner.addTest( AnotherTestCase::suite() );
runner.run();
return 0;
}
We we execute TestRunner, the running result for TestCaseI is also the =
result for AnotherTestCase.=20
Any suggestions on why? Appreciate your help.
Sincerely,
Sun
|