From 170a720fe110de6cc1a8c1cd660e591295562cfa Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Mon, 9 Mar 2015 16:26:28 -0700 Subject: [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 --- library/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'library/build.gradle') 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'] + } } } -- cgit v1.2.3