Move all dependencies over to CPM
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-02-11 12:17:27 +01:00
parent c960f3fa0b
commit b7c27cb1f8
41 changed files with 58 additions and 14276 deletions

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Battling/Library/DamageLibrary.hpp"
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../TestLibrary/TestLibrary.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Library/Natures/NatureLibrary.hpp"
#include "../../src/Library/Statistic.hpp"

View File

@@ -1,6 +1,6 @@
#ifdef TESTS_BUILD
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Library/Species/SpeciesLibrary.hpp"
TEST_CASE("Able to build and destroy empty library") {

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Library/Species/PokemonSpecies.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../TestLibrary/TestLibrary.hpp"

View File

@@ -1,7 +1,7 @@
#ifdef TESTS_BUILD
#include <CreatureLib/Battling/TurnChoices/AttackTurnChoice.hpp>
#include <CreatureLib/Battling/TurnChoices/PassTurnChoice.hpp>
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Battling/Battle/Battle.hpp"
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../../src/Battling/Pokemon/PokemonParty.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Battling/Library/ExperienceLibrary.hpp"
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../TestLibrary/TestLibrary.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../src/ScriptResolving/AngelScript/ContextPool.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../TestLibrary/TestLibrary.hpp"

View File

@@ -1,6 +1,6 @@
#ifdef TESTS_BUILD
#include <Arbutils/StringView.hpp>
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/ScriptResolving/AngelScript/AngelScriptMetadata.hpp"
TEST_CASE("Metadata without parameters") {

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../src/ScriptResolving/AngelScript/ContextPool.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../extern/doctest.hpp"
#include <doctest.h>
#include "../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../src/ScriptResolving/AngelScript/ContextPool.hpp"
#include "../TestLibrary/TestLibrary.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../../../extern/doctest.hpp"
#include <doctest.h>
#include "../../../../src/Battling/Battle/Battle.hpp"
#include "../../../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../../../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../../../extern/doctest.hpp"
#include <doctest.h>
#include "../../../../src/Battling/Pokemon/CreatePokemon.hpp"
#include "../../../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../../../src/ScriptResolving/AngelScript/ContextPool.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../../../extern/doctest.hpp"
#include <doctest.h>
#include "../../../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../../../src/ScriptResolving/AngelScript/ContextPool.hpp"
#include "../../../TestLibrary/TestLibrary.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../../../extern/doctest.hpp"
#include <doctest.h>
#include "../../../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../../../src/ScriptResolving/AngelScript/ContextPool.hpp"
#include "../../../TestLibrary/TestLibrary.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../../../extern/doctest.hpp"
#include <doctest.h>
#include "../../../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../../../src/ScriptResolving/AngelScript/ContextPool.hpp"
#include "../../../TestLibrary/TestLibrary.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../../../extern/doctest.hpp"
#include <doctest.h>
#include "../../../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../../../src/ScriptResolving/AngelScript/ContextPool.hpp"
#include "../../../TestLibrary/TestLibrary.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../../../../extern/doctest.hpp"
#include <doctest.h>
#include "../../../../src/ScriptResolving/AngelScript/AngelScriptResolver.hpp"
#include "../../../../src/ScriptResolving/AngelScript/ContextPool.hpp"
#include "../../../TestLibrary/TestLibrary.hpp"