testpreprocessor: removed unused test case

This commit is contained in:
Daniel Marjamäki 2009-01-25 19:18:18 +00:00
parent da63428961
commit bada255c80
1 changed files with 0 additions and 18 deletions

View File

@ -90,7 +90,6 @@ private:
TEST_CASE(preprocessor_include_in_str);
// TODO TEST_CASE(fmt);
TEST_CASE(multi_character_character);
// TODO TEST_CASE(preprocessor_and_operation);
TEST_CASE(stringify);
}
@ -666,23 +665,6 @@ private:
ASSERT_EQUALS("\nint main()\n{\nif( 'ABCD' == 0 );\nreturn 0;\n}\n", actual[""]);
}
void preprocessor_and_operation()
{
const char filedata[] = "#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_VETH)) != 0)\n"
"#file \"kr.h\"\n"
"#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_VETH)) != 0)\n"
"#endif\n"
"#endfile\n"
"#endif\n";
// Preprocess => actual result..
Preprocessor preprocessor;
std::string result = preprocessor.getcode(filedata, "");
// Compare results..
ASSERT_EQUALS("\n#file \"kr.h\"\n\n\n#endfile\n\n", result);
}
void stringify()
{