summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node_unittest.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_node_unittest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_node_unittest.cpp b/xfa/fxfa/parser/cxfa_node_unittest.cpp
index 55360a6c47..dedef5df3a 100644
--- a/xfa/fxfa/parser/cxfa_node_unittest.cpp
+++ b/xfa/fxfa/parser/cxfa_node_unittest.cpp
@@ -19,9 +19,9 @@ TEST(CXFA_NodeTest, NameToAttribute) {
TEST(CXFA_NodeTest, GetAttributeEnumByName) {
EXPECT_FALSE(!!CXFA_Node::NameToAttributeEnum(L""));
EXPECT_FALSE(!!CXFA_Node::NameToAttributeEnum(L"nonesuch"));
- EXPECT_EQ(XFA_ATTRIBUTEENUM_Asterisk, *CXFA_Node::NameToAttributeEnum(L"*"));
- EXPECT_EQ(XFA_ATTRIBUTEENUM_Visible,
+ EXPECT_EQ(XFA_AttributeEnum::Asterisk, *CXFA_Node::NameToAttributeEnum(L"*"));
+ EXPECT_EQ(XFA_AttributeEnum::Visible,
*CXFA_Node::NameToAttributeEnum(L"visible"));
- EXPECT_EQ(XFA_ATTRIBUTEENUM_Lowered,
+ EXPECT_EQ(XFA_AttributeEnum::Lowered,
*CXFA_Node::NameToAttributeEnum(L"lowered"));
}