TestKitWithManualClock

libretto.testing.TestKitWithManualClock

Attributes

Graph
Supertypes
trait TestKit
class Object
trait Matchable
class Any
Known subtypes
class ScalettoTestKitFromBridge[DSL, Bridge]

Members list

Type members

Inherited classlikes

object Outcome

Attributes

Inherited from:
TestKit
Supertypes
class Object
trait Matchable
class Any
object monadOutcome extends Monad[Outcome]

Attributes

Inherited from:
TestKit
Supertypes
trait Monad[Outcome]
trait Applicative[Outcome]
class Object
trait Matchable
class Any

Inherited and Abstract types

type Assertion[A]

Attributes

Inherited from:
TestKit
type Dsl <: CoreDSL

Attributes

Inherited from:
TestKit
type ExecutionParam[A]

Attributes

Inherited from:
TestKit
opaque type Outcome[A]

Attributes

Inherited from:
TestKit

Value members

Inherited methods

transparent inline def InPort(using exn: bridge.Execution): exn.InPort.type

Attributes

Inherited from:
TestKit
transparent inline def OutPort(using exn: bridge.Execution): exn.OutPort.type

Attributes

Inherited from:
TestKit
def expectCrashDone(using exn: bridge.Execution, pos: SourcePos)(port: exn.OutPort[dsl.Done]): Outcome[Throwable]

Attributes

Inherited from:
TestKit
def expectDone(using exn: bridge.Execution)(port: exn.OutPort[dsl.Done]): Outcome[Unit]

Attributes

Inherited from:
TestKit
def expectLeft[A, B](using exn: bridge.Execution, pos: SourcePos)(port: exn.OutPort[A dsl.|+| B]): Outcome[exn.OutPort[A]]

Attributes

Inherited from:
TestKit
def expectNoPing(using exn: bridge.Execution, pos: SourcePos)(port: exn.OutPort[dsl.Ping], duration: FiniteDuration): Outcome[exn.OutPort[this.dsl.Ping]]

Attributes

Inherited from:
TestKit
def expectNoPing_(using exn: bridge.Execution, pos: SourcePos)(port: exn.OutPort[dsl.Ping], duration: FiniteDuration): Outcome[Unit]

Attributes

Inherited from:
TestKit
def expectPing(using exn: bridge.Execution)(port: exn.OutPort[dsl.Ping]): Outcome[Unit]

Attributes

Inherited from:
TestKit
def expectRight[A, B](using exn: bridge.Execution, pos: SourcePos)(port: exn.OutPort[A dsl.|+| B]): Outcome[exn.OutPort[B]]

Attributes

Inherited from:
TestKit
def splitOut[A, B](using exn: bridge.Execution)(port: exn.OutPort[A dsl.|*| B]): Outcome[(exn.OutPort[A], exn.OutPort[B])]

Attributes

Inherited from:
TestKit

Inherited and Abstract methods

def extractOutcome(using exn: bridge.Execution, pos: SourcePos)(outPort: exn.OutPort[Assertion[dsl.Done]]): Outcome[Unit]

Attributes

Inherited from:
TestKit
def failure[A]: this.dsl.Done this.dsl.-⚬ Assertion[A]

Attributes

Inherited from:
TestKit
def success[A]: A this.dsl.-⚬ Assertion[A]

Attributes

Inherited from:
TestKit

Abstract fields

Inherited and Abstract fields

val bridge: Of[dsl.type]

Attributes

Inherited from:
TestKit
val dsl: Dsl

Attributes

Inherited from:
TestKit

Givens

Inherited givens

Attributes

Inherited from:
TestKit

Inherited and Abstract givens

given monadAssertion: Monad[this.dsl.-⚬, Assertion]

Attributes

Inherited from:
TestKit