Skip to content

Commit

Permalink
Directory renaming part [12/12]: test/
Browse files Browse the repository at this point in the history
  • Loading branch information
eglaysher committed Mar 10, 2014
1 parent 34160b5 commit 79e02eb
Show file tree
Hide file tree
Showing 30 changed files with 52 additions and 51 deletions.
4 changes: 2 additions & 2 deletions SConscript.luarlvm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if env['BUILD_LUA_TESTS'] == True:
# Build our included copy of luabind.
test_env.BuildSubcomponent("luabind")

test_env.RlvmProgram("luaRlvm", ['test/luaRlvm.cpp', script_machine_files],
test_env.RlvmProgram("lua_rlvm", ['test/lua_rlvm.cc', script_machine_files],
use_lib_set = ["SDL", "LUA"],
rlvm_libs = ["system_sdl", "rlvm"])
test_env.Install('$OUTPUT_DIR', 'luaRlvm')
test_env.Install('$OUTPUT_DIR', 'lua_rlvm')
55 changes: 28 additions & 27 deletions SConscript.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,34 +30,34 @@ test_case_files = [
"test/test_system/test_machine.cc",

"test/notification_service_unittest.cc",
"test/testUtils.cpp",
"test/gameexe_test.cpp",
"test/rlmachine_test.cpp",
"test/lazy_array_test.cpp",
"test/graphics_object_test.cpp",
"test/rloperation_test.cpp",
"test/regressions_test.cpp",
"test/text_system_test.cpp",
"test/expression_test.cpp",
"test/sound_system_test.cpp",
"test/text_window_test.cpp",
"test/effect_test.cpp",
"test/rlbabel_test.cpp",
"test/utilities_test.cpp",
"test/test_index_series.cpp",
"test/rect_test.cpp",
"test/test_utils.cc",
"test/gameexe_test.cc",
"test/rlmachine_test.cc",
"test/lazy_array_test.cc",
"test/graphics_object_test.cc",
"test/rloperation_test.cc",
"test/regressions_test.cc",
"test/text_system_test.cc",
"test/expression_test.cc",
"test/sound_system_test.cc",
"test/text_window_test.cc",
"test/effect_test.cc",
"test/rlbabel_test.cc",
"test/utilities_test.cc",
"test/test_index_series.cc",
"test/rect_test.cc",

# medium tests
"test/medium_eventloop_test.cpp",
"test/medium_msg_test.cpp",
"test/medium_object_promotion.cpp",
"test/medium_grp_test.cpp",
"test/medium_eventloop_test.cc",
"test/medium_msg_test.cc",
"test/medium_object_promotion.cc",
"test/medium_grp_test.cc",

# large tests
"test/large_sys_test.cpp",
"test/large_str_test.cpp",
"test/large_mem_test.cpp",
"test/large_jmp_test.cpp"
"test/large_sys_test.cc",
"test/large_str_test.cc",
"test/large_mem_test.cc",
"test/large_jmp_test.cc"
]

null_system_files = [
Expand All @@ -71,8 +71,9 @@ null_system_files = [
"test/test_system/mock_text_window.cc"
]

test_env.RlvmProgram('rlvmTests', ["test/rlvmTest.cpp", null_system_files,
test_case_files],
test_env.RlvmProgram('rlvm_unittests',
["test/rlvm_unittests.cc", null_system_files,
test_case_files],
use_lib_set = ["TEST"],
rlvm_libs = ["rlvm"])
test_env.Install('$OUTPUT_DIR', 'rlvmTests')
test_env.Install('$OUTPUT_DIR', 'rlvm_unittests')
2 changes: 1 addition & 1 deletion test/effect_test.cpp → test/effect_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "test_system/test_event_system.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <boost/shared_ptr.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/expression_test.cpp → test/expression_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "modules/module_jmp.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

using namespace std;
using namespace libreallive;
Expand Down
2 changes: 1 addition & 1 deletion test/gameexe_test.cpp → test/gameexe_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include "gtest/gtest.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include "test_system/test_system.h"
#include "utilities/exception.h"

#include "testUtils.hpp"
#include "test_utils.h"
#include <iostream>

using namespace boost;
Expand Down
2 changes: 1 addition & 1 deletion test/large_jmp_test.cpp → test/large_jmp_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "modules/module_str.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <iostream>
using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion test/large_mem_test.cpp → test/large_mem_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <iostream>
using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion test/large_str_test.cpp → test/large_str_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <string>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion test/large_sys_test.cpp → test/large_sys_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "modules/module_sys.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <iostream>
using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion test/lazy_array_test.cpp → test/lazy_array_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include "utilities/lazy_array.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <iostream>
#include <algorithm>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "machine/rlmachine.h"
#include "modules/module_event_loop.h"

#include "testUtils.hpp"
#include "test_utils.h"

class MediumEventLoopTest : public FullSystemTest {
protected:
Expand Down
2 changes: 1 addition & 1 deletion test/medium_grp_test.cpp → test/medium_grp_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "systems/base/colour.h"
#include "test_system/mock_surface.h"

#include "testUtils.hpp"
#include "test_utils.h"

class MediumGrpTest : public FullSystemTest {
protected:
Expand Down
2 changes: 1 addition & 1 deletion test/medium_msg_test.cpp → test/medium_msg_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "test_system/test_machine.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

class MediumMsgLoopTest : public FullSystemTest {
protected:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "test_system/test_machine.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

using namespace boost;

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/rlbabel_test.cpp → test/rlbabel_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "libreallive/intmemref.h"
#include "machine/rlmachine.h"
#include "systems/base/rlbabel_dll.h"
#include "testUtils.hpp"
#include "test_utils.h"
#include "test_system/test_system.h"
#include "utilities/exception.h"

Expand Down
2 changes: 1 addition & 1 deletion test/rlmachine_test.cpp → test/rlmachine_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "modules/module_str.h"
#include "utilities/exception.h"
#include "libreallive/intmemref.h"
#include "testUtils.hpp"
#include "test_utils.h"

using namespace std;
using namespace libreallive;
Expand Down
2 changes: 1 addition & 1 deletion test/rloperation_test.cpp → test/rloperation_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include "machine/rloperation/references.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

using namespace std;
using namespace std::placeholders;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/sound_system_test.cpp → test/sound_system_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>

#include "testUtils.hpp"
#include "test_utils.h"

#include "test_system/test_system.h"
#include "test_system/test_sound_system.h"
Expand Down
2 changes: 1 addition & 1 deletion test/test_index_series.cpp → test/test_index_series.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <tuple>

#include "testUtils.hpp"
#include "test_utils.h"
#include "modules/module_sys_index_series.h"

using std::get;
Expand Down
2 changes: 1 addition & 1 deletion test/test_system/test_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <string>

#include "systems/base/system_error.h"
#include "testUtils.hpp"
#include "test_utils.h"

// -----------------------------------------------------------------------
// TestSystem
Expand Down
2 changes: 1 addition & 1 deletion test/testUtils.cpp → test/test_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//
// -----------------------------------------------------------------------

#include "testUtils.hpp"
#include "test_utils.h"
#include <vector>
#include <boost/filesystem/operations.hpp>
#include <stdexcept>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/text_system_test.cpp → test/text_system_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "test_system/mock_text_window.h"
#include "test_system/test_system.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <string>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion test/text_window_test.cpp → test/text_window_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "test_system/test_text_window.h"
#include "utilities/string_utilities.h"

#include "testUtils.hpp"
#include "test_utils.h"

#include <boost/algorithm/string.hpp>

Expand Down
File renamed without changes.

0 comments on commit 79e02eb

Please sign in to comment.