summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_utils_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/xfa_utils_unittest.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_utils_unittest.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/xfa/fxfa/parser/xfa_utils_unittest.cpp b/xfa/fxfa/parser/xfa_utils_unittest.cpp
index b27cdaa36e..c9f662eb8d 100644
--- a/xfa/fxfa/parser/xfa_utils_unittest.cpp
+++ b/xfa/fxfa/parser/xfa_utils_unittest.cpp
@@ -22,14 +22,3 @@ TEST(XfaUtilsImpTest, XFA_MapRotation) {
XFA_MapRotation(TestCases[i].input));
}
}
-
-TEST(XFAUtilsTest, GetAttributeEnumByName) {
- EXPECT_EQ(nullptr, XFA_GetAttributeEnumByName(L""));
- EXPECT_EQ(nullptr, XFA_GetAttributeEnumByName(L"nonesuch"));
- EXPECT_EQ(XFA_ATTRIBUTEENUM_Asterisk,
- XFA_GetAttributeEnumByName(L"*")->eName);
- EXPECT_EQ(XFA_ATTRIBUTEENUM_Visible,
- XFA_GetAttributeEnumByName(L"visible")->eName);
- EXPECT_EQ(XFA_ATTRIBUTEENUM_Lowered,
- XFA_GetAttributeEnumByName(L"lowered")->eName);
-}