summaryrefslogtreecommitdiff
path: root/test/testdb-mysql.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-13 01:09:01 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-13 01:09:01 +0100
commit6b453d0f0f50dccd0333d0d6e8cd0246e86d24a9 (patch)
tree5ca0f7347d41c1a0634123298963f7a8f9795a7d /test/testdb-mysql.h
parentAvoid direct use of runtime_error in PostgreSQL stuff (diff)
downloadmygrate-6b453d0f0f50dccd0333d0d6e8cd0246e86d24a9.tar.bz2
mygrate-6b453d0f0f50dccd0333d0d6e8cd0246e86d24a9.tar.xz
mygrate-6b453d0f0f50dccd0333d0d6e8cd0246e86d24a9.zip
Create and drop MySQL mock DBs as needed
Diffstat (limited to 'test/testdb-mysql.h')
-rw-r--r--test/testdb-mysql.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testdb-mysql.h b/test/testdb-mysql.h
index c7cceb3..3334e24 100644
--- a/test/testdb-mysql.h
+++ b/test/testdb-mysql.h
@@ -9,6 +9,11 @@ namespace MyGrate {
public:
MySQLDB();
~MySQLDB();
+
+ Input::MySQLConn mock() const;
+
+ std::string mockname;
+ static std::size_t mocknum;
};
}
}