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

Commit 59ad7131 authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Moved some stable WmTest post-submit test to pre-submit

Bug: 123654474
Fixes: 117117823
Test: self
Change-Id: I0724d344e68611b9e90a70b23a58eca024ee0e08
parent 63be76e1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import static org.junit.Assert.assertTrue;

import android.graphics.Rect;
import android.os.IBinder;
import android.platform.test.annotations.Presubmit;
import android.view.Display;
import android.view.IRemoteAnimationFinishedCallback;
import android.view.IRemoteAnimationRunner;
@@ -48,6 +49,7 @@ import org.junit.Test;
 *  atest WmTests:AppChangeTransitionTests
 */
@SmallTest
@Presubmit
public class AppChangeTransitionTests extends WindowTestsBase {

    private TaskStack mStack;
+0 −4
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@ import android.platform.test.annotations.Presubmit;
import android.view.Surface;
import android.view.WindowManager;

import androidx.test.filters.FlakyTest;
import androidx.test.filters.SmallTest;

import org.junit.Before;
@@ -142,7 +141,6 @@ public class AppWindowTokenTests extends WindowTestsBase {
        mToken.removeImmediately();
    }

    @FlakyTest(detail = "Promote to presubmit when shown to be stable.")
    @Test
    public void testLandscapeSeascapeRotationByApp() {
        // Some plumbing to get the service ready for rotation updates.
@@ -303,7 +301,6 @@ public class AppWindowTokenTests extends WindowTestsBase {
    }

    @Test
    @FlakyTest(detail = "Promote once confirmed non-flaky")
    public void testStuckExitingWindow() {
        final WindowState closingWindow = createWindow(null, FIRST_APPLICATION_WINDOW,
                "closingWindow");
@@ -346,7 +343,6 @@ public class AppWindowTokenTests extends WindowTestsBase {
        assertNoStartingWindow(mToken);
    }

    @FlakyTest(detail = "Promote to presubmit when shown to be stable.")
    @Test
    public void testAddRemoveRace() {
        // There was once a race condition between adding and removing starting windows
+2 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
import android.os.Looper;
import android.platform.test.annotations.Presubmit;
import android.util.Log;
import android.view.IWindowManager;

@@ -71,6 +72,7 @@ import java.util.concurrent.TimeUnit;
 *  atest WmTests:AssistDataRequesterTest
 */
@MediumTest
@Presubmit
public class AssistDataRequesterTest extends ActivityTestsBase {

    private static final String TAG = AssistDataRequesterTest.class.getSimpleName();
+2 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import android.os.Binder;
import android.os.Handler;
import android.os.IBinder;
import android.os.UserHandle;
import android.platform.test.annotations.Presubmit;
import android.util.SparseBooleanArray;

import com.android.server.wm.LockTaskController.LockTaskToken;
@@ -43,6 +44,7 @@ import org.junit.Test;

import java.lang.reflect.Constructor;

@Presubmit
public class KeyguardDisableHandlerTest {

    private KeyguardDisableHandler mKeyguardDisable;
+0 −2
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ import android.util.SparseBooleanArray;
import android.view.IRecentsAnimationRunner;
import android.view.SurfaceControl;

import androidx.test.filters.FlakyTest;
import androidx.test.filters.SmallTest;

import com.android.server.wm.SurfaceAnimator.OnAnimationFinishedCallback;
@@ -112,7 +111,6 @@ public class RecentsAnimationControllerTest extends WindowTestsBase {
        }
    }

    @FlakyTest(bugId = 117117823)
    @Test
    public void testIncludedApps_expectTargetAndVisible() {
        mWm.setRecentsAnimationController(mController);
Loading