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

Commit 758bf690 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Added missing @Test"

parents 306bcc3d 51a63642
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -465,6 +465,7 @@ public class NetworkPolicyManagerServiceTest {
        }
    }

    @Test
    @NetPolicyXml("uidA-blacklisted-restrict-background-off.xml")
    public void testBlacklistedAppIsNotNotifiedWhenRestrictBackgroundIsOn() throws Exception {
        // Sanity checks.
@@ -476,6 +477,7 @@ public class NetworkPolicyManagerServiceTest {
        futureIntent.assertNotReceived();
    }

    @Test
    @NetPolicyXml("uidA-whitelisted-restrict-background-off.xml")
    public void testWhitelistedAppIsNotNotifiedWhenRestrictBackgroundIsOn() throws Exception {
        // Sanity checks.