Re: [Cppunit-devel] two testcases in one test runner
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2003-09-09 19:21:18
|
I never used any version of cppunit before 1.5, so I don't know if there was any behavior change before that. What do you mean by 'the running result for TestCaseI is also the result for AnotherTestCase' ? Baptiste. ----- Original Message ----- From: "Sun, Guili" <Gui...@sa...> To: <cpp...@li...> Sent: Friday, September 05, 2003 4:46 PM Subject: [Cppunit-devel] two testcases in one test runner Hello, 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. Any suggestions on why? Appreciate your help. Sincerely, Sun |