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

Commit 50019da3 authored by Mike Schneider's avatar Mike Schneider Committed by Android (Google) Code Review
Browse files

Merge "Reset display settings applied via [DeviceEmulationRule]" into main

parents c7c82ca0 e59da0bd
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -31,16 +31,23 @@ import com.android.compose.animation.scene.TransitionBuilder
import com.android.compose.animation.scene.TransitionRecordingSpec
import com.android.compose.animation.scene.featureOfElement
import com.android.compose.animation.scene.recordTransition
import org.junit.ClassRule
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import platform.test.motion.compose.ComposeFeatureCaptures
import platform.test.motion.compose.createComposeMotionTestRule
import platform.test.motion.testing.createGoldenPathManager
import platform.test.screenshot.ResetDeviceEmulationRule

@RunWith(AndroidJUnit4::class)
@MotionTest
class AnchoredSizeTest {

    companion object {
        @JvmField @ClassRule val cleanupRule: ResetDeviceEmulationRule = ResetDeviceEmulationRule()
    }

    private val goldenPaths =
        createGoldenPathManager("frameworks/base/packages/SystemUI/compose/scene/tests/goldens")