10 using namespace boost::unit_test_framework;
23 void testGetCurrentWorkingDir();
24 void testConvertToAbsPath();
25 void testExtractDirectory();
26 void testExtractFileName();
27 void testConcatenatePaths();
30 std::string _currentWorkingDir;
36 : test_suite(
"ParserUtilitiesTestSuite") {
37 boost::shared_ptr<ParserUtilsTestClass> parserUtilTest(
new ParserUtilsTestClass(currentWorkingDirectory));
47 if(framework::master_test_suite().argc < 2) {
48 std::cout <<
"Usage: " << framework::master_test_suite().argv[0] <<
" currentWorkingDir" << std::endl;
51 auto* currentWorkingDir = framework::master_test_suite().argv[1];
53 framework::master_test_suite().p_name.value =
"Rebot backend test suite";
60 : _currentWorkingDir(std::move(currentWorkingDirectory)) {}
66 std::string expectedReturnValue = _currentWorkingDir +
"/";