|
|
@ -62,6 +62,7 @@ class FenixSnackbarDelegateTest {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
|
|
|
|
@Ignore("Intermittent failing test on JDK11: https://github.com/mockk/mockk/issues/598")
|
|
|
|
fun `show with listener but no action`() {
|
|
|
|
fun `show with listener but no action`() {
|
|
|
|
delegate.show(
|
|
|
|
delegate.show(
|
|
|
|
snackBarParentView = mockk(),
|
|
|
|
snackBarParentView = mockk(),
|
|
|
@ -91,8 +92,8 @@ class FenixSnackbarDelegateTest {
|
|
|
|
verify { snackbar.show() }
|
|
|
|
verify { snackbar.show() }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Ignore("Intermittent failing test.")
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
|
|
|
|
@Ignore("Intermittent failing test on JDK11: https://github.com/mockk/mockk/issues/598")
|
|
|
|
fun `show with listener and action`() {
|
|
|
|
fun `show with listener and action`() {
|
|
|
|
val listener = mockk<(View) -> Unit>(relaxed = true)
|
|
|
|
val listener = mockk<(View) -> Unit>(relaxed = true)
|
|
|
|
delegate.show(
|
|
|
|
delegate.show(
|
|
|
|