Age | Commit message (Collapse) | Author |
|
|
|
Espresso has been open sourced via code.google.com, and AOSP
should not carry source code bearing com.google package name
Change-Id: Ic7c2edea62db89ce76cf332c20a9fbab9bae1cc1
|
|
* commit '2b6d1da16a4e38a9704c2c67b33aadf44a85b1d2':
fix UI Automator dump tool issues
|
|
AOSP bug 58733: NPE while dumping hierarchy
AOSP bug 62906: smileys (surrogates) causing dump tool to crash
Change-Id: Ia57686163dca3b27ee291f3114f15af98e50d914
|
|
* commit '35c05cdef6ffdece03f1e6b9dd22f999bbc9f4f0':
Handle ignored + assumption failure
|
|
|
|
Also fix eclipse classpath
Bug: 16684768
Change-Id: Ic699525d5dc81e74fdc28fe9b81a91c41c9151b8
|
|
Change-Id: I64177bb04558a653cd20cf5645db7178161eb6f7
|
|
* commit '7a552ffc0bce492a7b87755490f3df7490dc357c':
Removed bogus Looper.prepare() from onStart(). (DO NOT MERGE)
|
|
The instrumentation thread for JUnit tests is not a Looper. It calculates all tests that need to be executed, executes them, and exits, ending the instrumentation.
Bug: 17418699
Change-Id: Idcfdd3369472e01996bfae5564b6cb70c3eb7724
|
|
Wallet's instrument management library (used in Phonesky)
would like to write espresso based tests and are currently
using make based builds. No plans to change to gradle for
at least a few months and would like to use make in the interim.
Change-Id: Ibd9d9b69acf447702027f1a11944816f088bf3f5
|
|
into lmp-dev
|
|
bug: 16034525
Change-Id: Id8f81b09c51f66ffd6e77bb58d9684167b2e55ba
(cherry picked from commit d904d52274bafc1fd3928c6b428fed4717e30b4a)
|
|
Added testFile argument to AndroidJunitRunner which allows to run all tests listed in a file:
adb shell am instrument -w -e testFile /sdcard/tmp/testFile.txt com.android.foo/com.android.test.runner.AndroidJUnitRunner
The file should contain a list of line separated test classes and methods.
bug: 16031984
Change-Id: Idf3e5e12f65ed670f31dad54bf3f0e303114c755
(cherry picked from commit da785cf4556f8bfc347c8118b42c74dc0ec59f58)
|
|
Change-Id: I63ea84184f3d9f9f9b739e5a96bcd5724ec31e70
|
|
Change-Id: I5b0a58e64f265f34b1ce8b9e690452c2f3e3baef
|
|
android.support.test."
|
|
|
|
- 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
|
|
Also increase small test limit to 200ms.
Change-Id: I8fa4116efecf63939e6b8e7adbbb33d306690b73
|
|
Change-Id: I07e47038b3e50234b5419499410a253d7ff89a99
|
|
Bug: 15115037
Change-Id: Icfc0de62f7e1a38e277a5563313ec89132ddb8eb
|
|
* commit '85c70eeb6cd10cc556373e64db50c6592b5278af':
add a new service for sleep/wakeup loop
|
|
service can be launched via command line:
adb shell am startservice \
-a android.test.wakeuploop.WAKEUP_SERVICE \
--el WAKEUP_INTERVAL <interval ms>
optional param includes MAX_LOOP for maximum number of loops
of sleep/wake cycle.
Bug: 14601515
Change-Id: I50305404d547440e03ad8840292823f2b222b3a5
|
|
Change-Id: I4e2a7209d717c2e7e3b0cf04d0b9d7a0b5ced330
|
|
Bug: 14260041
Change-Id: I013e183f653bb9251de75b020558b02972e73c2f
|
|
* commit '0123a4631bc74080986f895de5eb8b2c017d2569':
Change isScreenOn() to isInteractive().
|
|
Bug: 13133142
Change-Id: I01f10d4a1a946de4400157c34719ac361f61f6a1
|
|
Change-Id: Ibc7310b3c52a7f41e3ccff84ac1956d80dd30760
|
|
Bug: 13510976
Change-Id: I0001d5c2d085f3a3f07cbe41a89ed84234ad000d
|
|
This simplifies tapas support, and should make working
with GmsCore in Android Studio easier
Change-Id: Iac3628d100f73195a8768a9975a9c0b9a01dbcaa
|
|
|
|
Change-Id: Ied0126de74710720bb434aaa22bbcd46f21818e6
|
|
Change-Id: I5ef349654aac8772b70afeb6caabb648d4e478c0
|
|
Change-Id: Icf98425b43a6fd5e34d77a9e97541d54614e8b6d
|
|
Bug: 12873809
Change-Id: If7211c19f7c8b8f896a3d0a151402cc4ecef038a
|
|
Tests are commonly run with size or other filters. It is incorrect to report
errors if a test package doesn't happen to have tests of the given size.
Plus '0 tests is not an error' is the InstrumentationTestRunner behavior.
Change-Id: Ifaa2abc6bffd57ff514277e8c7e4ddf33345023c
|
|
Buckets tests based on their descriptors'
hashcodes.
Bug: 12929805
Change-Id: Ib4bf43a836a85cef7a1f6f1483eb82514bbf9009
|
|
Missed in last commit
Change-Id: I66e7d43c120cc7b24857f7af729142de4181e74b
|
|
Change-Id: I0d76c9c7aa68047931673284f1772fd7a135b7fc
|
|
Also refactor existing listener support to simplify.
Change-Id: Ib4ec9ceeba3c68b8a700161c6300ea1ab5d944a3
|
|
|
|
Change-Id: Ib7e9cac82593516d9c42ed4d423f77e342236fa0
|
|
|
|
Change suiteAssignment mode so it only outputs a message if test
cases current size does not match its runtime.
Also modify so it streams output instead of waiting for test end.
Change-Id: I6e90ad3c7dc6e36e65b8de2c96edfe0cb226592c
|
|
Bug 12208088
Change-Id: Id2c8ec1215ee7b63d24072131eab227743d366ce
|
|
The test suite used to just output a list of test names to run,
instead of executing them was mistakenly skipping the entire
test run.
Change-Id: Ifc2ff9f47a204b06524670a0eb5d39f2ad6455ad
|
|
|
|
Stop depending on proposed extenstion points to upstream JUnit.
Instead copy in necessary code to support JUnit3 annotation
filtering, and redo injection implementation to support nested
suites.
Also change the package name of tests.
Bug: 10749552
Change-Id: I1ff09d14afe02f265d4c9420b49f047c9c552eab
|
|
notAnnotation values\'
* commit '6cdf7a05a7a1437aea3c670a38b7112c5c158f2a':
DO NOT MERGE. Cherry pick 'Support multiple notAnnotation values'
|