Searched refs:safeContext (Results 1 – 2 of 2) sorted by relevance
50 var safeContext = context in TestCoroutineScope() variable51 if (context[ContinuationInterceptor] == null) safeContext += TestCoroutineDispatcher() in TestCoroutineScope()52 if (context[CoroutineExceptionHandler] == null) safeContext += TestCoroutineExceptionHandler() in TestCoroutineScope()53 return TestCoroutineScopeImpl(safeContext) in TestCoroutineScope()
46 val (safeContext, dispatcher) = context.checkArguments() in runBlockingTest() constant47 val startingJobs = safeContext.activeJobs() in runBlockingTest()48 val scope = TestCoroutineScope(safeContext) in runBlockingTest()57 val endingJobs = safeContext.activeJobs() in runBlockingTest()