diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-07-25 17:15:42 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-09-14 11:29:34 -0700 |
commit | ee0e486d3617bdc31ae6e42414bbf2316dee164c (patch) | |
tree | 6158def576b4541debd6062d2cecaf7c69a693c9 /tools/aapt2/Resource_test.cpp | |
parent | 18fc9f65d040f7b9ff9960217d9e02b1827ecd00 (diff) |
AAPT2: Add navigation type
Test: build succeeds
Bug: 65645766
Change-Id: I7d49366c7cc4a93c29bad4cb9f13eec23ad05bd2
Merged-In: I7d49366c7cc4a93c29bad4cb9f13eec23ad05bd2
Diffstat (limited to 'tools/aapt2/Resource_test.cpp')
-rw-r--r-- | tools/aapt2/Resource_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt2/Resource_test.cpp b/tools/aapt2/Resource_test.cpp index ad4e3ce02b32..c557f3c77654 100644 --- a/tools/aapt2/Resource_test.cpp +++ b/tools/aapt2/Resource_test.cpp @@ -93,6 +93,10 @@ TEST(ResourceTypeTest, ParseResourceTypes) { ASSERT_NE(type, nullptr); EXPECT_EQ(*type, ResourceType::kMipmap); + type = ParseResourceType("navigation"); + ASSERT_NE(type, nullptr); + EXPECT_EQ(*type, ResourceType::kNavigation); + type = ParseResourceType("plurals"); ASSERT_NE(type, nullptr); EXPECT_EQ(*type, ResourceType::kPlurals); |