Package-level declarations

Types

Link copied to clipboard
class TestCputimeSource(testClocks: <Error class: unknown class><CputimeSource.CpuClockId, CputimeSource.CputimeClock> = arrayOf( PROCESS_CPUTIME to TestCputimeClock { 2L }, THREAD_CPUTIME to TestCputimeClock { 1L }, )) : CputimeSource
Link copied to clipboard
open class TestEmbedderHost(var rootLogger: Logger = TestLogger(), var systemEnvProvider: SystemEnvProvider = SystemEnvProvider { emptyMap() }, var commandArgsProvider: CommandArgsProvider = CommandArgsProvider { emptyList() }, var fileSystem: FileSystem = TestFileSystem(), var monotonicClock: MonotonicClock = object : MonotonicClock { override fun getTimeMarkNanoseconds(): Long = Long.MAX_VALUE override fun getResolutionNanoseconds(): Long = 1.milliseconds.inWholeNanoseconds }, var clock: Clock = object : Clock { override fun getCurrentTimeEpochNanoseconds(): Long = Long.MAX_VALUE override fun getResolutionNanoseconds(): Long = 1.milliseconds.inWholeNanoseconds }, var cputimeSource: CputimeSource = TestCputimeSource(), var localTimeFormatter: LocalTimeFormatter = LocalTimeFormatter { StructTm(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1) }, var timeZoneInfoProvider: TimeZoneInfo.Provider = TimeZoneInfo.Provider { TimeZoneInfo(-1, -1, "Dummy", "Dummy") }, var entropySource: EntropySource = EntropySource { size -> ByteArray(size) { 4 } }) : EmbedderHost