#ifndef TESTS_H #define TESTS_H #include #include #include #include #include #include #include #include #include #include #include #include "config_reader.h" #include "data_acces.h" using namespace CppUnit; class test_basic : public CppUnit::TestFixture{ CPPUNIT_TEST_SUITE(test_basic); CPPUNIT_TEST(test_initial); CPPUNIT_TEST(hash_test); CPPUNIT_TEST(msql_loggin_test); CPPUNIT_TEST(msql_package_test); CPPUNIT_TEST_SUITE_END(); public: void setUp(void); void pass_tests(); private: void test_initial(); void hash_test(); void msql_loggin_test(); void msql_package_test(); config_reader *conf; data_acces *data; }; #endif // TESTS_H