mirror of
https://github.com/rwengine/openrw.git
synced 2024-10-04 08:07:17 +02:00
tests: capitalize test name (test_name.cpp -> test_Name.cpp)
This commit is contained in:
parent
6f45bda04e
commit
e663d061b7
@ -6,40 +6,40 @@ find_package(Boost COMPONENTS filesystem unit_test_framework system REQUIRED)
|
||||
|
||||
set(TEST_SOURCES
|
||||
main.cpp
|
||||
test_globals.cpp
|
||||
test_animation.cpp
|
||||
test_archive.cpp
|
||||
test_buoyancy.cpp
|
||||
test_character.cpp
|
||||
test_chase.cpp
|
||||
test_cutscene.cpp
|
||||
test_config.cpp
|
||||
test_data.cpp
|
||||
test_Globals.cpp
|
||||
test_Animation.cpp
|
||||
test_Archive.cpp
|
||||
test_Buoyancy.cpp
|
||||
test_Character.cpp
|
||||
test_Chase.cpp
|
||||
test_Cutscene.cpp
|
||||
test_Config.cpp
|
||||
test_Data.cpp
|
||||
test_FileIndex.cpp
|
||||
test_GameData.cpp
|
||||
test_GameWorld.cpp
|
||||
test_globals.hpp
|
||||
test_items.cpp
|
||||
test_Globals.hpp
|
||||
test_Items.cpp
|
||||
test_Input.cpp
|
||||
test_lifetime.cpp
|
||||
test_loaderdff.cpp
|
||||
test_Lifetime.cpp
|
||||
test_Loaderdff.cpp
|
||||
test_LoaderIPL.cpp
|
||||
test_Logger.cpp
|
||||
test_menu.cpp
|
||||
test_object.cpp
|
||||
test_object_data.cpp
|
||||
test_pickup.cpp
|
||||
test_renderer.cpp
|
||||
test_rwbstream.cpp
|
||||
test_Menu.cpp
|
||||
test_Object.cpp
|
||||
test_ObjectData.cpp
|
||||
test_Pickup.cpp
|
||||
test_Renderer.cpp
|
||||
test_RWBStream.cpp
|
||||
test_SaveGame.cpp
|
||||
test_scriptmachine.cpp
|
||||
test_state.cpp
|
||||
test_text.cpp
|
||||
test_trafficdirector.cpp
|
||||
test_vehicle.cpp
|
||||
test_ScriptMachine.cpp
|
||||
test_State.cpp
|
||||
test_Text.cpp
|
||||
test_TrafficDirector.cpp
|
||||
test_Vehicle.cpp
|
||||
test_VisualFX.cpp
|
||||
test_weapon.cpp
|
||||
test_world.cpp
|
||||
test_Weapon.cpp
|
||||
test_World.cpp
|
||||
test_ZoneData.cpp
|
||||
|
||||
# Hack in rwgame sources until there's a per-target test suite
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define BOOST_TEST_MODULE openrw
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const glm::vec3& v) {
|
||||
stream << v.x << " " << v.y << " " << v.z;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <data/Clump.hpp>
|
||||
#include <engine/Animator.hpp>
|
||||
#include <glm/gtx/string_cast.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(AnimationTests)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <loaders/LoaderIMG.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(ArchiveTests)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <objects/VehicleObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(BuoyancyTests)
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <engine/Animator.hpp>
|
||||
#include <objects/CharacterObject.hpp>
|
||||
#include <objects/VehicleObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(CharacterTests)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <data/Chase.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(ChaseTests)
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <data/CutsceneData.hpp>
|
||||
#include <loaders/LoaderCutsceneDAT.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(CutsceneTests)
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <loaders/GenericDATLoader.hpp>
|
||||
#include <objects/PickupObject.hpp>
|
||||
#include <objects/InstanceObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
// Tests against loading various data files
|
||||
// These tests are bad but so are the interfaces so it cancels out.
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <platform/FileIndex.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(FileIndexTests)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <engine/GameData.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(GameDataTests)
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <engine/GameData.hpp>
|
||||
#include <engine/GameWorld.hpp>
|
||||
#include <objects/InstanceObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(GameWorldTests)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
#include <GameConfig.hpp>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <objects/CharacterObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(ItemTests)
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <glm/gtx/string_cast.hpp>
|
||||
#include <objects/InstanceObject.hpp>
|
||||
#include <render/ViewCamera.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(LifetimeTests)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <loaders/LoaderIPL.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(LoaderIPLTests)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <data/Clump.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(LoaderDFFTests)
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <engine/GameWorld.hpp>
|
||||
#include <objects/InstanceObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(ObjectUnitTests)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <data/ModelData.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(ObjectDataTests)
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <objects/CharacterObject.hpp>
|
||||
#include <objects/ItemPickup.hpp>
|
||||
#include <objects/PickupObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
class TestPickup : public PickupObject {
|
||||
public:
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <loaders/RWBinaryStream.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(RWBStreamTests)
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <engine/SaveGame.hpp>
|
||||
#include <script/ScriptMachine.hpp>
|
||||
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
#if 0 // Disabled until we make a start on saving the game
|
||||
BOOST_AUTO_TEST_SUITE(SaveGameTests)
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <data/GameTexts.hpp>
|
||||
#include <engine/ScreenText.hpp>
|
||||
#include <loaders/LoaderGXT.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
#define T(x) GameStringUtil::fromString(x)
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
#include <ai/AIGraph.hpp>
|
||||
#include <ai/TrafficDirector.hpp>
|
@ -1,7 +1,7 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <data/Clump.hpp>
|
||||
#include <objects/VehicleObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(VehicleTests)
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <data/WeaponData.hpp>
|
||||
#include <objects/CharacterObject.hpp>
|
||||
#include <objects/ProjectileObject.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(WeaponTests)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <data/ZoneData.hpp>
|
||||
#include "test_globals.hpp"
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(ZoneDataTests)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user