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

Commit 5337a1ba authored by Fengjiang Li's avatar Fengjiang Li Committed by Android (Google) Code Review
Browse files

Merge "[Test Week] Replace verifyZeroInteractions with...

Merge "[Test Week] Replace verifyZeroInteractions with verifyNoMoreInteractions in RunnableListTest" into main
parents 6d5ab854 2eeb08f2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import org.mockito.Mock
import org.mockito.MockitoAnnotations
import org.mockito.kotlin.reset
import org.mockito.kotlin.verify
import org.mockito.kotlin.verifyZeroInteractions
import org.mockito.kotlin.verifyNoMoreInteractions

@SmallTest
class RunnableListTest {
@@ -73,7 +73,7 @@ class RunnableListTest {

        underTest.executeAllAndDestroy()

        verifyZeroInteractions(runnable1)
        verifyNoMoreInteractions(runnable1)
    }

    @Test
@@ -107,7 +107,7 @@ class RunnableListTest {
        underTest.remove(runnable1)
        underTest.executeAllAndClear()

        verifyZeroInteractions(runnable1)
        verifyNoMoreInteractions(runnable1)
        verify(runnable2).run()
    }
}