Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f622ae9 authored by Chiachang Wang's avatar Chiachang Wang
Browse files

Remove unused assertTransportInfoMatches() method

Test: atest FrameworksVpnTests
Change-Id: I677c046fba993c97296dd2876d928d7d5d2b213c
parent 1b7a6f59
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3158,13 +3158,6 @@ public class VpnTest extends VpnTestBase {
        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() {}