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

Commit 599e4263 authored by David Saff's avatar David Saff Committed by Android (Google) Code Review
Browse files

Merge "Skip ScrollCaptureControllerTest on robolectric" into main

parents 12910ec3 9de2b9d7
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();