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

Commit 64996c3d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add CutoutSpecificationTest in Presubmit Test scope"

parents 20afdde0 f351272c
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -21,10 +21,27 @@ import static com.google.common.truth.Truth.assertThat;
import static org.testng.Assert.assertThrows;

import android.graphics.Rect;
import android.platform.test.annotations.Presubmit;

import androidx.test.filters.SmallTest;
import androidx.test.runner.AndroidJUnit4;

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

/**
 * Tests for {@link CutoutSpecification} used by {@link DisplayCutout}.
 *
 * <p>Build/Install/Run:
 *  atest FrameworksCoreTests:CutoutSpecificationTest
 *
 * <p>This test class is a part of Window Manager Service tests and specified in
 * {@link com.android.server.wm.test.filters.FrameworksTestsFilter}.
 */
@RunWith(AndroidJUnit4.class)
@SmallTest
@Presubmit
public class CutoutSpecificationTest {
    private static final String WITHOUT_BIND_CUTOUT_SPECIFICATION = "M 0,0\n"
            + "h 48\n"
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ public final class FrameworksTestsFilter extends SelectTest {
            "android.app.activity.ActivityThreadClientTest",
            // Test specifications for FrameworksCoreTests.
            "android.app.servertransaction.", // all tests under the package.
            "android.view.CutoutSpecificationTest",
            "android.view.DisplayCutoutTest",
            "android.view.InsetsAnimationControlImplTest",
            "android.view.InsetsControllerTest",