Remove context(parentNode: Node) and provide the parent Node as a parameter.
This commit is contained in:
parent
f1822c5afd
commit
07b6148035
161 changed files with 668 additions and 436 deletions
|
|
@ -14,8 +14,8 @@ import io.element.android.libraries.matrix.api.timeline.Timeline
|
|||
import io.element.android.tests.testutils.lambda.lambdaError
|
||||
|
||||
class FakeSendLocationEntryPoint : SendLocationEntryPoint {
|
||||
context(parentNode: Node)
|
||||
override fun createNode(
|
||||
parentNode: Node,
|
||||
buildContext: BuildContext,
|
||||
timelineMode: Timeline.Mode,
|
||||
): Node = lambdaError()
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ import io.element.android.features.location.api.ShowLocationEntryPoint
|
|||
import io.element.android.tests.testutils.lambda.lambdaError
|
||||
|
||||
class FakeShowLocationEntryPoint : ShowLocationEntryPoint {
|
||||
context(parentNode: Node)
|
||||
override fun createNode(
|
||||
parentNode: Node,
|
||||
buildContext: BuildContext,
|
||||
inputs: ShowLocationEntryPoint.Inputs,
|
||||
): Node = lambdaError()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue