diff options
Diffstat (limited to 'xfa/fxfa/parser/xfa_utils_unittest.cpp')
-rw-r--r-- | xfa/fxfa/parser/xfa_utils_unittest.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xfa/fxfa/parser/xfa_utils_unittest.cpp b/xfa/fxfa/parser/xfa_utils_unittest.cpp index bd2c89d554..b27cdaa36e 100644 --- a/xfa/fxfa/parser/xfa_utils_unittest.cpp +++ b/xfa/fxfa/parser/xfa_utils_unittest.cpp @@ -23,15 +23,6 @@ TEST(XfaUtilsImpTest, XFA_MapRotation) { } } -TEST(XFAUtilsTest, GetAttributeByName) { - EXPECT_EQ(nullptr, XFA_GetAttributeByName(L"")); - EXPECT_EQ(nullptr, XFA_GetAttributeByName(L"nonesuch")); - EXPECT_EQ(XFA_Attribute::H, XFA_GetAttributeByName(L"h")->eName); - EXPECT_EQ(XFA_Attribute::Short, XFA_GetAttributeByName(L"short")->eName); - EXPECT_EQ(XFA_Attribute::DecipherOnly, - XFA_GetAttributeByName(L"decipherOnly")->eName); -} - TEST(XFAUtilsTest, GetAttributeEnumByName) { EXPECT_EQ(nullptr, XFA_GetAttributeEnumByName(L"")); EXPECT_EQ(nullptr, XFA_GetAttributeEnumByName(L"nonesuch")); |