Moves extern dependencies to CPM
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2022-02-05 13:37:47 +01:00
parent b239b556dc
commit f5690363da
17 changed files with 1055 additions and 12824 deletions

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Collections/Dictionary.hpp"
using namespace ArbUt;

View File

@@ -1,4 +1,4 @@
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Ensure.hpp"
void TestWrapper(bool wrapperExpression) { Ensure(wrapperExpression) }
void TestWrapperNotNull(void* value){EnsureNotNull(value)}

View File

@@ -1,7 +1,7 @@
#ifdef TESTS_BUILD
#include <stdint.h>
#include <vector>
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Enum.hpp"
#include "../src/MacroUtils.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Exception.hpp"
using namespace ArbUt;

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Collections/List.hpp"
using namespace ArbUt;

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Memory/Memory.hpp"
using namespace ArbUt;

View File

@@ -1,7 +1,7 @@
#ifdef TESTS_BUILD
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Random.hpp"
TEST_CASE("Random ints") {

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
#include <string>
#include <unordered_map>
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/String/BasicStringView.hpp"
#include "../src/String/StringView.hpp"
#include "../src/String/StringViewLiteral.hpp"

View File

@@ -1,5 +1,5 @@
#ifdef TESTS_BUILD
#include "../extern/doctest.hpp"
#include <doctest.h>
#include "../src/Memory/__UniquePtrList.hpp"
using namespace ArbUt;