cppunit guys:
Consider this snip:
void
wxTestBrowserTest::test_traverseTests ()
{
CppUnit::TestSuite *aSuite =
ExampleTestCase::suite();
CPPUNIT_ASSERT_EQUAL (aSuite -> getName(),
string("17wxTestBrowserTest"));
We are inside the wxTestBrowserTest class. We want the
test list from another suite - the one over in
ExampleTestCase.
But the last line shows this suite's name is our
suite's name.
Waddami doin' wrong?
--
Philip C. Plumlee
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
|