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

Commit cab0c542 authored by Chiachang Wang's avatar Chiachang Wang Committed by Gerrit Code Review
Browse files

Merge "Remove unused assertTransportInfoMatches() method" into main

parents 1b7a6f59 8f622ae9
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() {}