From c651face4c60815ccb823ea3f24904f82530a67b Mon Sep 17 00:00:00 2001 From: verysecrethero Date: Thu, 10 Dec 2015 17:20:47 +0100 Subject: [PATCH] ConfigFile now has tests covering the whole class --- src/Tests/ConfigFileTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Tests/ConfigFileTest.cpp b/src/Tests/ConfigFileTest.cpp index f20de79b..558a208d 100644 --- a/src/Tests/ConfigFileTest.cpp +++ b/src/Tests/ConfigFileTest.cpp @@ -47,8 +47,11 @@ BOOST_AUTO_TEST_CASE(configFileTest) auto getSomething5 = m_Config->Get("Test.4321", 0); BOOST_CHECK(getSomething5 == 145); - //reload,onchildreload unimplemented + //***check so outputwindow says: EE: Failed to parse "DefaultConfigTestFailed.ini" + //***check so outputwindow says: EE: Failed to parse "ConfigTestFailed.ini": + auto m_Config4 = ResourceManager::Load("ConfigTestFailed.ini"); + //reload,onchildreload unimplemented } BOOST_AUTO_TEST_SUITE_END()