diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-13 01:09:01 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-13 01:09:01 +0100 |
commit | 6b453d0f0f50dccd0333d0d6e8cd0246e86d24a9 (patch) | |
tree | 5ca0f7347d41c1a0634123298963f7a8f9795a7d /test/testdb-mysql.h | |
parent | Avoid direct use of runtime_error in PostgreSQL stuff (diff) | |
download | mygrate-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.h | 5 |
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; }; } } |