summaryrefslogtreecommitdiff
path: root/test/testdb-postgresql.h
blob: fc73d2a2c89dcf9b3bfe3a5bcee258be8d403753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MYGRATE_TESTING_POSTGRESQL_H
#define MYGRATE_TESTING_POSTGRESQL_H

#include <output/pq/pqConn.h>

namespace MyGrate {
	namespace Testing {
		class PqConnDB : public Output::Pq::PqConn {
		public:
			PqConnDB();
			~PqConnDB();

			Output::Pq::PqConn mock() const;

			std::string mockname;
			static std::size_t mocknum;
		};
	}
}

#endif