diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-21 17:59:41 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-21 17:59:41 +0100 |
commit | a8630518c10667ff88f0e0846de98337743a5808 (patch) | |
tree | 4c926f7af693672b81888d3fcb69757ebf29620c /libmysqlpp/unittests | |
parent | Add JT recommended warnings (diff) | |
download | libdbpp-mysql-a8630518c10667ff88f0e0846de98337743a5808.tar.bz2 libdbpp-mysql-a8630518c10667ff88f0e0846de98337743a5808.tar.xz libdbpp-mysql-a8630518c10667ff88f0e0846de98337743a5808.zip |
First commit passing IWYU
Diffstat (limited to 'libmysqlpp/unittests')
-rw-r--r-- | libmysqlpp/unittests/testmysql.cpp | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/libmysqlpp/unittests/testmysql.cpp b/libmysqlpp/unittests/testmysql.cpp index fdfb0a8..8c75abd 100644 --- a/libmysqlpp/unittests/testmysql.cpp +++ b/libmysqlpp/unittests/testmysql.cpp @@ -1,17 +1,31 @@ #define BOOST_TEST_MODULE TestMySQL #include <boost/test/unit_test.hpp> -#include <boost/date_time/posix_time/posix_time.hpp> -#include <column.h> +#include "mockDatabase.h" +#include <array> +#include <boost/date_time/posix_time/conversion.hpp> +#include <boost/date_time/posix_time/posix_time_types.hpp> +#include <boost/date_time/posix_time/ptime.hpp> #include <connection.h> +#include <cstdint> +#include <cstdio> #include <definedDirs.h> +#include <factory.impl.h> +#include <filesystem> #include <fstream> +#include <initializer_list> +#include <memory> #include <modifycommand.h> -#include <my-error.h> #include <my-mock.h> #include <selectcommand.h> +#include <stdexcept> +#include <string_view> #include <testCore.h> +namespace DB { + class Error; +} + class StandardMockDatabase : public DB::PluginMock<MySQL::Mock> { public: StandardMockDatabase() : DB::PluginMock<MySQL::Mock>("mysqlmock", {rootDir / "mysqlschema.sql"}, "options=libdbpp") |