Merge "Fix broken SystemUITests"

This commit is contained in:
TreeHugger Robot
2020-08-17 02:44:47 +00:00
committed by Android (Google) Code Review

View File

@@ -38,6 +38,7 @@ import androidx.test.filters.MediumTest;
import com.android.internal.graphics.SfVsyncFrameCallbackProvider;
import com.android.systemui.SysuiTestCase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -94,6 +95,11 @@ public class WindowMagnificationAnimationControllerTest extends SysuiTestCase {
mContext, mController, newValueAnimator());
}
@After
public void tearDown() throws Exception {
mInstrumentation.runOnMainSync(() -> mController.deleteWindowMagnification());
}
@Test
public void enableWindowMagnification_disabled_expectedStartAndEndValues() {
enableWindowMagnificationAndWaitAnimating(mWaitingAnimationPeriod);