Cpp Unit Once And Only Once Hack Example Header File

// Note: this is an example C++ header file for the Python CppUnitOnceAndOnlyOnceHack

  #ifndef __TESTS_H__
  #define __TESTS_H__

#include <cppunit/extensions/HelperMacros?.h>

class Tests : public CPPUNIT_NS::TestFixture { CPPUNIT_TEST_SUITE( Tests );

// BEGIN_GENERATED_BLOCK_TEST_MACROS //

CPPUNIT_TEST( testFoo ); CPPUNIT_TEST( testBar );

// END_GENERATED_BLOCK_TEST_MACROS //

CPPUNIT_TEST_SUITE_END();

public: void setUp(); void tearDown();

// BEGIN_GENERATED_BLOCK_MEMBER_DECLARATIONS //

void testFoo(); void testBar();

// END_GENERATED_BLOCK_MEMBER_DECLARATIONS //

};

#endif // __TESTS_H__


EditText of this page (last edited August 23, 2004) or FindPage with title or text search