summaryrefslogtreecommitdiffstats
path: root/tests/component
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-07-24 23:58:05 +0200
committerTao Bao <tbao@google.com>2018-08-13 06:57:08 +0200
commit13f9816e14980233cbd6ca5e7a0fa3c1e179e54d (patch)
treeea8104ec4b35e3c956fc501288874db7224db9e3 /tests/component
parentMerge "updater_sample: Move to Soong." (diff)
downloadandroid_bootable_recovery-13f9816e14980233cbd6ca5e7a0fa3c1e179e54d.tar
android_bootable_recovery-13f9816e14980233cbd6ca5e7a0fa3c1e179e54d.tar.gz
android_bootable_recovery-13f9816e14980233cbd6ca5e7a0fa3c1e179e54d.tar.bz2
android_bootable_recovery-13f9816e14980233cbd6ca5e7a0fa3c1e179e54d.tar.lz
android_bootable_recovery-13f9816e14980233cbd6ca5e7a0fa3c1e179e54d.tar.xz
android_bootable_recovery-13f9816e14980233cbd6ca5e7a0fa3c1e179e54d.tar.zst
android_bootable_recovery-13f9816e14980233cbd6ca5e7a0fa3c1e179e54d.zip
Diffstat (limited to 'tests/component')
-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")) {