summaryrefslogtreecommitdiff
path: root/test/testdb-mysql.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-12 20:31:17 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-12 20:31:17 +0100
commit5c9443849dd33e91690369f8194ac0cd725f23ec (patch)
treec0495ffb12436a4535d2a15e375826a15c744883 /test/testdb-mysql.h
parentAvoid direct use of runtime_error in MySQL stuff (diff)
downloadmygrate-5c9443849dd33e91690369f8194ac0cd725f23ec.tar.bz2
mygrate-5c9443849dd33e91690369f8194ac0cd725f23ec.tar.xz
mygrate-5c9443849dd33e91690369f8194ac0cd725f23ec.zip
Create a basic MySQL testing database class
Diffstat (limited to 'test/testdb-mysql.h')
-rw-r--r--test/testdb-mysql.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/testdb-mysql.h b/test/testdb-mysql.h
new file mode 100644
index 0000000..c7cceb3
--- /dev/null
+++ b/test/testdb-mysql.h
@@ -0,0 +1,16 @@
+#ifndef MYGRATE_TESTING_MYSQL_H
+#define MYGRATE_TESTING_MYSQL_H
+
+#include <input/mysqlConn.h>
+
+namespace MyGrate {
+ namespace Testing {
+ class MySQLDB : public Input::MySQLConn {
+ public:
+ MySQLDB();
+ ~MySQLDB();
+ };
+ }
+}
+
+#endif