summaryrefslogtreecommitdiff
path: root/support/src
AgeCommit message (Collapse)Author
2014-09-17Handle ignored + assumption failureBrett Chabot
Also fix eclipse classpath Bug: 16684768 Change-Id: Ic699525d5dc81e74fdc28fe9b81a91c41c9151b8
2014-08-06Merge "Fixed the ability to filter by multiple class/methods combinations" ↵Nick Korostelev
into lmp-dev
2014-08-07Fixed the ability to filter by multiple class/methods combinationsNick Korostelev
bug: 16034525 Change-Id: Id8f81b09c51f66ffd6e77bb58d9684167b2e55ba (cherry picked from commit d904d52274bafc1fd3928c6b428fed4717e30b4a)
2014-08-07Adding support for loading classes/methods from fileNick Korostelev
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)
2014-06-19Merge "Merge GoogleInstrumentationTestRunner features into ↵Brett Chabot
android.support.test."
2014-06-13Only print suite assignment suggestions if test timing is valid.Brett Chabot
Also increase small test limit to 200ms. Change-Id: I8fa4116efecf63939e6b8e7adbbb33d306690b73
2014-06-13Merge GoogleInstrumentationTestRunner features into android.support.test.Brett Chabot
Change-Id: I07e47038b3e50234b5419499410a253d7ff89a99
2014-06-04Stop holding object references in JUnit3 tests.Brett Chabot
Bug: 15115037 Change-Id: Icfc0de62f7e1a38e277a5563313ec89132ddb8eb
2014-03-27Skip empty JUnit3 test cases when class path scanning.Brett Chabot
Change-Id: Ibc7310b3c52a7f41e3ccff84ac1956d80dd30760
2014-03-24Fix running methods with dollar signs.Brett Chabot
Bug: 13510976 Change-Id: I0001d5c2d085f3a3f07cbe41a89ed84234ad000d
2014-03-11Add InstrumentationRunListener#setInstrumentationBrett Chabot
Change-Id: I5ef349654aac8772b70afeb6caabb648d4e478c0
2014-02-24Add SdkSuppress and RequiresDevice filtering annotations.Brett Chabot
Bug: 12873809 Change-Id: If7211c19f7c8b8f896a3d0a151402cc4ecef038a
2014-02-21Don't report an error for empty test runs.Brett Chabot
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
2014-02-21Add support for sharding to AndroidJunitRunnerAdam Skory
Buckets tests based on their descriptors' hashcodes. Bug: 12929805 Change-Id: Ib4bf43a836a85cef7a1f6f1483eb82514bbf9009
2014-02-20Add missing Retention and Target for FlakyTest annotation.Brett Chabot
Missed in last commit Change-Id: I66e7d43c120cc7b24857f7af729142de4181e74b
2014-02-20Add flaky test annotationBrett Chabot
Change-Id: I0d76c9c7aa68047931673284f1772fd7a135b7fc
2014-02-05Add support for specifying runlisteners via AndroidManifest.Brett Chabot
Also refactor existing listener support to simplify. Change-Id: Ib4ec9ceeba3c68b8a700161c6300ea1ab5d944a3
2014-02-03Merge "Stem TestLoader log spam."Brett Chabot
2014-02-03Stem TestLoader log spam.Brett Chabot
Change-Id: Ib7e9cac82593516d9c42ed4d423f77e342236fa0
2014-02-03Merge "Tweak -e suiteAssignment mode."Brett Chabot
2014-01-29Tweak -e suiteAssignment mode.Brett Chabot
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
2014-01-29Support multiple notAnnotation valuesBrett Chabot
Bug 12208088 Change-Id: Id2c8ec1215ee7b63d24072131eab227743d366ce
2014-01-29Fix 'e log true' test runs.Brett Chabot
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
2014-01-29Merge "Make android.support.test work with unmodified upstream junit."Brett Chabot
2014-01-29Make android.support.test work with unmodified upstream junit.Brett Chabot
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
2014-01-28am 6cdf7a05: am 5c8e0271: DO NOT MERGE. Cherry pick \'Support multiple ↵Brett Chabot
notAnnotation values\' * commit '6cdf7a05a7a1437aea3c670a38b7112c5c158f2a': DO NOT MERGE. Cherry pick 'Support multiple notAnnotation values'
2014-01-28am 5c8e0271: DO NOT MERGE. Cherry pick \'Support multiple notAnnotation values\'Brett Chabot
* commit '5c8e0271db889518f5969b142a37faa01a4ee54d': DO NOT MERGE. Cherry pick 'Support multiple notAnnotation values'
2014-01-16DO NOT MERGE. Cherry pick 'Change android-test-lib package namespace to ↵Brett Chabot
android.support.test' Also move private API classes to internal package Bug: 10749552 Change-Id: Ic12343763680df63997951cfa8a9688f3153dab7
2014-01-16Fix build - correct bad mergeBrett Chabot
Change-Id: Iacfe397c4b14dbb6b4d7b48711d0550ca3db5663
2014-01-17am 790a1895: Merge "DO NOT MERGE. Cherry pick \'Catch Errors when loading ↵Brett Chabot
test classes.\'" into klp-modular-dev * commit '790a18950902fadde82a1102c5aabcd40be91b93': DO NOT MERGE. Cherry pick 'Catch Errors when loading test classes.'
2014-01-09Stop running AndroidTestSuite.Brett Chabot
Update list of package names to exclude from classpath scanning after package rename. Change-Id: Iafcb05338f62364bfbd13b9274e01be829e61311
2014-01-03Change android-test-lib package namespace to android.support.testBrett Chabot
Also move private API classes to internal package Bug: 10749552 Change-Id: I8561ab68872a4fb6e912f95c40a11c2cb7f18dd8