summaryrefslogtreecommitdiff
path: root/library/self.gradle
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2016-11-09 18:47:46 -0800
committerMaurice Lam <yukl@google.com>2016-12-01 18:41:43 -0800
commit2614260933341bd4ea7bb37a3435f46f82cacef7 (patch)
treee32744a143ea2fe0f5e92577b7186025dd9b7e51 /library/self.gradle
parent34cc7bd7eb62c520e5b954665f65e93782479fe0 (diff)
downloadsetupwizard-2614260933341bd4ea7bb37a3435f46f82cacef7.tar.gz
[SuwLib] Migrate to JUnit 4
Test: ./gradlew connectedAndroidTest Bug: 30958393 Change-Id: I990618542c25d9c379d054feed10cb7b37becd36
Diffstat (limited to 'library/self.gradle')
-rw-r--r--library/self.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/self.gradle b/library/self.gradle
index b081c63..7ad6359 100644
--- a/library/self.gradle
+++ b/library/self.gradle
@@ -12,6 +12,12 @@ android.sourceSets {
manifest.srcFile 'test/AndroidManifest.xml'
java.srcDirs = ['test/src']
res.srcDirs = ['test/res']
+
+ dependencies {
+ androidTestCompile 'com.android.support.test:rules:0.5'
+ androidTestCompile 'com.android.support.test:runner:0.5'
+ androidTestCompile 'junit:junit:4.+'
+ }
}
androidTestEclairMr1Compat {
@@ -23,6 +29,7 @@ android.sourceSets {
res.srcDirs = ['full-support/test/res']
}
}
+android.defaultConfig.testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
android.lintOptions {
// TODO: Fix lint errors and re-enable fatal lint