commit | 8f622ae9bcd3ff99cbaf438496e87ee93587ca64 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Tue Mar 26 01:47:04 2024 +0000 |
committer | Chiachang Wang <chiachangwang@google.com> | Tue Mar 26 05:06:23 2024 +0000 |
tree | a1a097f4cd9bb44c53b25e33ac1abb15992fe032 | |
parent | 1b7a6f59105966ba828329dc1d75821071779d67 [diff] |
Remove unused assertTransportInfoMatches() method Test: atest FrameworksVpnTests Change-Id: I677c046fba993c97296dd2876d928d7d5d2b213c
diff --git a/services/tests/VpnTests/java/com/android/server/connectivity/VpnTest.java b/services/tests/VpnTests/java/com/android/server/connectivity/VpnTest.java index 9115f95..08155c7 100644 --- a/services/tests/VpnTests/java/com/android/server/connectivity/VpnTest.java +++ b/services/tests/VpnTests/java/com/android/server/connectivity/VpnTest.java
@@ -3158,13 +3158,6 @@ assertEquals(profile, ikev2VpnProfile.toVpnProfile()); } - private void assertTransportInfoMatches(NetworkCapabilities nc, int type) { - assertNotNull(nc); - VpnTransportInfo ti = (VpnTransportInfo) nc.getTransportInfo(); - assertNotNull(ti); - assertEquals(type, ti.getType()); - } - // Make it public and un-final so as to spy it public class TestDeps extends Vpn.Dependencies { TestDeps() {}