Menu

Runtime Error at "Browsing"?!?!

Help
Anonymous
2003-07-17
2003-07-30
  • Anonymous

    Anonymous - 2003-07-17

    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.

     
    • Anonymous

      Anonymous - 2003-07-28

      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

       
    • Anonymous

      Anonymous - 2003-07-30

      this prob is solved...
      it's been the checkbox to enable the RTTI stuff...

      s.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.