final case class ScenarioRunner(machine: Machine, partyNameMangler: (String) ⇒ String = identity) extends Product with Serializable
Speedy scenario runner that uses the reference ledger.
- partyNameMangler
allows to amend party names defined in scenarios, before they are executed against a ledger. The function should be idempotent in the context of a single
ScenarioRunner
life-time, i.e. return the same result each time given the same argument. Should return values compatible with com.daml.lf.data.Ref.Party.
- Alphabetic
- By Inheritance
- ScenarioRunner
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ScenarioRunner(machine: Machine, partyNameMangler: (String) ⇒ String = identity)
Creates a runner using an instance of Speedy.Machine.
Creates a runner using an instance of Speedy.Machine.
- partyNameMangler
allows to amend party names defined in scenarios, before they are executed against a ledger. The function should be idempotent in the context of a single
ScenarioRunner
life-time, i.e. return the same result each time given the same argument. Should return values compatible with com.daml.lf.data.Ref.Party.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var ledger: ScenarioLedger
- val machine: Machine
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val partyNameMangler: (String) ⇒ String
- def run(): Either[(SError.SError, ScenarioLedger), (Double, Int, ScenarioLedger, SValue)]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()