blob: 407b7a81928186e3bb3c3504d286fd125a529dcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
//TODO: figure out how to enable breakpoints in droiddriver. Breakpoints in system (e.g. InstrumentationTestRunner) work.
buildscript {
repositories {
jcenter()
}
dependencies {
// this requires Gradle 2
classpath 'com.android.tools.build:gradle:1.0.1'
}
}
// This is actually a test without an AUT (application under test).
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion '21.1.2'
defaultConfig {
minSdkVersion 12
targetSdkVersion 21
// Force remove the suffix '.test'
testApplicationId 'com.google.android.droiddriver.manualtest'
testInstrumentationRunner 'com.google.android.droiddriver.runner.TestRunner'
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
}
androidTest {
java.srcDirs = ['src']
}
}
}
dependencies {
androidTestCompile project(':droiddriver') // TODO: use droiddriver from jcenter
}
|