summaryrefslogtreecommitdiffstats
path: root/tests/component/resources_test.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-08-13 17:55:01 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-08-13 17:55:01 +0200
commit637de2d564f9ee68595265ac1c3bcfeab107fa6b (patch)
tree9cad96e98cd381cf6cadbbd3f78d2d7fc8e0ff6e /tests/component/resources_test.cpp
parentMerge "Build boot control HAL with Android.bp" am: bbe881693a am: b5e9049476 am: 1303267b32 (diff)
parentMerge "tests: Create res-testdata for testdata pickup." am: 2cc6211165 am: e5734c014f (diff)
downloadandroid_bootable_recovery-637de2d564f9ee68595265ac1c3bcfeab107fa6b.tar
android_bootable_recovery-637de2d564f9ee68595265ac1c3bcfeab107fa6b.tar.gz
android_bootable_recovery-637de2d564f9ee68595265ac1c3bcfeab107fa6b.tar.bz2
android_bootable_recovery-637de2d564f9ee68595265ac1c3bcfeab107fa6b.tar.lz
android_bootable_recovery-637de2d564f9ee68595265ac1c3bcfeab107fa6b.tar.xz
android_bootable_recovery-637de2d564f9ee68595265ac1c3bcfeab107fa6b.tar.zst
android_bootable_recovery-637de2d564f9ee68595265ac1c3bcfeab107fa6b.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")) {