Remi NGUYEN VAN
c559512cd2
Fix CtsNetTestCases on Q
...
- Skip NetworkCapabilitiesTest on Q. The test covers code that is very
localized in NetworkCapabilities.java, and is only updatable on S+,
so does not need to be in MTS before that.
- Fix ConnectivityManagerTest to remove external references to
CaptivePortalData instances in the lambdas, as this is compiled into
a method taking CaptivePortalData as argument, and because the class
does not exist on Q, the test runner would crash enumerating method
arguments.
- Remove call to getSystemService(ETHERNET_SERVICE) on Q from the test
thread, as it will crash when called from a thread that does not have
a Looper.
Test: atest CtsNetTestCases
Bug: 227253613
Change-Id: I97c64b24c767e874dfba00aa1f46be2c4972f917
2022-04-15 16:40:08 +09:00
..
apf
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
metrics
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
netstats
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
util
Move net unit tests to packages/Connectivity
2021-05-13 08:30:33 +00:00
CaptivePortalDataTest.kt
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
CaptivePortalTest.java
Move net unit tests to packages/Connectivity
2021-05-13 08:30:33 +00:00
ConnectivityDiagnosticsManagerTest.java
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
ConnectivitySettingsManagerTest.kt
Fix testing with/without connectivity module
2022-02-16 15:22:30 +09:00
DependenciesTest.java
Move net unit tests to packages/Connectivity
2021-05-13 08:30:33 +00:00
DhcpInfoTest.java
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
InvalidPacketExceptionTest.kt
Add basic tests for InvalidPacketException
2021-06-23 09:16:59 +00:00
IpPrefixTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
KeepalivePacketDataTest.kt
Move net unit tests to packages/Connectivity
2021-05-13 08:30:33 +00:00
LinkAddressTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
LinkPropertiesTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
MatchAllNetworkSpecifierTest.kt
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
NattKeepalivePacketDataTest.kt
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
NetworkAgentConfigTest.kt
Rename getVpnRequiresValidation to isVpnValidationRequired
2022-03-02 01:02:45 +00:00
NetworkCapabilitiesTest.java
Fix CtsNetTestCases on Q
2022-04-15 16:40:08 +09:00
NetworkProviderTest.kt
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
NetworkSpecifierTest.kt
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
NetworkStackTest.java
Move net unit tests to packages/Connectivity
2021-05-13 08:30:33 +00:00
NetworkStateSnapshotTest.kt
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
NetworkTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
OemNetworkPreferencesTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
RouteInfoTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
TcpKeepalivePacketDataTest.kt
Do not verify field count in tests used in CTS
2022-01-18 16:55:32 +09:00
UidRangeTest.java
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00
UnderlyingNetworkInfoTest.kt
Mark connectivity module tests as such
2022-01-18 16:55:44 +09:00