summaryrefslogtreecommitdiff
path: root/library/self.gradle
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2016-12-29 14:44:50 -0800
committerMaurice Lam <yukl@google.com>2017-01-11 16:12:35 -0800
commit199cec9d40aef7ac34dd0cd4badae4eb2e7373c5 (patch)
tree99ec18d1d2d0cd54d0fa79a91fd8214610b275ca /library/self.gradle
parent2e634640f3ed1b101f3748849b415fa14d57991c (diff)
downloadsetupwizard-199cec9d40aef7ac34dd0cd4badae4eb2e7373c5.tar.gz
Migrate PartnerTest to Robolectric
Since PartnerTest depends on resources, add BaseRobolectricTest class to configure the manifest (and the SDK version). In addition, to work around a Robolectric issue, add dependency on Open GL API. Test: ./gradlew test Bug: 32975598 Change-Id: I41a8099197412ce6353c1920fb7b59d83fb7c9d5
Diffstat (limited to 'library/self.gradle')
-rw-r--r--library/self.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/self.gradle b/library/self.gradle
index 2f16a98..aaca6e5 100644
--- a/library/self.gradle
+++ b/library/self.gradle
@@ -45,6 +45,8 @@ android.sourceSets {
testCompile 'org.robolectric:shadows-core:3.+'
testCompile 'junit:junit:4.+'
testCompile 'org.mockito:mockito-core:1.9.5'
+ // Workaround for https://github.com/robolectric/robolectric/issues/2566
+ testCompile 'org.khronos:opengl-api:gl1.1-android-2.1_r1'
}
}
}