summaryrefslogtreecommitdiff
path: root/library/self.gradle
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2017-03-15 11:12:15 -0700
committerMaurice Lam <yukl@google.com>2017-03-16 17:32:17 +0000
commitd60659421446329c7a7af2a009a51413d5388254 (patch)
tree538d3f4ee5fcf905779402b758b2edf67124fb58 /library/self.gradle
parent9b0031899222e833b2910c22b8e2171b3f22ade0 (diff)
downloadsetupwizard-d60659421446329c7a7af2a009a51413d5388254.tar.gz
Use item title as label for switchItem
So that TalkBack will read the switch as "Switch OFF for <title>". Also migrated SwitchItemTest to allow testing multiple API versions. Test: ./gradlew test connectedAndroidTest Bug: 36137738 Change-Id: Icb5d1f06e2e0555867849f67e612d1ca3afc7cf9
Diffstat (limited to 'library/self.gradle')
-rw-r--r--library/self.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/library/self.gradle b/library/self.gradle
index e481852..5f23d6c 100644
--- a/library/self.gradle
+++ b/library/self.gradle
@@ -25,7 +25,7 @@ android.sourceSets {
}
androidTestGingerbreadCompat {
- java.srcDirs = ['full-support/test/src', 'eclair-mr1/test/src']
+ java.srcDirs = ['full-support/test/src', 'eclair-mr1/test/instrumentation/src']
res.srcDirs = ['full-support/test/res']
}
@@ -41,6 +41,10 @@ android.sourceSets {
testCompile 'org.khronos:opengl-api:gl1.1-android-2.1_r1'
}
}
+
+ testGingerbreadCompat {
+ java.srcDirs = ['eclair-mr1/test/robotest/src']
+ }
}
android.defaultConfig.testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
android.lintOptions {