George Theocharis
06/17/2020, 4:00 PMevery { presenter.scope } returns TestCoroutineScope()
and I was trying to verify in order some calls including the invokeAsync I mentioned.
The exception I am getting is an abstract method error on newCoroutineContext that i cannot think of a solution.
The code works, the test not. If you also debug it also works correctly until its time to return to the java side.
Sorry for the wall its a bit complicated and haven’t seen it previously.
Ps i am using dispatchers.setMain and the coroutines test dependency.Zach Klippenstein (he/him) [MOD]
06/17/2020, 4:04 PMGeorge Theocharis
06/17/2020, 4:08 PMtestCoroutineDispatcher.runBlockingTest
and had to pass the scope like this invokeAsync(this@runBlockingTest)