From 6b453d0f0f50dccd0333d0d6e8cd0246e86d24a9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 13 Jun 2021 01:09:01 +0100 Subject: Create and drop MySQL mock DBs as needed --- test/testdb-mysql.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/testdb-mysql.h') 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; }; } } -- cgit v1.2.3