diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2020-04-24 16:41:38 +0000 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2020-04-25 03:32:54 +0000 |
commit | 5ce2db965e93f3931337049f258cc5509b1300ea (patch) | |
tree | 43fcb47a1c4d7fbe7cd9d112b306aac41b325976 /src/android/net/ip/IpClient.java | |
parent | 0c36412a414dc1afb11c08dc634e8516662765b8 (diff) |
Skip tests if the shims are too old for them to pass.
Two tests in IpClientIntegrationTest depend on methods that
require R. These tests are already ignored on Q devices. However,
when running NetworkStackIntegrationTests (as opposed to
NetworkStackNextIntegrationtests), the tests fail because they
compile against the Q shims, and the code behaves the same way as
it does on Q.
Skip these tests by checking the version of the shims.
Bug: 152723363
Test: atest NetworkStackIntegrationTests has two fewer failures
Merged-In: I388bd58e79cd4310ad286bcc5688e96b16787be0
Change-Id: I388bd58e79cd4310ad286bcc5688e96b16787be0
Diffstat (limited to 'src/android/net/ip/IpClient.java')
0 files changed, 0 insertions, 0 deletions