summaryrefslogtreecommitdiffstats
path: root/tools/aapt/tests
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-03-10 16:55:43 -0700
committerAdam Lesinski <adamlesinski@google.com>2015-03-16 22:25:26 +0000
commit8a9355a98ece3d7fc9d022e759d05378060c86e2 (patch)
treed6d76f94f2688f9bcee4c961dafc4cc3ec97a6bd /tools/aapt/tests
parent9c329b8b6440823ef94bffebc0b1098e8b2ad622 (diff)
downloadframeworks_base-8a9355a98ece3d7fc9d022e759d05378060c86e2.zip
frameworks_base-8a9355a98ece3d7fc9d022e759d05378060c86e2.tar.gz
frameworks_base-8a9355a98ece3d7fc9d022e759d05378060c86e2.tar.bz2
Output modified bcp47 tag in ResTable_config::toString()
We expect to be able to parse the output of ResTable_config::toString(), so it should use modified bcp47 (b+en+Latn+US). Change-Id: I597a1779a1fa5cff171c473e6a0368d93b9c7722
Diffstat (limited to 'tools/aapt/tests')
-rw-r--r--tools/aapt/tests/AaptConfig_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/tests/AaptConfig_test.cpp b/tools/aapt/tests/AaptConfig_test.cpp
index ef3860c..7618974 100644
--- a/tools/aapt/tests/AaptConfig_test.cpp
+++ b/tools/aapt/tests/AaptConfig_test.cpp
@@ -65,7 +65,7 @@ TEST(AaptConfigTest, ParseBasicQualifiers) {
TEST(AaptConfigTest, ParseLocales) {
ConfigDescription config;
EXPECT_TRUE(TestParse("en-rUS", &config));
- EXPECT_EQ(String8("en-US"), config.toString());
+ EXPECT_EQ(String8("en-rUS"), config.toString());
}
TEST(AaptConfigTest, ParseQualifierAddedInApi13) {