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/script/tests/script_tests.h')
-rw-r--r--src/script/tests/script_tests.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/script/tests/script_tests.h b/src/script/tests/script_tests.h
deleted file mode 100644
index 5791ccc..0000000
--- a/src/script/tests/script_tests.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * \file script_tests.h
- * \brief Common fixtures for script function tests.
- * \author Copyright (c) 2008 Jason Perkins and the Premake project
- */
-
-#include "testing/testing.h"
-extern "C" {
-#include "script/script.h"
-#include "base/error.h"
-}
-
-
-struct FxScript
-{
- Script script;
-
- FxScript()
- {
- script = script_create();
- }
-
- ~FxScript()
- {
- script_destroy(script);
- error_clear();
- }
-};
-
-
-struct FxAccessor : FxScript
-{
- FxAccessor()
- {
- script_run_string(script,
- "sln = solution 'MySolution';"
- " configurations {'Debug','Release'};"
- "prj = project 'MyProject';");
- }
-};