summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/ConnectivityDiagnosticsManagerTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Do not verify field count in tests used in CTSRemi NGUYEN VAN2022-01-181-3/+3
| | | | | | | | | | | | | | | | | Tests in tests/common and tests/cts are run as part of CtsNetTestCases. Many used assertFieldCountEquals in parceling/unparceling tests to ensure that unexpected fields were not added, or that they were not missed when testing parceling/unparceling. However with many of the classes updatable through module updates, the field count may change in the future, breaking CTS tests. Stop checking for the field count, as it would break on module releases, and its value is lower than the maintenance cost. Bug: 205901761 Test: atest CtsNetTestCases Change-Id: I79854741f7e834574d4825bb737ef507785310fe
* Move ConnectivityDiagnosticsManagerTest to commonRemi NGUYEN VAN2021-06-211-0/+387
The tests are also useful in CTS to ensure that the ConnectivityDiagnosticsManager class API is implemented properly (including behavior of the DataStallReport class for example). Bug: 187935317 Test: atest ConnectivityDiagnosticsManagerTest Change-Id: I86f39238054f43403f9a1e383dd2a935de84f06f