Verify bypassability in the VPN network capabilities
Bug: 256775913 Test: atest FrameworksNetTests Change-Id: I6600714e5fc7c5d78fa7b8bb29c0c8840ec69637
This commit is contained in:
committed by
Chiachang Wang
parent
89d4bda742
commit
d0a2805616
@@ -1853,6 +1853,7 @@ public class VpnTest extends VpnTestBase {
|
|||||||
|
|
||||||
// Check if allowBypass is set or not.
|
// Check if allowBypass is set or not.
|
||||||
assertTrue(nacCaptor.getValue().isBypassableVpn());
|
assertTrue(nacCaptor.getValue().isBypassableVpn());
|
||||||
|
assertTrue(((VpnTransportInfo) ncCaptor.getValue().getTransportInfo()).getBypassable());
|
||||||
|
|
||||||
return new PlatformVpnSnapshot(vpn, nwCb, ikeCb, childCb);
|
return new PlatformVpnSnapshot(vpn, nwCb, ikeCb, childCb);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user