Merged from development, added unit test for config file handler, removed obsolete stuff from handler
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit

This commit is contained in:
2022-07-05 10:02:43 +02:00
238 changed files with 10451 additions and 6239 deletions

View File

@ -0,0 +1,19 @@
#include <mission/utility/GlobalConfigHandler.h>
#include <catch2/catch_test_macros.hpp>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include "../testEnvironment.h"
#include <objects/systemObjectList.h>
TEST_CASE("Configfile Handler", "[ConfigHandler]") {
GlobalConfigHandler confighandler= GlobalConfigHandler(objects::CONFIG_TEST,"JSON.config");
sif::debug<<"Testcase config file handler"<<std::endl;
REQUIRE(confighandler.initialize() == HasReturnvaluesIF::RETURN_OK);
}