OSDN Git Service

Fix Robolectric test on oc-dev. DO NOT MERGE
authorMaurice Lam <yukl@google.com>
Thu, 27 Apr 2017 18:58:12 +0000 (11:58 -0700)
committerMaurice Lam <yukl@google.com>
Thu, 27 Apr 2017 19:01:57 +0000 (12:01 -0700)
The directories for setup wizard lib renamed on master.

Test: cd tests/robotests && mma
Bug: 37745541
Change-Id: Iffb7aa85a41a1d84c17357144f964e1d6da693be

tests/robotests/src/com/android/settings/SettingsRobolectricTestRunner.java

index e063f88..a991e7a 100644 (file)
@@ -83,11 +83,11 @@ public class SettingsRobolectricTestRunner extends RobolectricTestRunner {
                         null));
                 paths.add(new ResourcePath(
                         getPackageName(),
-                        Fs.fileFromPath("./frameworks/opt/setupwizard/library/gingerbread/res"),
+                        Fs.fileFromPath("./frameworks/opt/setupwizard/library/eclair-mr1/res"),
                         null));
                 paths.add(new ResourcePath(
                         getPackageName(),
-                        Fs.fileFromPath("./frameworks/opt/setupwizard/library/recyclerview/res"),
+                        Fs.fileFromPath("./frameworks/opt/setupwizard/library/full-support/res"),
                         null));
                 paths.add(new ResourcePath(
                         getPackageName(),