I tried to use the MFC-Gui of CPPUnit with a Console Application (i have used the option "An Application that Supports MFC"), but somhow i always get a runtime error when i click the button "Browse" in the GUI. Does somebody know the solution for this problem? If i use the Text-TestRunner it works fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to use the MFC-Gui of CPPUnit with a Console Application (i have used the option "An Application that Supports MFC"), but somhow i always get a runtime error when i click the button "Browse" in the GUI. Does somebody know the solution for this problem? If i use the Text-TestRunner it works fine.
my Sourcecode looks like this...
@ Testrunner Call
runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );
//runner.addTest(MyTestCase::suite());
runner.run();
@ MyTestCase.h
class MyTestCase : public CppUnit::TestCase
{
CPPUNIT_TEST_SUITE( MyTestCase );
CPPUNIT_TEST( testRockIt );
CPPUNIT_TEST_SUITE_END();
public:
void setUp();
void tearDown();
protected:
void testRockIt();
};
please help me, i'm despaired,
stradivari
this prob is solved...
it's been the checkbox to enable the RTTI stuff...
s.