summaryrefslogtreecommitdiffstats
path: root/tests/component/resources_test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-13 17:43:17 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-08-13 17:43:17 +0200
commite5734c014fbd71bca46e83b96c88949229f19d24 (patch)
tree9cad96e98cd381cf6cadbbd3f78d2d7fc8e0ff6e /tests/component/resources_test.cpp
parentMerge "Build boot control HAL with Android.bp" (diff)
parentMerge "tests: Create res-testdata for testdata pickup." (diff)
downloadandroid_bootable_recovery-e5734c014fbd71bca46e83b96c88949229f19d24.tar
android_bootable_recovery-e5734c014fbd71bca46e83b96c88949229f19d24.tar.gz
android_bootable_recovery-e5734c014fbd71bca46e83b96c88949229f19d24.tar.bz2
android_bootable_recovery-e5734c014fbd71bca46e83b96c88949229f19d24.tar.lz
android_bootable_recovery-e5734c014fbd71bca46e83b96c88949229f19d24.tar.xz
android_bootable_recovery-e5734c014fbd71bca46e83b96c88949229f19d24.tar.zst
android_bootable_recovery-e5734c014fbd71bca46e83b96c88949229f19d24.zip
Diffstat (limited to 'tests/component/resources_test.cpp')
-rw-r--r--tests/component/resources_test.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/component/resources_test.cpp b/tests/component/resources_test.cpp
index 618d5a4dd..b00c3d528 100644
--- a/tests/component/resources_test.cpp
+++ b/tests/component/resources_test.cpp
@@ -32,10 +32,11 @@
static const std::string kLocale = "zu";
-static const std::vector<std::string> kResourceImagesDirs{ "res-mdpi/images/", "res-hdpi/images/",
- "res-xhdpi/images/",
- "res-xxhdpi/images/",
- "res-xxxhdpi/images/" };
+static const std::vector<std::string> kResourceImagesDirs{
+ "res-testdata/res-mdpi/images/", "res-testdata/res-hdpi/images/",
+ "res-testdata/res-xhdpi/images/", "res-testdata/res-xxhdpi/images/",
+ "res-testdata/res-xxxhdpi/images/",
+};
static int png_filter(const dirent* de) {
if (de->d_type != DT_REG || !android::base::EndsWith(de->d_name, "_text.png")) {