diff options
author | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | 2012-04-24 23:07:34 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | 2012-04-24 23:07:34 +0000 |
commit | 28182485765b0fb9cfc86abd0649f500ccb050c7 (patch) | |
tree | 883e8b6efba22a5ced4164ecf020d2b057b16067 /tests | |
parent | 23ff36a03d80588f25062fc625019a190ad9e621 (diff) | |
download | angle_dx11-28182485765b0fb9cfc86abd0649f500ccb050c7.tar.gz |
Drastically simplified Input class. Now most of the heavy lifting is done by in-built yy_scan_string and yy_scan_bytes. Comment handling will be done by the lexer.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1051 736b8ea6-26fd-11df-bfd4-992fa37f6226
Diffstat (limited to 'tests')
-rw-r--r-- | tests/preprocessor_tests/char_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/preprocessor_tests/char_test.cpp b/tests/preprocessor_tests/char_test.cpp index fa23d511..b54cbf76 100644 --- a/tests/preprocessor_tests/char_test.cpp +++ b/tests/preprocessor_tests/char_test.cpp @@ -5,6 +5,7 @@ // #include <algorithm> +#include <climits> #include "gtest/gtest.h" #include "Preprocessor.h" @@ -101,7 +102,7 @@ TEST_P(CharTest, Identified) // Note +1 for the max-value in range. It is there because the max-value // not included in the range. -INSTANTIATE_TEST_CASE_P(AllCharacters, CharTest, - testing::Range(-127, 127 + 1)); +INSTANTIATE_TEST_CASE_P(All, CharTest, + testing::Range(CHAR_MIN, CHAR_MAX + 1)); #endif // GTEST_HAS_PARAM_TEST |