Test

class Test(executionContext: ExecutionContext, logEx: Throwable => Unit) extends Simple with TestBase

castor.Context.Simple used for testing; tracks scheduling and completion of tasks and futures, so we can support a .waitForInactivity() method to wait until the system is quiescient

trait TestBase
class Simple
trait Impl
trait Context
trait ExecutionContext
class Object
trait Matchable
class Any

Value members

Inherited methods

def execute(runnable: Runnable): Unit
Inherited from:
Impl
def future[T](t: => T)(implicit fileName: FileName, line: Line): Future[T]
Inherited from:
Impl
Inherited from:
TestBase
override def reportComplete(token: Token): Unit
Definition Classes
Inherited from:
TestBase
def reportFailure(t: Throwable): Unit
Inherited from:
Simple
def reportRun(a: Actor[_], msg: Any, token: Token): Unit
Inherited from:
Context
override def reportSchedule(a: Actor[_], msg: Any, fileName: FileName, line: Line): Token
Definition Classes
Inherited from:
TestBase
override def reportSchedule(fileName: FileName, line: Line): Token
Definition Classes
Inherited from:
TestBase
override def reportSchedule(): Token
Definition Classes
Inherited from:
TestBase
def waitForInactivity(timeout: Option[Duration]): Unit
Inherited from:
TestBase

Deprecated and Inherited methods

@deprecated(message = "preparation of ExecutionContexts will be removed", since = "2.12.0")
def prepare(): ExecutionContext
Deprecated
[Since version 2.12.0] preparation of ExecutionContexts will be removed
Inherited from:
ExecutionContext