Move post-submit tests of WmTests to pre-submit

Move below post-submit tests to pre-submit since they are all passed
consistently.

- ActivityTaskManagerServiceTests
- WindowManagerSettingsTests
- RotationAnimationUtilsTest

Bug: 151621673
Test: Manually run these tests
Change-Id: I11af2fe24dcb36d76e2f9b2b7783a1b562dba937
This commit is contained in:
Chilun
2020-04-27 16:22:49 +08:00
committed by Chilun Huang
parent 2d07babc27
commit 1754620afd
3 changed files with 6 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ import android.content.res.Configuration;
import android.graphics.Rect;
import android.os.IBinder;
import android.os.RemoteException;
import android.platform.test.annotations.Presubmit;
import android.view.IDisplayWindowListener;
import androidx.test.filters.MediumTest;
@@ -57,6 +58,7 @@ import java.util.ArrayList;
* Build/Install/Run:
* atest WmTests:ActivityTaskManagerServiceTests
*/
@Presubmit
@MediumTest
@RunWith(WindowTestRunner.class)
public class ActivityTaskManagerServiceTests extends ActivityTestsBase {

View File

@@ -30,6 +30,7 @@ import static org.mockito.Mockito.verify;
import android.content.ContentResolver;
import android.net.Uri;
import android.platform.test.annotations.Presubmit;
import android.provider.Settings;
import androidx.test.filters.SmallTest;
@@ -43,6 +44,7 @@ import org.junit.runner.RunWith;
* Build/Install/Run:
* atest WmTests:WindowManagerSettingsTests
*/
@Presubmit
@SmallTest
@RunWith(WindowTestRunner.class)
public class WindowManagerSettingsTests extends WindowTestsBase {

View File

@@ -27,10 +27,12 @@ import android.graphics.GraphicBuffer;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.view.Surface;
import android.platform.test.annotations.Presubmit;
import org.junit.Before;
import org.junit.Test;
@Presubmit
public class RotationAnimationUtilsTest {
private static final int BITMAP_HEIGHT = 100;