#include "third_party/blink/renderer/core/css/parser/css_variable_parser.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/css/css_test_helpers.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_token_stream.h"
#include "third_party/blink/renderer/core/css/parser/css_tokenizer.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"
namespace blink {
const char* valid_variable_reference_value[] = …;
const char* invalid_variable_reference_value[] = …;
const char* valid_attr_values[] = …;
const char* invalid_attr_values[] = …;
class ValidVariableReferenceTest
: public testing::Test,
public testing::WithParamInterface<const char*> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(ValidVariableReferenceTest, ConsumeUnparsedDeclaration) { … }
TEST_P(ValidVariableReferenceTest, ParseUniversalSyntaxValue) { … }
class InvalidVariableReferenceTest
: public testing::Test,
public testing::WithParamInterface<const char*> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(InvalidVariableReferenceTest, ConsumeUnparsedDeclaration) { … }
TEST_P(InvalidVariableReferenceTest, ParseUniversalSyntaxValue) { … }
class CustomPropertyDeclarationTest
: public testing::Test,
public testing::WithParamInterface<const char*> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(CustomPropertyDeclarationTest, ParseDeclarationValue) { … }
class ValidAttrTest : public testing::Test,
public testing::WithParamInterface<const char*> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(ValidAttrTest, ContainsValidAttr) { … }
class InvalidAttrTest : public testing::Test,
public testing::WithParamInterface<const char*> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(InvalidAttrTest, ContainsValidAttr) { … }
}