Lines Matching refs:LexerTest
1 //===- unittests/Lex/LexerTest.cpp ------ Lexer tests ---------------------===//
46 class LexerTest : public ::testing::Test {
48 LexerTest()
111 TEST_F(LexerTest, GetSourceTextExpandsToMaximumInMacroArgument) {
125 TEST_F(LexerTest, GetSourceTextExpandsToMaximumInMacroArgumentForEndOfMacro) {
137 TEST_F(LexerTest, GetSourceTextExpandsInMacroArgumentForBeginOfMacro) {
150 TEST_F(LexerTest, GetSourceTextExpandsInMacroArgumentForEndOfMacro) {
163 TEST_F(LexerTest, GetSourceTextInSeparateFnMacros) {
177 TEST_F(LexerTest, GetSourceTextWorksAcrossTokenPastes) {
192 TEST_F(LexerTest, GetSourceTextExpandsAcrossMultipleMacroCalls) {
205 TEST_F(LexerTest, GetSourceTextInMiddleOfMacroArgument) {
218 TEST_F(LexerTest, GetSourceTextExpandsAroundDifferentMacroCalls) {
232 TEST_F(LexerTest, GetSourceTextOnlyExpandsIfFirstTokenInMacro) {
247 TEST_F(LexerTest, GetSourceTextExpandsRecursively) {
262 TEST_F(LexerTest, LexAPI) {