release version
This commit is contained in:
38
examples/msvc6/HostApp/ExampleTestCase.h
Normal file
38
examples/msvc6/HostApp/ExampleTestCase.h
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
#ifndef CPP_UNIT_EXAMPLETESTCASE_H
|
||||
#define CPP_UNIT_EXAMPLETESTCASE_H
|
||||
|
||||
#include <cppunit/extensions/HelperMacros.h>
|
||||
|
||||
/*
|
||||
* A test case that is designed to produce
|
||||
* example errors and failures
|
||||
*
|
||||
*/
|
||||
|
||||
class ExampleTestCase : public CPPUNIT_NS::TestFixture
|
||||
{
|
||||
CPPUNIT_TEST_SUITE( ExampleTestCase );
|
||||
CPPUNIT_TEST( example );
|
||||
CPPUNIT_TEST( anotherExample );
|
||||
CPPUNIT_TEST( testAdd );
|
||||
CPPUNIT_TEST( testEquals );
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
protected:
|
||||
|
||||
double m_value1;
|
||||
double m_value2;
|
||||
|
||||
public:
|
||||
|
||||
void setUp ();
|
||||
|
||||
protected:
|
||||
void example ();
|
||||
void anotherExample ();
|
||||
void testAdd ();
|
||||
void testEquals ();
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user