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

Commit 3abddeca authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "Fix errorprone build"

parents 7d4e9b81 46a435a3
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ import java.util.Set;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
@@ -144,8 +145,8 @@ public class OffloadControllerTest {
        return offload;
    }

    // TODO: Restore when FakeSettingsProvider.clearSettingsProvider() is available.
    // @Test
    @Test
    @Ignore("Restore when FakeSettingsProvider.clearSettingsProvider() is available.")
    public void testNoSettingsValueDefaultDisabledDoesNotStart() throws Exception {
        setupFunctioningHardwareInterface();
        when(mHardware.getDefaultTetherOffloadDisabled()).thenReturn(1);
@@ -165,8 +166,8 @@ public class OffloadControllerTest {
        inOrder.verifyNoMoreInteractions();
    }

    // TODO: Restore when FakeSettingsProvider.clearSettingsProvider() is available.
    // @Test
    @Test
    @Ignore("Restore when FakeSettingsProvider.clearSettingsProvider() is available.")
    public void testNoSettingsValueDefaultEnabledDoesStart() throws Exception {
        setupFunctioningHardwareInterface();
        when(mHardware.getDefaultTetherOffloadDisabled()).thenReturn(0);