diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2018-12-15 12:07:00 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2018-12-15 12:07:00 +0100 |
| commit | 9941c06c33c601a3e59c008c35c6181ba8a2e7f9 (patch) | |
| tree | e5a71e5a3d3c541c82077695a0c302cfa952051d /tests/wanda/core_driver.cpp | |
| parent | ed419140280553b070943b7ba539120a26ff5686 (diff) | |
| download | wanda-9941c06c33c601a3e59c008c35c6181ba8a2e7f9.tar.xz wanda-9941c06c33c601a3e59c008c35c6181ba8a2e7f9.zip | |
testing: rework test code
Diffstat (limited to 'tests/wanda/core_driver.cpp')
| -rw-r--r-- | tests/wanda/core_driver.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/wanda/core_driver.cpp b/tests/wanda/core_driver.cpp deleted file mode 100644 index 3643da0..0000000 --- a/tests/wanda/core_driver.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "test_suite_xdg.hpp" - -#include "cute/cute.h" -#include "cute/cute_runner.h" -#include "cute/tap_listener.h" - -#include <algorithm> -#include <iostream> -#include <iterator> -#include <vector> - -int main(int argc, char const *const *argv) -{ - auto listener = cute::tap_listener<>{std::cout}; - auto runner = cute::makeRunner(listener, argc, argv); - auto suites = std::vector<std::pair<cute::suite, std::string>>{wanda::test_suite_xdg()}; - return !all_of(cbegin(suites), cend(suites), [&](auto const &suite) { return runner(suite.first, suite.second.c_str()); }); -}
\ No newline at end of file |
