mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Fix incorrect imports. (#3022)
This commit is contained in:
parent
0f310dd966
commit
6b78ee8c14
@ -1,7 +1,6 @@
|
||||
package net.corda.behave.scenarios
|
||||
|
||||
import cucumber.api.java.After
|
||||
import net.corda.behave.logging.getLogger
|
||||
import net.corda.behave.network.Network
|
||||
import net.corda.behave.node.Node
|
||||
import net.corda.core.messaging.CordaRPCOps
|
||||
@ -10,8 +9,6 @@ import java.time.Duration
|
||||
|
||||
class ScenarioState {
|
||||
|
||||
private val log = getLogger<ScenarioState>()
|
||||
|
||||
private val nodes = mutableListOf<Node.Builder>()
|
||||
|
||||
private var network: Network? = null
|
||||
|
@ -2,7 +2,7 @@ package net.corda.behave.scenarios.helpers
|
||||
|
||||
import net.corda.behave.await
|
||||
import net.corda.behave.scenarios.ScenarioState
|
||||
import net.corda.behave.seconds
|
||||
import net.corda.core.utilities.seconds
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import java.util.concurrent.CountDownLatch
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.corda.behave.scenarios.helpers
|
||||
|
||||
import net.corda.behave.minutes
|
||||
import net.corda.behave.process.JarCommand
|
||||
import net.corda.behave.scenarios.ScenarioState
|
||||
import net.corda.core.internal.div
|
||||
import net.corda.core.utilities.minutes
|
||||
|
||||
class Startup(state: ScenarioState) : Substeps(state) {
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
package net.corda.behave.scenarios.helpers
|
||||
|
||||
import net.corda.behave.logging.getLogger
|
||||
import net.corda.behave.scenarios.ScenarioState
|
||||
import net.corda.core.messaging.CordaRPCOps
|
||||
import net.corda.core.utilities.contextLogger
|
||||
|
||||
abstract class Substeps(protected val state: ScenarioState) {
|
||||
|
||||
protected val log = getLogger<Substeps>()
|
||||
protected val log = contextLogger()
|
||||
|
||||
protected fun withNetwork(action: ScenarioState.() -> Unit) =
|
||||
state.withNetwork(action)
|
||||
|
Loading…
Reference in New Issue
Block a user