commit | ee0e486d3617bdc31ae6e42414bbf2316dee164c | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue Jul 25 17:15:42 2017 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Thu Sep 14 11:29:34 2017 -0700 |
tree | 6158def576b4541debd6062d2cecaf7c69a693c9 | |
parent | 18fc9f65d040f7b9ff9960217d9e02b1827ecd00 [diff] [blame] |
AAPT2: Add navigation type Test: build succeeds Bug: 65645766 Change-Id: I7d49366c7cc4a93c29bad4cb9f13eec23ad05bd2 Merged-In: I7d49366c7cc4a93c29bad4cb9f13eec23ad05bd2
diff --git a/tools/aapt2/Resource_test.cpp b/tools/aapt2/Resource_test.cpp index ad4e3ce..c557f3c 100644 --- a/tools/aapt2/Resource_test.cpp +++ b/tools/aapt2/Resource_test.cpp
@@ -93,6 +93,10 @@ 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);