diff options
author | Adam Szmigin <smidge@xsco.net> | 2020-04-25 23:42:03 +0100 |
---|---|---|
committer | Adam Szmigin <smidge@xsco.net> | 2020-04-25 23:42:03 +0100 |
commit | 1dba192fe5d87f954298f1f4d0b3a89e546ec52d (patch) | |
tree | f5a4b831c6a7b4198e7864a9a329652e2c66d5b6 /test | |
parent | b2f7a1bbf4bdff1b508a0d8ff83ce3ae7b9da409 (diff) |
Switch to Boost Test header-only mode
Diffstat (limited to 'test')
-rw-r--r-- | test/enginelibrary/crate_test.cpp | 2 | ||||
-rw-r--r-- | test/enginelibrary/database_test.cpp | 2 | ||||
-rw-r--r-- | test/enginelibrary/performance_data_test.cpp | 4 | ||||
-rw-r--r-- | test/enginelibrary/schema_test.cpp | 2 | ||||
-rw-r--r-- | test/enginelibrary/track_test.cpp | 2 | ||||
-rw-r--r-- | test/meson.build | 3 |
6 files changed, 7 insertions, 8 deletions
diff --git a/test/enginelibrary/crate_test.cpp b/test/enginelibrary/crate_test.cpp index 287d634..6ec7a11 100644 --- a/test/enginelibrary/crate_test.cpp +++ b/test/enginelibrary/crate_test.cpp @@ -16,13 +16,13 @@ */ #define BOOST_TEST_MODULE crate_test +#include <boost/test/included/unit_test.hpp> #include <iostream> #include <stdexcept> #include <string> #include <boost/filesystem.hpp> -#include <boost/test/unit_test.hpp> #include <djinterop/crate.hpp> #include <djinterop/database.hpp> diff --git a/test/enginelibrary/database_test.cpp b/test/enginelibrary/database_test.cpp index 17afd0d..a9f7373 100644 --- a/test/enginelibrary/database_test.cpp +++ b/test/enginelibrary/database_test.cpp @@ -16,13 +16,13 @@ */ #define BOOST_TEST_MODULE database_test +#include <boost/test/included/unit_test.hpp> #include <ostream> #include <string> #include <sqlite_modern_cpp.h> #include <boost/filesystem.hpp> -#include <boost/test/unit_test.hpp> #include <djinterop/database.hpp> #include <djinterop/enginelibrary.hpp> diff --git a/test/enginelibrary/performance_data_test.cpp b/test/enginelibrary/performance_data_test.cpp index 0f3d03a..e077953 100644 --- a/test/enginelibrary/performance_data_test.cpp +++ b/test/enginelibrary/performance_data_test.cpp @@ -16,6 +16,8 @@ */ #define BOOST_TEST_MODULE performance_data_test +#include <boost/test/included/unit_test.hpp> +#include <boost/test/tools/floating_point_comparison.hpp> #include <chrono> #include <cstdio> @@ -23,8 +25,6 @@ #include <string> #include <boost/filesystem.hpp> -#include <boost/test/floating_point_comparison.hpp> -#include <boost/test/unit_test.hpp> #include <djinterop/database.hpp> #include <djinterop/enginelibrary.hpp> diff --git a/test/enginelibrary/schema_test.cpp b/test/enginelibrary/schema_test.cpp index 8ee9b8d..e7d7f89 100644 --- a/test/enginelibrary/schema_test.cpp +++ b/test/enginelibrary/schema_test.cpp @@ -16,13 +16,13 @@ */ #define BOOST_TEST_MODULE schema_test +#include <boost/test/included/unit_test.hpp> #include <cstdio> #include <iostream> #include <sqlite_modern_cpp.h> #include <boost/filesystem.hpp> -#include <boost/test/unit_test.hpp> #include <djinterop/enginelibrary.hpp> #include <djinterop/enginelibrary/schema.hpp> diff --git a/test/enginelibrary/track_test.cpp b/test/enginelibrary/track_test.cpp index 2e634fa..595c982 100644 --- a/test/enginelibrary/track_test.cpp +++ b/test/enginelibrary/track_test.cpp @@ -16,6 +16,7 @@ */ #define BOOST_TEST_MODULE track_test +#include <boost/test/included/unit_test.hpp> #include <chrono> #include <iostream> @@ -23,7 +24,6 @@ #include <string> #include <boost/filesystem.hpp> -#include <boost/test/unit_test.hpp> #include <djinterop/crate.hpp> #include <djinterop/database.hpp> diff --git a/test/meson.build b/test/meson.build index 393429d..f2d971f 100644 --- a/test/meson.build +++ b/test/meson.build @@ -1,5 +1,4 @@ -boost_test_dep = dependency('boost', modules : [ - 'system', 'filesystem', 'unit_test_framework']) +boost_test_dep = dependency('boost', modules : ['system', 'filesystem']) engine_library_test_names = [ 'crate_test', |