aboutsummaryrefslogtreecommitdiff
path: root/zencore/testing.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-02 10:01:47 +0200
committerGitHub <[email protected]>2023-05-02 10:01:47 +0200
commit075d17f8ada47e990fe94606c3d21df409223465 (patch)
treee50549b766a2f3c354798a54ff73404217b4c9af /zencore/testing.cpp
parentfix: bundle shouldn't append content zip to zen (diff)
downloadzen-075d17f8ada47e990fe94606c3d21df409223465.tar.xz
zen-075d17f8ada47e990fe94606c3d21df409223465.zip
moved source directories into `/src` (#264)
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
Diffstat (limited to 'zencore/testing.cpp')
-rw-r--r--zencore/testing.cpp54
1 files changed, 0 insertions, 54 deletions
diff --git a/zencore/testing.cpp b/zencore/testing.cpp
deleted file mode 100644
index 1599e9d1f..000000000
--- a/zencore/testing.cpp
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright Epic Games, Inc. All Rights Reserved.
-
-#include "zencore/testing.h"
-#include "zencore/logging.h"
-
-#if ZEN_WITH_TESTS
-
-namespace zen::testing {
-
-using namespace std::literals;
-
-struct TestRunner::Impl
-{
- doctest::Context Session;
-};
-
-TestRunner::TestRunner()
-{
- m_Impl = std::make_unique<Impl>();
-}
-
-TestRunner::~TestRunner()
-{
-}
-
-int
-TestRunner::ApplyCommandLine(int argc, char const* const* argv)
-{
- m_Impl->Session.applyCommandLine(argc, argv);
-
- for (int i = 1; i < argc; ++i)
- {
- if (argv[i] == "--debug"sv)
- {
- spdlog::set_level(spdlog::level::debug);
- }
- }
-
- return 0;
-}
-
-int
-TestRunner::Run()
-{
- int Rv = 0;
-
- m_Impl->Session.run();
-
- return Rv;
-}
-
-} // namespace zen::testing
-
-#endif