testpreprocessor: Removed test that doesn't work now that the preprocessor handles includes

This commit is contained in:
Daniel Marjamäki 2009-01-19 16:42:20 +00:00
parent 0b2bd09b24
commit a9851f44c1
1 changed files with 0 additions and 19 deletions

View File

@ -59,8 +59,6 @@ private:
TEST_CASE(elif);
TEST_CASE(include1);
TEST_CASE(if_cond1);
TEST_CASE(multiline1);
@ -357,23 +355,6 @@ private:
void include1()
{
const char filedata[] = " # include \"abcd.h\" // abcd\n";
// Preprocess => actual result..
std::istringstream istr(filedata);
std::map<std::string, std::string> actual;
Preprocessor preprocessor;
preprocessor.preprocess(istr, actual);
// Compare results..
ASSERT_EQUALS("#include \"abcd.h\"\n", actual[""]);
ASSERT_EQUALS(1, actual.size());
}
void if_cond1()
{