CPPUNIT_ prefix missing in example for Writing C++ Unit Tests section

Bug #350832 reported by Daniel Bültmann
2
Affects Status Importance Assigned to Milestone
openWNS-Documentation
New
Undecided
Unassigned

Bug Description

The example is not working. The CPPUNIT_ prefix for the macros is missing.
For instance TEST_SUITE must be replaced by CPPUNIT_TEST_SUITE (see below).

Since the code is included from running examples it must be some error or misuse in the toolchain.

This is what the example looks like on the webpage.
-------
#include <WNS/TestFixture.hpp>
#include <WNS/StopWatch.hpp>

namespace wns { namespace tests {

 /**
  * @brief test for wns::StopWatch
  * @author Marc Schinnenburg <email address hidden>
  */
 class StopWatchTest :
  public wns::TestFixture
 {
        TEST_SUITE( StopWatchTest );
        TEST( testConstructor );
  TEST( testGetInSeconds );
  TEST_SUITE_END();

etc.....
-------

Regards,
  Daniel

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.