summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2021-06-22 12:18:55 +0900
committerRemi NGUYEN VAN <reminv@google.com>2021-06-28 11:24:27 +0900
commit0d54d7992d10d28a4d216d097e22cf899d4bb6aa (patch)
treefa9052f0861d497b3c6c922cafd2e82afb5fd001 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parentef34fd2e21ced33d54534edbf40980c0297a6d0b (diff)
Fix ConnectivityManagerTest initialization on Q
The test can't have TetheringManager as an argument to methods or a field, otherwise the test runner will crash when scanning the class for tests because TetheringManager did not exist in Q. Although testFactoryReset is already skipped on Q, the test runner would fail at initialization time, before starting the run. Use CtsTetheringUtils instead. This ensures that TetheringManager does not have method signatures or members that reference classes that do not exist on Q, so the test runner can scan the class successfully before starting the run. Bug: 188851796 Test: atest ConnectivityManagerTest on Q Change-Id: I87488d0f23628a1ef2d7af0242513fcc5401d598
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions