Skip to content

chore: return supertype in `actual` class

Sign in for the full log view
GitHub Actions / Test Results failed Jul 17, 2024 in 0s

1 894 fail, 18 skipped, 1 064 pass in 1h 1m 34s

2 976 tests  +2 976   1 064 ✔️ +1 064   1h 1m 34s ⏱️ + 1h 1m 34s
       7 suites +       7        18 💤 +     18 
       7 files   +       7   1 894 +1 894 

Results for commit b839499. ± Comparison against earlier commit 5c4f9e7.

Annotations

Check warning on line 0 in com.wire.kalium.logic.cache.SelfConversationIdProviderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenMLSClientHasBeenRegistered_thenMLSAndProteusSelfConversationAreReturned (com.wire.kalium.logic.cache.SelfConversationIdProviderTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 1s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ClientRepository was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ClientRepository>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$Arrangement.<init>(SelfConversationIdProviderTest.kt:98)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenMLSClientHasBeenRegistered_thenMLSAndProteusSelfConversationAreReturned$1.invokeSuspend(SelfConversationIdProviderTest.kt:40)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenMLSClientHasBeenRegistered_thenMLSAndProteusSelfConversationAreReturned$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenMLSClientHasBeenRegistered_thenMLSAndProteusSelfConversationAreReturned$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest.givenMLSClientHasBeenRegistered_thenMLSAndProteusSelfConversationAreReturned(SelfConversationIdProviderTest.kt:39)

Check warning on line 0 in com.wire.kalium.logic.cache.SelfConversationIdProviderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenMLSClientHasNotBeenRegistered_thenProteusSelfConversationIsReturned (com.wire.kalium.logic.cache.SelfConversationIdProviderTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ClientRepository was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ClientRepository>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$Arrangement.<init>(SelfConversationIdProviderTest.kt:98)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenMLSClientHasNotBeenRegistered_thenProteusSelfConversationIsReturned$1.invokeSuspend(SelfConversationIdProviderTest.kt:62)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenMLSClientHasNotBeenRegistered_thenProteusSelfConversationIsReturned$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenMLSClientHasNotBeenRegistered_thenProteusSelfConversationIsReturned$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest.givenMLSClientHasNotBeenRegistered_thenProteusSelfConversationIsReturned(SelfConversationIdProviderTest.kt:61)

Check warning on line 0 in com.wire.kalium.logic.cache.SelfConversationIdProviderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenFailure_thenErrorIsPropagated (com.wire.kalium.logic.cache.SelfConversationIdProviderTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ClientRepository was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ClientRepository>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$Arrangement.<init>(SelfConversationIdProviderTest.kt:98)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenFailure_thenErrorIsPropagated$1.invokeSuspend(SelfConversationIdProviderTest.kt:80)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenFailure_thenErrorIsPropagated$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest$givenFailure_thenErrorIsPropagated$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.cache.SelfConversationIdProviderTest.givenFailure_thenErrorIsPropagated(SelfConversationIdProviderTest.kt:78)

Check warning on line 0 in com.wire.kalium.logic.client.E2EIClientProviderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenSelfUserNotFound_whenGettingE2EIClient_ReturnsError (com.wire.kalium.logic.client.E2EIClientProviderTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type MLSClientProvider was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<MLSClientProvider>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.util.arrangement.provider.E2EIClientProviderArrangementImpl.<init>(E2EIClientProviderArrangement.kt:72)
at com.wire.kalium.logic.client.E2EIClientProviderTest$Arrangement.<init>(E2EIClientProviderTest.kt:158)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenSelfUserNotFound_whenGettingE2EIClient_ReturnsError$1.invokeSuspend(E2EIClientProviderTest.kt:100)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenSelfUserNotFound_whenGettingE2EIClient_ReturnsError$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenSelfUserNotFound_whenGettingE2EIClient_ReturnsError$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.client.E2EIClientProviderTest.givenSelfUserNotFound_whenGettingE2EIClient_ReturnsError(E2EIClientProviderTest.kt:99)

Check warning on line 0 in com.wire.kalium.logic.client.E2EIClientProviderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenMLSClientWithE2EI_whenGettingE2EIClient_callsNewActivationEnrollment (com.wire.kalium.logic.client.E2EIClientProviderTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type MLSClientProvider was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<MLSClientProvider>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.util.arrangement.provider.E2EIClientProviderArrangementImpl.<init>(E2EIClientProviderArrangement.kt:72)
at com.wire.kalium.logic.client.E2EIClientProviderTest$Arrangement.<init>(E2EIClientProviderTest.kt:158)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenMLSClientWithE2EI_whenGettingE2EIClient_callsNewActivationEnrollment$1.invokeSuspend(E2EIClientProviderTest.kt:70)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenMLSClientWithE2EI_whenGettingE2EIClient_callsNewActivationEnrollment$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenMLSClientWithE2EI_whenGettingE2EIClient_callsNewActivationEnrollment$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.client.E2EIClientProviderTest.givenMLSClientWithE2EI_whenGettingE2EIClient_callsNewActivationEnrollment(E2EIClientProviderTest.kt:69)

Check warning on line 0 in com.wire.kalium.logic.client.E2EIClientProviderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenIsNewClientTrue_whenGettingE2EIClient_newAcmeEnrollmentCalled (com.wire.kalium.logic.client.E2EIClientProviderTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type MLSClientProvider was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<MLSClientProvider>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.util.arrangement.provider.E2EIClientProviderArrangementImpl.<init>(E2EIClientProviderArrangement.kt:72)
at com.wire.kalium.logic.client.E2EIClientProviderTest$Arrangement.<init>(E2EIClientProviderTest.kt:158)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenIsNewClientTrue_whenGettingE2EIClient_newAcmeEnrollmentCalled$1.invokeSuspend(E2EIClientProviderTest.kt:137)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenIsNewClientTrue_whenGettingE2EIClient_newAcmeEnrollmentCalled$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenIsNewClientTrue_whenGettingE2EIClient_newAcmeEnrollmentCalled$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.client.E2EIClientProviderTest.givenIsNewClientTrue_whenGettingE2EIClient_newAcmeEnrollmentCalled(E2EIClientProviderTest.kt:129)

Check warning on line 0 in com.wire.kalium.logic.client.E2EIClientProviderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenMLSClientWithoutE2EI_whenGettingE2EIClient_callsNewRotateEnrollment (com.wire.kalium.logic.client.E2EIClientProviderTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type MLSClientProvider was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<MLSClientProvider>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.util.arrangement.provider.E2EIClientProviderArrangementImpl.<init>(E2EIClientProviderArrangement.kt:72)
at com.wire.kalium.logic.client.E2EIClientProviderTest$Arrangement.<init>(E2EIClientProviderTest.kt:158)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenMLSClientWithoutE2EI_whenGettingE2EIClient_callsNewRotateEnrollment$1.invokeSuspend(E2EIClientProviderTest.kt:44)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenMLSClientWithoutE2EI_whenGettingE2EIClient_callsNewRotateEnrollment$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.client.E2EIClientProviderTest$givenMLSClientWithoutE2EI_whenGettingE2EIClient_callsNewRotateEnrollment$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.client.E2EIClientProviderTest.givenMLSClientWithoutE2EI_whenGettingE2EIClient_callsNewRotateEnrollment(E2EIClientProviderTest.kt:43)

Check warning on line 0 in com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenUrl_whenFetchingServerConfigSuccess_thenTheSuccessIsReturned (com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$Arrangement.<init>(CustomServerConfigRepositoryTest.kt:164)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenUrl_whenFetchingServerConfigSuccess_thenTheSuccessIsReturned$1.invokeSuspend(CustomServerConfigRepositoryTest.kt:52)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenUrl_whenFetchingServerConfigSuccess_thenTheSuccessIsReturned$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenUrl_whenFetchingServerConfigSuccess_thenTheSuccessIsReturned$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest.givenUrl_whenFetchingServerConfigSuccess_thenTheSuccessIsReturned(CustomServerConfigRepositoryTest.kt:51)

Check warning on line 0 in com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned (com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$Arrangement.<init>(CustomServerConfigRepositoryTest.kt:164)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned$1.invokeSuspend(CustomServerConfigRepositoryTest.kt:94)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest.givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned(CustomServerConfigRepositoryTest.kt:92)

Check warning on line 0 in com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned (com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$Arrangement.<init>(CustomServerConfigRepositoryTest.kt:164)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned$1.invokeSuspend(CustomServerConfigRepositoryTest.kt:66)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest.givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned(CustomServerConfigRepositoryTest.kt:65)

Check warning on line 0 in com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenStoredConfigLinksAndVersionInfoData_whenAddingNewOne_thenCommonApiShouldBeCalculatedAndConfigShouldBeStored (com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$Arrangement.<init>(CustomServerConfigRepositoryTest.kt:164)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfigLinksAndVersionInfoData_whenAddingNewOne_thenCommonApiShouldBeCalculatedAndConfigShouldBeStored$1.invokeSuspend(CustomServerConfigRepositoryTest.kt:129)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfigLinksAndVersionInfoData_whenAddingNewOne_thenCommonApiShouldBeCalculatedAndConfigShouldBeStored$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest$givenStoredConfigLinksAndVersionInfoData_whenAddingNewOne_thenCommonApiShouldBeCalculatedAndConfigShouldBeStored$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.CustomServerConfigRepositoryTest.givenStoredConfigLinksAndVersionInfoData_whenAddingNewOne_thenCommonApiShouldBeCalculatedAndConfigShouldBeStored(CustomServerConfigRepositoryTest.kt:120)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigMapperTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenANetworkConfigEntity_whenMappingFromNetworkConfig_thenValuesAreMappedCorrectly (com.wire.kalium.logic.configuration.ServerConfigMapperTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ApiVersionMapper was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ApiVersionMapper>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigMapperTest.<init>(ServerConfigMapperTest.kt:46)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigMapperTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenACommonApiVersion_whenMapping_thenValuesAreMappedCorrectly (com.wire.kalium.logic.configuration.ServerConfigMapperTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ApiVersionMapper was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ApiVersionMapper>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigMapperTest.<init>(ServerConfigMapperTest.kt:46)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigMapperTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenAServerConfig_whenMappingToBackendConfig_thenValuesAreMappedCorrectly (com.wire.kalium.logic.configuration.ServerConfigMapperTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ApiVersionMapper was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ApiVersionMapper>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigMapperTest.<init>(ServerConfigMapperTest.kt:46)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigMapperTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenAServerConfig_whenMappingToNetworkConfig_thenValuesAreMappedCorrectly (com.wire.kalium.logic.configuration.ServerConfigMapperTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ApiVersionMapper was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ApiVersionMapper>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigMapperTest.<init>(ServerConfigMapperTest.kt:46)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenInValidCompatibleApiVersion_whenStoringConfigLocally_thenErrorIsPropagated (com.wire.kalium.logic.configuration.ServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$Arrangement.<init>(ServerConfigRepositoryTest.kt:178)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenInValidCompatibleApiVersion_whenStoringConfigLocally_thenErrorIsPropagated$1.invokeSuspend(ServerConfigRepositoryTest.kt:91)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenInValidCompatibleApiVersion_whenStoringConfigLocally_thenErrorIsPropagated$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenInValidCompatibleApiVersion_whenStoringConfigLocally_thenErrorIsPropagated$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest.givenInValidCompatibleApiVersion_whenStoringConfigLocally_thenErrorIsPropagated(ServerConfigRepositoryTest.kt:86)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned (com.wire.kalium.logic.configuration.ServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$Arrangement.<init>(ServerConfigRepositoryTest.kt:178)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned$1.invokeSuspend(ServerConfigRepositoryTest.kt:147)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest.givenStoredConfig_whenAddingNewOne_thenNewOneShouldBeInsertedAndReturned(ServerConfigRepositoryTest.kt:145)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned (com.wire.kalium.logic.configuration.ServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$Arrangement.<init>(ServerConfigRepositoryTest.kt:178)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned$1.invokeSuspend(ServerConfigRepositoryTest.kt:119)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest.givenStoredConfig_whenAddingTheSameOneWithNewApiVersionParams_thenStoredOneShouldBeUpdatedAndReturned(ServerConfigRepositoryTest.kt:118)

Check warning on line 0 in com.wire.kalium.logic.configuration.ServerConfigRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenValidCompatibleApiVersion_whenStoringConfigLocally_thenConfigIsStored (com.wire.kalium.logic.configuration.ServerConfigRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type ServerConfigApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<ServerConfigApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$Arrangement.<init>(ServerConfigRepositoryTest.kt:178)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenValidCompatibleApiVersion_whenStoringConfigLocally_thenConfigIsStored$1.invokeSuspend(ServerConfigRepositoryTest.kt:62)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenValidCompatibleApiVersion_whenStoringConfigLocally_thenConfigIsStored$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest$givenValidCompatibleApiVersion_whenStoringConfigLocally_thenConfigIsStored$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.configuration.ServerConfigRepositoryTest.givenValidCompatibleApiVersion_whenStoringConfigLocally_thenConfigIsStored(ServerConfigRepositoryTest.kt:57)

Check warning on line 0 in com.wire.kalium.logic.data.asset.AssetMapperTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenAudioAssetContent_whenMappingToProtoAssetMessage_thenReturnCorrectProtoAudioMetadata (com.wire.kalium.logic.data.asset.AssetMapperTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type KaliumDispatcher was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<KaliumDispatcher>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.data.asset.AssetMapperTest$Arrangement.<init>(AssetMapperTest.kt:82)
at com.wire.kalium.logic.data.asset.AssetMapperTest$givenAudioAssetContent_whenMappingToProtoAssetMessage_thenReturnCorrectProtoAudioMetadata$1.invokeSuspend(AssetMapperTest.kt:59)
at com.wire.kalium.logic.data.asset.AssetMapperTest$givenAudioAssetContent_whenMappingToProtoAssetMessage_thenReturnCorrectProtoAudioMetadata$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.data.asset.AssetMapperTest$givenAudioAssetContent_whenMappingToProtoAssetMessage_thenReturnCorrectProtoAudioMetadata$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.data.asset.AssetMapperTest.givenAudioAssetContent_whenMappingToProtoAssetMessage_thenReturnCorrectProtoAudioMetadata(AssetMapperTest.kt:37)

Check warning on line 0 in com.wire.kalium.logic.data.asset.AssetRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenValidParams_whenPersistingAsset_thenShouldSucceedWithAPathResponse (com.wire.kalium.logic.data.asset.AssetRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type AssetApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<AssetApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$Arrangement.<init>(AssetRepositoryTest.kt:669)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenValidParams_whenPersistingAsset_thenShouldSucceedWithAPathResponse$1.invokeSuspend(AssetRepositoryTest.kt:574)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenValidParams_whenPersistingAsset_thenShouldSucceedWithAPathResponse$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenValidParams_whenPersistingAsset_thenShouldSucceedWithAPathResponse$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest.givenValidParams_whenPersistingAsset_thenShouldSucceedWithAPathResponse(AssetRepositoryTest.kt:564)

Check warning on line 0 in com.wire.kalium.logic.data.asset.AssetRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenAnError_whenDownloadingPublicAsset_thenShouldReturnThrowNetworkFailure (com.wire.kalium.logic.data.asset.AssetRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type AssetApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<AssetApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$Arrangement.<init>(AssetRepositoryTest.kt:669)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnError_whenDownloadingPublicAsset_thenShouldReturnThrowNetworkFailure$1.invokeSuspend(AssetRepositoryTest.kt:408)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnError_whenDownloadingPublicAsset_thenShouldReturnThrowNetworkFailure$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnError_whenDownloadingPublicAsset_thenShouldReturnThrowNetworkFailure$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest.givenAnError_whenDownloadingPublicAsset_thenShouldReturnThrowNetworkFailure(AssetRepositoryTest.kt:404)

Check warning on line 0 in com.wire.kalium.logic.data.asset.AssetRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenAnAssetId_whenAssetIsAlreadyDownloaded_thenShouldReturnItsBinaryDataFromDB (com.wire.kalium.logic.data.asset.AssetRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type AssetApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<AssetApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$Arrangement.<init>(AssetRepositoryTest.kt:669)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnAssetId_whenAssetIsAlreadyDownloaded_thenShouldReturnItsBinaryDataFromDB$1.invokeSuspend(AssetRepositoryTest.kt:493)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnAssetId_whenAssetIsAlreadyDownloaded_thenShouldReturnItsBinaryDataFromDB$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnAssetId_whenAssetIsAlreadyDownloaded_thenShouldReturnItsBinaryDataFromDB$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest.givenAnAssetId_whenAssetIsAlreadyDownloaded_thenShouldReturnItsBinaryDataFromDB(AssetRepositoryTest.kt:487)

Check warning on line 0 in com.wire.kalium.logic.data.asset.AssetRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenAnAssetId_whenDownloadingPrivateAssetsAndAlreadyPresentInDB_thenReturnItsPathFromLocal (com.wire.kalium.logic.data.asset.AssetRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type AssetApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<AssetApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$Arrangement.<init>(AssetRepositoryTest.kt:669)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnAssetId_whenDownloadingPrivateAssetsAndAlreadyPresentInDB_thenReturnItsPathFromLocal$1.invokeSuspend(AssetRepositoryTest.kt:329)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnAssetId_whenDownloadingPrivateAssetsAndAlreadyPresentInDB_thenReturnItsPathFromLocal$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenAnAssetId_whenDownloadingPrivateAssetsAndAlreadyPresentInDB_thenReturnItsPathFromLocal$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest.givenAnAssetId_whenDownloadingPrivateAssetsAndAlreadyPresentInDB_thenReturnItsPathFromLocal(AssetRepositoryTest.kt:318)

Check warning on line 0 in com.wire.kalium.logic.data.asset.AssetRepositoryTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

givenValidParams_whenUploadingPublicAssets_thenShouldSucceedWithAMappedResponse (com.wire.kalium.logic.data.asset.AssetRepositoryTest) failed

logic/build/outputs/androidTest-results/connected/debug/TEST-emulator-5554 - 12-_logic-.xml [took 0s]
Raw output
io.mockative.NoSuchMockException: A mock for the type AssetApi was not generated.

Make sure the property holding the mock is annotated with @Mock:

@Mock
private val myMock = mock(classOf<AssetApi>())


at io.mockative.MocksKt.mock(Mocks.kt:18)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$Arrangement.<init>(AssetRepositoryTest.kt:669)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenValidParams_whenUploadingPublicAssets_thenShouldSucceedWithAMappedResponse$1.invokeSuspend(AssetRepositoryTest.kt:72)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenValidParams_whenUploadingPublicAssets_thenShouldSucceedWithAMappedResponse$1.invoke(Unknown Source:8)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest$givenValidParams_whenUploadingPublicAssets_thenShouldSucceedWithAMappedResponse$1.invoke(Unknown Source:4)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
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:322)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
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:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source:1)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source:1)
at com.wire.kalium.logic.data.asset.AssetRepositoryTest.givenValidParams_whenUploadingPublicAssets_thenShouldSucceedWithAMappedResponse(AssetRepositoryTest.kt:65)