commit | f69eb9ac2856f470cb79f57141f711ed3ceed99d | [log] [tgz] |
---|---|---|
author | Nick Korostelev <nkorsote@google.com> | Wed Apr 09 18:16:48 2014 -0700 |
committer | Nick Korostelev <nkorsote@google.com> | Tue Jun 17 11:58:01 2014 -0700 |
tree | 252d2ef648fed85c82dbdb99e7c1e077de1a3b4a | |
parent | 1afabcc1a3db33f786ff7cc0c8d72e40990c8876 [diff] |
port Espresso to Android repo - Completely restructured the project to match Gradle convention - Added several Android.mk to build using make. - Added build.gradle to build using Gradle. - Fixed package names to avoid conflicts - Requires several prebuilt Jars, added README to outline versions and licenses for legal. - Dependent libraries that don’t get JarJar’ed are linked to from the local prebuild maven repo. - Bumped up the version of dependent libraries that didn’t create compatibility issues - Cleaned up bin/ dir and renamed it to libs/ - Removed maven support, removed pom.xml files - Removed Android make support, removed Android.mk files - Removed testrunner and testrunner-runtime, using binaries instead. There is a separate initiative to add them to Android repo. - Separated IdlingResource to it's own library to expose and decouple this interface which is frequently referenced by code in the app-under-test - added copyright Workaround for Android Gradle plugin limitation - Created two separate modules espresso-lib-tests and espresso-contrib-tests that will include the unit tests for the corresponding libs. Current limitations: - Gradle - no current support for setting a custom ‘targetPackage’ for espressi-lib and espresso-conrib unit tests ("gradle assembleDebugTest" will not work for espressi-lib and espresso-conrib). - Intellij Gradle plugin doesn't like multiple project sharing the same "main" source and variants Note: follow these steps if encounter ClassNotFoundException when running on physical device: 1. adb shell su 2. adb shell setprop dalvik.vm.dexopt-flags v=n,o=v 3. adb shell stop installd 4. adb shell start installd 5. reinstall apks Change-Id: I356150fcecb13537d212c180adea8f2cee916b81