Fixed preprocessor testcases

Signed-off-by: makulik <g-makulik@t-online.de>
This commit is contained in:
makulik 2011-11-30 21:51:23 +01:00
parent 04d4e5e32e
commit 31c22ca31e
1 changed files with 7 additions and 7 deletions

View File

@ -3058,7 +3058,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1, (int)actual.size());
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS("\n\n\n", actual[""]);
}
@ -3078,7 +3078,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1, (int)actual.size());
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS("\nFred & Wilma\n\n", actual[""]);
}
@ -3099,7 +3099,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1, (int)actual.size());
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS("\n\n\n\n", actual[""]);
}
@ -3120,7 +3120,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1, (int)actual.size());
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS("\n\n\n\n", actual[""]);
}
@ -3141,7 +3141,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1, (int)actual.size());
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS("\n\n\n\n", actual[""]);
}
@ -3164,7 +3164,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1, (int)actual.size());
ASSERT_EQUALS(1U, (int)actual.size());
TODO_ASSERT_EQUALS("\n\n\nBarney & Betty\n\n","\n\n\n\n\n", actual[""]);
}
@ -3183,7 +3183,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1, (int)actual.size());
ASSERT_EQUALS(1U, (int)actual.size());
TODO_ASSERT_EQUALS("\n;\n","\nXDefined;\n", actual[""]);
}
};