diff --git a/test/function/runtime/src/runtime_tester.cpp b/test/function/runtime/src/runtime_tester.cpp index 64b7001b..07b2f2c8 100644 --- a/test/function/runtime/src/runtime_tester.cpp +++ b/test/function/runtime/src/runtime_tester.cpp @@ -50,43 +50,3 @@ TEST_F(cTesterRuntime, CmdConfigAutostart) nRes |= CheckFileExists(strResultMessage, strResultFilePath); ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str()); } - -TEST_F(cTesterRuntime, CmdConfigXodrAutostart) -{ - std::string strResultMessage; - - std::string strConfigFilePath = strTestFilesDir + "/" + "XodrSchemaChecker_config.xml"; - std::string strXodrFilePath = "../stimuli/xodr_examples/three_connected_roads_with_steps.xodr"; - std::string strXodrSchemaCheckerResultFilePath = strWorkingDir + "/" + "XodrSchemaChecker.xqar"; - std::string strResultFilePath = strWorkingDir + "/" + "Result.xqar"; - - TestResult nRes = ExecuteCommand(strResultMessage, MODULE_NAME, - "-config " + strConfigFilePath + " -xodr " + strXodrFilePath + " -autostart"); - ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str()); - - nRes |= CheckFileExists(strResultMessage, strXodrSchemaCheckerResultFilePath); - ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str()); - - nRes |= CheckFileExists(strResultMessage, strResultFilePath); - ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str()); -} - -TEST_F(cTesterRuntime, CmdConfigXoscAutostart) -{ - std::string strResultMessage; - - std::string strConfigFilePath = strTestFilesDir + "/" + "XoscSchemaChecker_config.xml"; - std::string strXoscFilePath = "../stimuli/xosc_examples/Einscherer_with_errors.xosc"; - std::string strXoscSchemaCheckerResultFilePath = strWorkingDir + "/" + "XoscSchemaChecker.xqar"; - std::string strResultFilePath = strWorkingDir + "/" + "Result.xqar"; - - TestResult nRes = ExecuteCommand(strResultMessage, MODULE_NAME, - "-config " + strConfigFilePath + " -xosc " + strXoscFilePath + " -autostart"); - ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str()); - - nRes |= CheckFileExists(strResultMessage, strXoscSchemaCheckerResultFilePath); - ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str()); - - nRes |= CheckFileExists(strResultMessage, strResultFilePath); - ASSERT_TRUE_EXT(nRes == TestResult::ERR_NOERROR, strResultMessage.c_str()); -}