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

Commit e9ff7d3a authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Platform AnimatorTestRule uses lockAnimationClock to ensure determinism." into main

parents a3ab560f 78e92413
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ class LightRevealScrimRepositoryTest : SysuiTestCase() {
    private lateinit var powerInteractor: PowerInteractor
    private lateinit var underTest: LightRevealScrimRepositoryImpl

    @get:Rule val animatorTestRule = AnimatorTestRule()
    @get:Rule val animatorTestRule = AnimatorTestRule(this)

    @Before
    fun setUp() {
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ import org.junit.runner.RunWith
@RunWithLooper
class AnimatorTestRuleIsolationTest : SysuiTestCase() {

    @get:Rule val animatorTestRule = AnimatorTestRule()
    @get:Rule val animatorTestRule = AnimatorTestRule(this)

    @Test
    fun testA() {
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ import org.junit.runner.RunWith
@RunWithLooper
class AnimatorTestRulePrecisionTest : SysuiTestCase() {

    @get:Rule val animatorTestRule = AnimatorTestRule()
    @get:Rule val animatorTestRule = AnimatorTestRule(this)

    var value1: Float = -1f
    var value2: Float = -1f
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ import java.lang.reflect.Field;
public class KeyguardStatusViewControllerTest extends KeyguardStatusViewControllerBaseTest {

    @Rule
    public final AnimatorTestRule mAnimatorTestRule = new AnimatorTestRule();
    public final AnimatorTestRule mAnimatorTestRule = new AnimatorTestRule(this);

    @Test
    public void dozeTimeTick_updatesSlice() {
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ import org.junit.runner.RunWith;
public class ExpandHelperTest extends SysuiTestCase {

    @Rule
    public final AnimatorTestRule mAnimatorTestRule = new AnimatorTestRule();
    public final AnimatorTestRule mAnimatorTestRule = new AnimatorTestRule(this);

    private final FakeFeatureFlags mFeatureFlags = new FakeFeatureFlags();
    private ExpandableNotificationRow mRow;
Loading