// // Copyright 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include <algorithm> #include <climits> #include "PreprocessorTest.h" #include "compiler/preprocessor/Token.h" namespace angle { class CharTest : public PreprocessorTest, public testing::WithParamInterface<int> { … }; static const char kPunctuators[] = …; static const int kNumPunctuators = …; bool isPunctuator(char c) { … } static const char kWhitespaces[] = …; static const int kNumWhitespaces = …; bool isWhitespace(char c) { … } 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_SUITE_P(…); } // namespace angle