#ifndef _TEST_MYSQL_H_ #define _TEST_MYSQL_H_ #include "TestSuite.h" namespace qtl { namespace mysql { class database; } } class TestMysql : public TestSuite { public: TestMysql(); private: void test_dual(); void test_clear(); void test_insert(); void test_select(); void test_update(); void test_insert2(); void test_iterator(); void test_insert_blob(); void test_select_blob(); void test_insert_stream(); void test_fetch_stream(); private: uint32_t id; void connect(qtl::mysql::database& db); void get_md5(std::istream& is, unsigned char* result); }; #endif //_TEST_MYSQL_H_