two testcases in one test runner

"Sun, Guili" <[email protected]> Fri, 5 Sep 2003 09:46:17 -0500
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <C34B80A4EF89E24491CBE1E50D047C642910AA@sghdqms03.global.ad.sabre.com>
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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf