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.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.