Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 952c16bb authored by Chalard Jean's avatar Chalard Jean
Browse files

Add a test runner to ignore tests on old SDKs

Generally DevSdkIgnoreRule should be used for that purpose (using rules
is preferable over replacing the test runner), however JUnit runners
inspect all methods in the test class before processing test rules. This
may cause issues if the test methods are referencing classes that do not
exist on the SDK of the device the test is run on.

Test: tests in change Iddd00e1c85abe767b1a41a1761d3266ba322dba6
Bug: 150918852
Merged-In: Ia8df394ed65fad3a3333da32c868c4623975ff79
(cherry picked from commit 1d2d5731, aosp/1281921)

Change-Id: Iedc8d1f93254146baef61b34b965a89fee1b4c57
parent 52eacae0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment