znone
2021-03-25 9b81cdebba95f1b6e687191c630c1f8f6cf0df16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _TEST_MYSQL_H_
#define _TEST_MYSQL_H_
 
#include "TestSuite.h"
 
namespace qtl
{
    namespace postgres
    {
        class database;
    }
}
 
class TestPostgres : public TestSuite
{
public:
    TestPostgres();
 
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_any();
 
private:
    int32_t id;
    void connect(qtl::postgres::database& db);
    void get_md5(std::istream& is, unsigned char* result);
};
 
#endif //_TEST_MYSQL_H_