Removed int cast from undef preprocessor testcases

Signed-off-by: makulik <g-makulik@t-online.de>
This commit is contained in:
makulik 2011-11-30 22:10:49 +01:00
parent 31c22ca31e
commit 8c04431b17
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(1U, (int)actual.size());
ASSERT_EQUALS(1U, actual.size());
ASSERT_EQUALS("\n\n\n", actual[""]);
}
@ -3078,7 +3078,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS(1U, actual.size());
ASSERT_EQUALS("\nFred & Wilma\n\n", actual[""]);
}
@ -3099,7 +3099,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS(1U, actual.size());
ASSERT_EQUALS("\n\n\n\n", actual[""]);
}
@ -3120,7 +3120,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS(1U, actual.size());
ASSERT_EQUALS("\n\n\n\n", actual[""]);
}
@ -3141,7 +3141,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS(1U, actual.size());
ASSERT_EQUALS("\n\n\n\n", actual[""]);
}
@ -3164,7 +3164,7 @@ private:
preprocessor.preprocess(istr, actual, "file.c");
// Compare results..
ASSERT_EQUALS(1U, (int)actual.size());
ASSERT_EQUALS(1U, 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(1U, (int)actual.size());
ASSERT_EQUALS(1U, actual.size());
TODO_ASSERT_EQUALS("\n;\n","\nXDefined;\n", actual[""]);
}
};