You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug does not occur in the latest version of Anki Desktop
What are the steps to reproduce this bug?
Run tests
DeckPickerTest > [0] > ContextMenu unburied cards when selecting UNBURY[0] FAILED
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at org.junit.Assert.assertEquals(Assert.java:146)
at com.ichi2.anki.DeckPickerTest$ContextMenu unburied cards when selecting UNBURY$1.invokeSuspend(DeckPickerTest.kt:509)
at com.ichi2.anki.DeckPickerTest$ContextMenu unburied cards when selecting UNBURY$1.invoke(DeckPickerTest.kt)
at com.ichi2.anki.DeckPickerTest$ContextMenu unburied cards when selecting UNBURY$1.invoke(DeckPickerTest.kt)
at com.ichi2.testutils.TestClass$runTest$1$1.invokeSuspend(TestClass.kt:318)
at com.ichi2.testutils.TestClass$runTest$1$1.invoke(TestClass.kt)
at com.ichi2.testutils.TestClass$runTest$1$1.invoke(TestClass.kt)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:318)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:327)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at com.ichi2.testutils.TestClass.runTest(TestClass.kt:316)
at com.ichi2.testutils.TestClass.runTest$default(TestClass.kt:305)
at com.ichi2.anki.DeckPickerTest.ContextMenu unburied cards when selecting UNBURY(DeckPickerTest.kt:497)
Checked for duplicates?
Does it also happen in the desktop version?
What are the steps to reproduce this bug?
Run tests
Expected behaviour
Test passes
Debug info
Anki-Android/AnkiDroid/src/test/java/com/ichi2/anki/DeckPickerTest.kt
Lines 495 to 514 in 5f1bd43
(Optional) Anything else you want to share?
No response
Research
The text was updated successfully, but these errors were encountered: