webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Functions
pragma_test.cpp File Reference
#include "PreprocessorTest.h"
#include "compiler/preprocessor/Token.h"

Classes

class  PragmaTest
 
class  InvalidPragmaTest
 

Functions

 TEST_F (PragmaTest, EmptyName)
 
 TEST_F (PragmaTest, EmptyValue)
 
 TEST_F (PragmaTest, NameValue)
 
 TEST_F (PragmaTest, STDGL)
 
 TEST_F (PragmaTest, STDGLInvariantAll)
 
 TEST_F (PragmaTest, Comments)
 
 TEST_F (PragmaTest, MissingNewline)
 
 TEST_P (InvalidPragmaTest, Identified)
 
 INSTANTIATE_TEST_CASE_P (All, InvalidPragmaTest, testing::Values("#pragma 1\, "#pragma foo()\", "#pragma foo bar)\", "#pragma foo(bar\", "#pragma foo bar\", "#pragma foo(bar) baz\"))
 

Function Documentation

◆ INSTANTIATE_TEST_CASE_P()

INSTANTIATE_TEST_CASE_P ( All  ,
InvalidPragmaTest  ,
testing::Values("#pragma 1\"#pragma foo()\", "#pragma foo bar)\"  ,
"#pragma   foobar\, "#pragma foo bar\", "#pragma foo(bar) baz\" 
)

◆ TEST_F() [1/7]

TEST_F ( PragmaTest  ,
EmptyName   
)

◆ TEST_F() [2/7]

TEST_F ( PragmaTest  ,
EmptyValue   
)

◆ TEST_F() [3/7]

TEST_F ( PragmaTest  ,
NameValue   
)

◆ TEST_F() [4/7]

TEST_F ( PragmaTest  ,
STDGL   
)

◆ TEST_F() [5/7]

TEST_F ( PragmaTest  ,
STDGLInvariantAll   
)

◆ TEST_F() [6/7]

TEST_F ( PragmaTest  ,
Comments   
)

◆ TEST_F() [7/7]

TEST_F ( PragmaTest  ,
MissingNewline   
)

◆ TEST_P()

TEST_P ( InvalidPragmaTest  ,
Identified   
)