Package-level declarations

Types

Link copied to clipboard
actual class Resource(val name: String)
expect class Resource(name: String)
actual class Resource(val name: String)
actual class Resource(val name: String)
actual class Resource(val name: String)
Link copied to clipboard
actual class TestSqlDriverFactory(val sqlDriverFactory: SqlDriverFactory, overrideName: Boolean) : SqlDriverFactory

A wrapper class of SqlDriverFactory It will make sure to use InMemory databases for the platforms that are persistence such as android and ios To avoid test cases from conflicting Also creates a new database for each use case by overriding the db name everytime a new factory is created

expect class TestSqlDriverFactory(sqlDriverFactory: SqlDriverFactory, overrideName: Boolean = true) : SqlDriverFactory
actual class TestSqlDriverFactory(val sqlDriverFactory: SqlDriverFactory, overrideName: Boolean) : SqlDriverFactory
actual class TestSqlDriverFactory(val sqlDriverFactory: SqlDriverFactory, overrideName: Boolean) : SqlDriverFactory
actual class TestSqlDriverFactory(val sqlDriverFactory: SqlDriverFactory, overrideName: Boolean) : SqlDriverFactory
Link copied to clipboard
class TestUtils

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun SqlDriverFactory.databaseName(overrideName: Boolean): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun runTestOnlyOn(vararg platforms: Platform.Type, testBody: suspend TestScope.() -> Unit): TestResult
Link copied to clipboard
fun runTestWithout(vararg platforms: Platform.Type, testBody: suspend TestScope.() -> Unit): TestResult
Link copied to clipboard
fun runTestWithoutBrowser(testBody: suspend TestScope.() -> Unit): TestResult
Link copied to clipboard
fun Resource.writeTextTask(text: String): Task<Unit>