TrixnityBaseTest

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val defaultLogLevel: Level
Link copied to clipboard
Link copied to clipboard
open override val packageLogLevels: Map<String, Level>
Link copied to clipboard
open override val testScope: TestScope
Link copied to clipboard
open val trixnityLogLevel: Level

Functions

Link copied to clipboard
fun CoroutineTest.runTest(timeout: Duration? = defaultTimeout, testBody: suspend TestScope.() -> Unit): TestResult
fun <T> CoroutineTest.runTest(timeout: Duration? = defaultTimeout, setup: suspend TestScope.() -> T, testBody: suspend TestScope.(T) -> Unit): TestResult
Link copied to clipboard
fun CoroutineTest.scheduleSetup(block: ScheduledTaskLambda)
Link copied to clipboard
fun CoroutineTest.scheduleTeardown(block: ScheduledTaskLambda)
Link copied to clipboard
open fun setupLogged()
Link copied to clipboard
fun <T> CoroutineTest.suspendLazy(block: suspend TestScope.() -> T): LazySuspend<T>