ServidorTFG/tests.h

29 lines
781 B
C
Raw Normal View History

2020-05-08 12:43:46 +02:00
#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