summaryrefslogtreecommitdiff
path: root/test-runner/src/junit
AgeCommit message (Collapse)Author
2024-03-08Clean the license metadata on dependencies of module android.test.legacy Wei Li
1) Moved the patched junit code in test-base and test-runner to a new directory test-junit which is under license CPL-1.0. 2) Clean the license metadata on packages in test-base, test-mock, test-runner and test-junit so packages have their license metadata precisely. 3) With this cleanup the Android.mk in test-legacy could be converted to Soong with license metadata handled properly, see b/319031379 and aosp/2900169. Bug: 328809280 Test: CIs Change-Id: I2a5832a97b09a5c7d064b8c2adbc0b04a325f326
2018-02-16Turn on DepAnn for test-base and test-runner Paul Duffin
Bug: 30188076 Test: m -j20 RUN_ERROR_PRONE=true android.test.base android.test.runner Change-Id: I735e3fbfcc710f1dc1b96e04f91b9feda8727b6c
2017-02-22Remove conflicting package information for junit.runner and junit.textui Paul Duffin
Removes package.html files and update package-info.java files to use same wording as previous releases. Bug: 35653948 Test: make docs Change-Id: Idbede2eb4f57818f152834fad7e75dd181fe25d6
2016-12-14Copy junit-runner files into test-runner. Paul Duffin
The android.test.runner target forms part of the Android API and so must maintain backwards compatibility. The junit classes that belong in there are copied here to ensure that they do not change when external/junit is upgraded. Bug: 30188076 Test: make checkbuild and checked android.test.runner contents Change-Id: I947144c47ae1c3eb361a43c39bdd03dc11b9575f
2016-11-22Move JUnit classes from here into external/junit Paul Duffin
Checked that android.test.runner had the same classes in as before the change. These classes are legacy 3.8.1 classes, they are not in 4.10 at all. They appear to have been left here by accident. Looking at the history it appears that at one time there were copies of JUnit 3.8.1 junit.runner classes in frameworks and external/junit. The classes here were upgraded to 4.10 but even though these classes had been deleted immediately after 3.8.2 was released they were not removed, instead they appear to have been reformatted as part of the upgrade. The external/junit source was upgraded to 4.10 about two weeks later which seems to have been done correctly. About three months after that the classes here that were duplicates of those in external/junit were removed from here leaving the legacy classes from 3.8.1. I could not find any usages of these classes and they are not in the public API so they can probably be removed altogether. However, for now I will simply move them into external/junit as described and remove them when upgrading JUnit there to 4.12. Bug: 30188076 Test: Built android.test.runner and checkapi Change-Id: I88687889315c041d999fe7e61b9652ac8406165c
2014-02-25Tabs -> spaces in frameworks/base. John Spurlock
Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
2013-11-20Remove unused imports from frameworks/base. John Spurlock
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2012-05-09Delete duplicate copies of junit source. Brett Chabot
Bug 5826326 Change-Id: Ie361b3778076686c5a59d8392aadb8c86a9ae981
2012-04-11Upgrade junit.runner classes to their JUnit4.10 implementation. Brett Chabot
Bug 5826326 Change-Id: If7e4c48a4369c1056dee5a2049c891bb6ab7d8d0
2011-06-01Test runner cleanup: delete unused old classes. Brett Chabot
Change-Id: Iaaabd47d4074f936a811fc1b6575088d70842564
2010-02-20Retry test-runner tests move. Brett Chabot
This time change the frameworks makefile so it only includes test-runner/src in the public API.
2010-02-19Revert "Move framework test-runner unit tests to be closer to their source." Brett Chabot
This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
2010-02-19Move framework test-runner unit tests to be closer to their source. Brett Chabot
Move the test-runner source into a separate src folder to accommodate the test move.