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

Commit 6192da89 authored by Chiachang Wang's avatar Chiachang Wang Committed by Automerger Merge Worker
Browse files

Merge "Remove unused assertTransportInfoMatches() method" into main am: cab0c542 am: 66d20b0f

parents 5f501e7c 66d20b0f
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() {}