#include "PreprocessorTest.h"
#include "compiler/preprocessor/Token.h"
namespace angle
{
class PragmaTest : public SimplePreprocessorTest
{ … };
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)
{ … }
class InvalidPragmaTest : public PragmaTest, public testing::WithParamInterface<const char *>
{ … };
TEST_P(InvalidPragmaTest, Identified)
{ … }
INSTANTIATE_TEST_SUITE_P(…);
}