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

Commit 6b3a371a authored by Andrii Kulian's avatar Andrii Kulian
Browse files

Remove flaky AppWindowToken tests from presubmit

Disable presubmit for two tests until further investigation.

Bug: 68267650
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests
Change-Id: Ie402e853c2542f36c9b11c63dd69524cfc3b3a36
parent 2f3072bc
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -46,11 +46,13 @@ import static org.junit.Assert.assertTrue;
 *  bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests
 */
@SmallTest
@Presubmit
// TODO: b/68267650
// @Presubmit
@RunWith(AndroidJUnit4.class)
public class AppWindowTokenTests extends WindowTestsBase {

    @Test
    @Presubmit
    public void testAddWindow_Order() throws Exception {
        final WindowTestUtils.TestAppWindowToken token =
                new WindowTestUtils.TestAppWindowToken(mDisplayContent);
@@ -79,6 +81,7 @@ public class AppWindowTokenTests extends WindowTestsBase {
    }

    @Test
    @Presubmit
    public void testFindMainWindow() throws Exception {
        final WindowTestUtils.TestAppWindowToken token =
                new WindowTestUtils.TestAppWindowToken(mDisplayContent);
@@ -97,6 +100,7 @@ public class AppWindowTokenTests extends WindowTestsBase {
    }

    @Test
    @Presubmit
    public void testGetTopFullscreenWindow() throws Exception {
        final WindowTestUtils.TestAppWindowToken token =
                new WindowTestUtils.TestAppWindowToken(mDisplayContent);
@@ -187,6 +191,7 @@ public class AppWindowTokenTests extends WindowTestsBase {
    }

    @Test
    @Presubmit
    public void testGetOrientation() throws Exception {
        final WindowTestUtils.TestAppWindowToken token =
                new WindowTestUtils.TestAppWindowToken(mDisplayContent);
@@ -211,6 +216,7 @@ public class AppWindowTokenTests extends WindowTestsBase {
    }

    @Test
    @Presubmit
    public void testKeyguardFlagsDuringRelaunch() throws Exception {
        final WindowTestUtils.TestAppWindowToken token =
                new WindowTestUtils.TestAppWindowToken(mDisplayContent);