diff options
author | Chalard Jean <jchalard@google.com> | 2020-04-13 08:58:23 +0000 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2020-04-13 09:33:42 +0000 |
commit | 952c16bb24ebee8ff1b5e327845a80455a9aa6ba (patch) | |
tree | f899b6d7c1f8390689ce83cfc8b7c87c645c9452 /common/networkstackclient/aidl_api | |
parent | 52eacae0ad2cd9f3af6469dfb231e7f4bf9f91af (diff) |
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 1d2d5731c2ac4a23904f6093ac0f2a1bf0c11985, aosp/1281921)
Change-Id: Iedc8d1f93254146baef61b34b965a89fee1b4c57
Diffstat (limited to 'common/networkstackclient/aidl_api')
0 files changed, 0 insertions, 0 deletions