android_packages_modules_Co.../Tethering/tests/mts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 0d54d7992d 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
2021-06-28 11:24:27 +09:00
..
src/android/tethering/mts Fix ConnectivityManagerTest initialization on Q 2021-06-28 11:24:27 +09:00
Android.bp Test mts against last stable api level 2021-05-12 22:11:04 +08:00
AndroidManifest.xml Add the flag and default enable selectAllPrefixRange 2020-10-19 16:50:29 +08:00
AndroidTest.xml Test mts against last stable api level 2021-05-12 22:11:04 +08:00