testcppcheck: command line parsing of -D is tested in testcmdlineparser.cpp

This commit is contained in:
Daniel Marjamäki 2011-01-16 16:19:40 +01:00
parent 03ddfcb5b3
commit c841908149
1 changed files with 0 additions and 15 deletions

View File

@ -68,8 +68,6 @@ private:
//TEST_CASE(parseOutputtingArgs);
//TEST_CASE(parseOutputtingInvalidArgs);
//TEST_CASE(parseArgsAndCheck);
//TEST_CASE(userdefines);
}
#if 0
@ -388,19 +386,6 @@ private:
cppCheck.getErrorMessages();
}
#if 0
void userdefines()
{
{
const char *argv[] = {"cppcheck", "-DA", "-DB"};
Settings settings;
ASSERT_EQUALS(true, argCheckReturnSettings(3, argv, settings));
ASSERT_EQUALS("A;B", settings.userDefines);
ASSERT_EQUALS("", errout.str());
ASSERT_EQUALS("", output.str());
}
}
#endif
};
REGISTER_TEST(TestCppcheck)