OSDN Git Service

Unbreak VPN unit tests.
authorCharles He <qiurui@google.com>
Wed, 16 Aug 2017 12:14:13 +0000 (13:14 +0100)
committerCharles He <qiurui@google.com>
Tue, 19 Sep 2017 07:56:36 +0000 (07:56 +0000)
commitc17f50f83d3e35f338095df6065426f2f304a1dc
treed905e940f20a7b3af60f852dee84f493485669ca
parentab6f2f62fec5c6814975cd61a17df06857ac91de
Unbreak VPN unit tests.

VpnTest was broken earlier due to a change to always-on VPN
notifications. This CL adds the corresponding mocks to the unit test to
fix it.

Bug: 36650087
Bug: 65439160
Test: runtest frameworks-net
Change-Id: Icff57c7e927c135d75a7d70ff347a579c5d45134
Merged-In: Icff57c7e927c135d75a7d70ff347a579c5d45134
(cherry picked from commit 3da6a1fc82b7e0c7adc88b92e50cceec8173672e)
tests/net/java/com/android/server/connectivity/VpnTest.java