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

Commit 355df9fe authored by Yuichiro Hanada's avatar Yuichiro Hanada
Browse files

Remove...

Remove DesktopMixedTranstionHandlerTest#startMinimizedModeTransition_callsFreeformTaskTransitionHandler

The other test case covers the same scenario.

Bug: 390161102
Flag: EXEMPT test only change
Test: WMShellUnitTest
Change-Id: I76ba3028c88fb2969b140401ce05596652db6123
parent 9a110e09
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -126,26 +126,6 @@ class DesktopMixedTransitionHandlerTest : ShellTestCase() {
        verify(freeformTaskTransitionHandler).startWindowingModeTransition(windowingMode, wct)
    }

    @Test
    fun startMinimizedModeTransition_callsFreeformTaskTransitionHandler() {
        val wct = WindowContainerTransaction()
        val taskId = 1
        val isLastTask = false
        whenever(
                freeformTaskTransitionHandler.startMinimizedModeTransition(
                    any(),
                    anyInt(),
                    anyBoolean(),
                )
            )
            .thenReturn(mock())

        mixedHandler.startMinimizedModeTransition(wct, taskId, isLastTask)

        verify(freeformTaskTransitionHandler)
            .startMinimizedModeTransition(eq(wct), eq(taskId), eq(isLastTask))
    }

    @Test
    @DisableFlags(Flags.FLAG_ENABLE_DESKTOP_WINDOWING_EXIT_TRANSITIONS_BUGFIX)
    fun startRemoveTransition_callsFreeformTaskTransitionHandler() {