chore(ci): Enable KVM #400
83 tests run, 79 passed, 0 skipped, 4 failed.
Annotations
Check failure on line 113 in AudioPlayerTest$State
github-actions / JUnit Test Report
AudioPlayerTest$State.givenPlaySource_thenShouldBePlayingAndFinallyEnded
java.lang.IndexOutOfBoundsException: toIndex = 4
at java.util.ArrayList.subListRangeCheck(ArrayList.java:1016)
Raw output
java.lang.IndexOutOfBoundsException: toIndex = 4
at java.util.ArrayList.subListRangeCheck(ArrayList.java:1016)
at java.util.ArrayList.subList(ArrayList.java:1008)
at com.doublesymmetry.kotlinaudio.AudioPlayerTest$State$givenPlaySource_thenShouldBePlayingAndFinallyEnded$1$1.invoke(AudioPlayerTest.kt:114)
at com.doublesymmetry.kotlinaudio.AudioPlayerTest$State$givenPlaySource_thenShouldBePlayingAndFinallyEnded$1$1.invoke(AudioPlayerTest.kt:113)
at com.doublesymmetry.kotlinaudio.utils.AssertionsExtKt$eventually$2$1$1.invokeSuspend(AssertionsExt.kt:22)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Check failure on line 359 in QueuedAudioPlayerTest$OnPrevious
github-actions / JUnit Test Report
QueuedAudioPlayerTest$OnPrevious.givenPlayerIsPlayingAndCallingPrevious_thenShouldGoToPreviousAndPlay
org.opentest4j.AssertionFailedError: expected: <ENDED> but was: <PLAYING>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
Raw output
org.opentest4j.AssertionFailedError: expected: <ENDED> but was: <PLAYING>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
at com.doublesymmetry.kotlinaudio.QueuedAudioPlayerTest$OnPrevious$givenPlayerIsPlayingAndCallingPrevious_thenShouldGoToPreviousAndPlay$1$1.invoke(QueuedAudioPlayerTest.kt:363)
at com.doublesymmetry.kotlinaudio.QueuedAudioPlayerTest$OnPrevious$givenPlayerIsPlayingAndCallingPrevious_thenShouldGoToPreviousAndPlay$1$1.invoke(QueuedAudioPlayerTest.kt:359)
at com.doublesymmetry.kotlinaudio.utils.AssertionsExtKt$eventually$2$1$1.invokeSuspend(AssertionsExt.kt:22)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Check failure on line 460 in QueuedAudioPlayerTest$RepeatMode$Off
github-actions / JUnit Test Report
QueuedAudioPlayerTest$RepeatMode$Off.givenAddedOneItemAndAllowingPlaybackToEnd_thenShouldStopPlayback
org.opentest4j.AssertionFailedError: expected: <ENDED> but was: <PLAYING>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
Raw output
org.opentest4j.AssertionFailedError: expected: <ENDED> but was: <PLAYING>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
at com.doublesymmetry.kotlinaudio.QueuedAudioPlayerTest$RepeatMode$Off$givenAddedOneItemAndAllowingPlaybackToEnd_thenShouldStopPlayback$1$1.invoke(QueuedAudioPlayerTest.kt:463)
at com.doublesymmetry.kotlinaudio.QueuedAudioPlayerTest$RepeatMode$Off$givenAddedOneItemAndAllowingPlaybackToEnd_thenShouldStopPlayback$1$1.invoke(QueuedAudioPlayerTest.kt:460)
at com.doublesymmetry.kotlinaudio.utils.AssertionsExtKt$eventually$2$1$1.invokeSuspend(AssertionsExt.kt:22)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Check failure on line 414 in QueuedAudioPlayerTest$RepeatMode$Off
github-actions / JUnit Test Report
QueuedAudioPlayerTest$RepeatMode$Off.givenAddedTwoItemsAndAllowingPlaybackToEndTwice_whenRepeatModeOff_thenShouldStopPlayback
org.opentest4j.AssertionFailedError: expected: <ENDED> but was: <PLAYING>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
Raw output
org.opentest4j.AssertionFailedError: expected: <ENDED> but was: <PLAYING>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
at com.doublesymmetry.kotlinaudio.QueuedAudioPlayerTest$RepeatMode$Off$givenAddedTwoItemsAndAllowingPlaybackToEndTwice_whenRepeatModeOff_thenShouldStopPlayback$1$1.invoke(QueuedAudioPlayerTest.kt:417)
at com.doublesymmetry.kotlinaudio.QueuedAudioPlayerTest$RepeatMode$Off$givenAddedTwoItemsAndAllowingPlaybackToEndTwice_whenRepeatModeOff_thenShouldStopPlayback$1$1.invoke(QueuedAudioPlayerTest.kt:414)
at com.doublesymmetry.kotlinaudio.utils.AssertionsExtKt$eventually$2$1$1.invokeSuspend(AssertionsExt.kt:22)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)