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

Commit 9de2b9d7 authored by David Saff's avatar David Saff
Browse files

Skip ScrollCaptureControllerTest on robolectric

Bug: 373930957
Test: run locally
Flag: TEST_ONLY
Change-Id: I0ad1e4b565ddaae5566602ae0d60159511dc228c
parent 42cdae92
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ import com.android.internal.logging.testing.UiEventLoggerFake;
import com.android.systemui.SysuiTestCase;
import com.android.systemui.screenshot.scroll.ScrollCaptureClient.Session;

import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

@@ -49,6 +51,12 @@ import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
public class ScrollCaptureControllerTest extends SysuiTestCase {

    @Before
    public void assumeOnDevice() {
        // TODO(b/373930957) this class hangs under robolectric
        Assume.assumeFalse(isRobolectricTest());
    }

    private static final ScrollCaptureResponse EMPTY_RESPONSE =
            new ScrollCaptureResponse.Builder().build();