aboutsummaryrefslogtreecommitdiff
path: root/tests/src/confTest/confTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/confTest/confTest.cpp')
-rw-r--r--tests/src/confTest/confTest.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/src/confTest/confTest.cpp b/tests/src/confTest/confTest.cpp
index ec8a563..68e2225 100644
--- a/tests/src/confTest/confTest.cpp
+++ b/tests/src/confTest/confTest.cpp
@@ -1,4 +1,4 @@
-#include <catch.hpp>
+#include <catch2/catch.hpp>
#include "../../../include/Conf.hpp"
using namespace sibs;
@@ -32,18 +32,6 @@ TEST_CASE("parse config")
REQUIRE(catch2Dependency->name == "catch2");
REQUIRE(catch2Dependency->version.toString() == ">=1.0.0 and <2.0.0");
- REQUIRE(sibsConfig.getGitDependencies().size() == 1);
- for(auto *dep : sibsConfig.getGitDependencies())
- {
- REQUIRE(dep->getSource() == Dependency::Source::GIT);
- }
- const Dependency *sfmlAllDependency = sibsConfig.getGitDependencies()[0];
- const GitDependency *sfmlAllDependencyGit = sfmlAllDependency->asGitDependency();
- REQUIRE(sfmlAllDependencyGit->name == "sfml-all");
- REQUIRE(sfmlAllDependencyGit->url == "https://github.com/DEC05EBA/sfml-all.git");
- REQUIRE(sfmlAllDependencyGit->branch == "master");
- REQUIRE(sfmlAllDependencyGit->revision == "HEAD");
-
REQUIRE(sibsConfig.shouldUseCmake());
REQUIRE(sibsConfig.getCmakeDir() == TINYDIR_STRING("tests/src/confTest/cmakeGlobal"));