android_packages_modules_Co.../tests/unit/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
chiachangwang 4597a749cb Decouple VpnManagerService from ConnectivityServiceTest
The test scope of ConnectivityService should verify how and
what ConnectivityService works in the unit test, so remove
the VpnManagerService related mocking from ConnectivityServiceTest.

This commit replaces the way to handle package added/remove and
user unlock intent in VpnManagerService. The flows interacting
with those intents in VpnManagerService are verified in
VpnManagerServiceTest, so unit test still maintains the same
coverage.

Bug: 230548427
Test: atest ConnectivityServiceTest
Change-Id: Ia2279bd1023296e3c949fa05bd74e921bf17da79
2022-08-17 14:15:44 +00:00
..
android Cleanup constructor of NetworkStats#Entry 2022-08-02 22:49:16 +08:00
com/android Decouple VpnManagerService from ConnectivityServiceTest 2022-08-17 14:15:44 +00:00