diff options
author | Maurice Lam <yukl@google.com> | 2015-03-09 16:26:28 -0700 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2015-03-10 10:07:01 -0700 |
commit | 170a720fe110de6cc1a8c1cd660e591295562cfa (patch) | |
tree | 2da4d235478f134e4f51cdb4607c9170db40b351 /library/build.gradle | |
parent | 250655b0b7bcd5088d7dfef725980315b2212dc5 (diff) | |
download | setupwizard-170a720fe110de6cc1a8c1cd660e591295562cfa.tar.gz |
[SetupWizardLib] Tests
Set up the structure for tests in setup wizard library.
To run the tests, cd to the root of the tree and run
./gradlew connectedAndroidTest
Currently the tests fail for version lower than SDK 21, even for
IcsCompat because the resources aren't available yet.
Change-Id: I62106f531d99d7861be9474af8100fbc63ea8684
Diffstat (limited to 'library/build.gradle')
-rw-r--r-- | library/build.gradle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/build.gradle b/library/build.gradle index 02173e3..d1a9649 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -30,5 +30,11 @@ android { icsCompat { res.srcDirs = ['res-ics'] } + + androidTest { + manifest.srcFile 'test/AndroidManifest.xml' + java.srcDirs = ['test/src'] + res.srcDirs = ['test/res'] + } } } |