summaryrefslogtreecommitdiff
path: root/test/testdb-postgresql.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdb-postgresql.h')
-rw-r--r--test/testdb-postgresql.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/testdb-postgresql.h b/test/testdb-postgresql.h
new file mode 100644
index 0000000..fc73d2a
--- /dev/null
+++ b/test/testdb-postgresql.h
@@ -0,0 +1,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