Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Hello we are trying to use CppUnit for our project, but now we are having difficulty compiling the tests.
at the point we use:
CPPUNIT_TEST_SUITE_REGISTRATION( ActionManualDrive_test );
compiling gives this error:
ActionManualDrive_test.cpp:4: error: invalid declarator before 'autoRegisterRegistry__4'
we included the HelperMacros.h and cppunit/TestFixture.h in our headerfile and added these lines:
CPPUNIT_TEST_SUITE( ActionManualDrive_test );
CPPUNIT_TEST( setRobotTest );
to the class description in the header file.
We have tried for hours to troubleshoot and did not find any helpful information already on the forum, so please look into this if you think you can help us.