Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/tests/env_tests.cpp')
-rw-r--r--src/base/tests/env_tests.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/base/tests/env_tests.cpp b/src/base/tests/env_tests.cpp
deleted file mode 100644
index 8d6fb55..0000000
--- a/src/base/tests/env_tests.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * \file env_tests.cpp
- * \brief Automated tests from runtime environment state.
- * \author Copyright (c) 2008 Jason Perkins and the Premake project
- */
-
-#include "premake.h"
-#include "testing/testing.h"
-extern "C" {
-#include "base/env.h"
-}
-
-
-SUITE(base)
-{
- TEST(EnvGetOs_IsNotUnknown)
- {
- enum OS os = env_get_os();
- CHECK(os != UnknownOS);
- }
-
- TEST(EnvGetOsName_DoesNotExplode)
- {
- const char* name = env_get_os_name();
- CHECK(name != NULL);
- }
-}
-