summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/KeepalivePacketDataUtilTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Re-skip connectivity unit tests before SRemi NGUYEN VAN2021-07-051-2/+6
| | | | | | | | | | | | | | | | | | | | The tests are packaged together with other tests in a common coverage suite, so need to be individually annotated so that they are skipped before S. They do not need to pass on platforms older than S, because such platforms will not updated with the code that is tested. This applies a previous change, this time using DevSdkIgnoreRunner, as SdkSuppress does not work as expected in branches that have a codename 2 versions above the SDK version, as is the case in AOSP. Bug: 187935317 Test: atest ConnectivityCoverageTests on R atest FrameworksNetTests on S Original-Change: https://android-review.googlesource.com/1749684 Merged-In: I5808d34459a4c19238baf8873afa7cf942828460 Change-Id: I5808d34459a4c19238baf8873afa7cf942828460
* Fix KeepalivePacketDataUtilTest crash on eng buildRemi NGUYEN VAN2021-07-021-1/+14
| | | | | | | | | | | | | The test causes a Log.wtf to be logged, because it tests a method that should not be used after R. Mock the terrible failure handler to avoid crashes on eng builds. Test: atest KeepalivePacketDataUtilTest Bug: 187935317 Original-Change: https://android-review.googlesource.com/1736261 Merged-In: Ic06a0db7fefb4acf38b66feba9b47e21f9927b1c Change-Id: Ic06a0db7fefb4acf38b66feba9b47e21f9927b1c
* Move net unit tests to packages/ConnectivityRemi NGUYEN VAN2021-05-131-0/+205
Move the tests together with packages/Connectivity code, so both can be moved to packages/modules/Connectivity together. Also reorganize unit tests in a unit/ directory, as other tests (integration/, common/ etc.) have been added in tests/net since they were created. This makes the directory structure consistent. Test: atest FrameworksNetTests Bug: 187814163 Ignore-AOSP-First: needs per-branch move for merge conflicts Change-Id: I254ffd1c08ec058d594b4ea55cbae5505f8497cc