I compiled and ran the example project.It worked.
but when I started a new project and inserted the ExampleTestCase into my project,compiled and ran, I encountered a run time error. Is there some special settings for the project? I noticed that I should add "USE_TYPEINFO". and more?
(I noticed the error may come from TestFactoryRegistry::registerFactory( TestFactory *factory )
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I compiled and ran the example project.It worked.
but when I started a new project and inserted the ExampleTestCase into my project,compiled and ran, I encountered a run time error. Is there some special settings for the project? I noticed that I should add "USE_TYPEINFO". and more?
(I noticed the error may come from TestFactoryRegistry::registerFactory( TestFactory *factory )
Can you tell me if that match with bug 424320 (http://sourceforge.net/tracker/index.php?func=detail&aid=424320&group_id=11795&atid=111795)
The test runner used to crash when you removed a test that was in the most recently used list.
For project setting, you can refer to http://gaiacrtn.free.fr/cppunit/index.html. You may not have enabled RTTI.
Let us know if this is not the issue.