petriVM18
c4b8fa5444
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
20 lines
501 B
C++
20 lines
501 B
C++
|
|
|
|
#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);
|
|
|
|
}
|