29 lines
781 B
C
29 lines
781 B
C
|
#ifndef TESTS_H
|
||
|
#define TESTS_H
|
||
|
#include <cppunit/TestCase.h>
|
||
|
#include <cppunit/TestFixture.h>
|
||
|
#include <cppunit/ui/text/TextTestRunner.h>
|
||
|
#include <cppunit/extensions/HelperMacros.h>
|
||
|
#include <cppunit/extensions/TestFactoryRegistry.h>
|
||
|
#include <cppunit/TestResult.h>
|
||
|
#include <cppunit/TestResultCollector.h>
|
||
|
#include <cppunit/TestRunner.h>
|
||
|
#include <cppunit/BriefTestProgressListener.h>
|
||
|
#include <cppunit/CompilerOutputter.h>
|
||
|
#include <cppunit/XmlOutputter.h>
|
||
|
#include "config_reader.h"
|
||
|
using namespace CppUnit;
|
||
|
|
||
|
class test_basic : public CppUnit::TestFixture{
|
||
|
CPPUNIT_TEST_SUITE(test_basic);
|
||
|
CPPUNIT_TEST(testInitial);
|
||
|
CPPUNIT_TEST_SUITE_END();
|
||
|
public:
|
||
|
void setUp(void);
|
||
|
void pass_tests();
|
||
|
private:
|
||
|
void testInitial(void);
|
||
|
config_reader *conf;
|
||
|
};
|
||
|
#endif // TESTS_H
|