Searched refs:uncaughtExceptions (Results 1 – 16 of 16) sorted by relevance
17 val uncaughtExceptions = mutableListOf<Throwable>() in <lambda>() constant22 uncaughtExceptions.add(throwable) in <lambda>()34 …assertEquals(1, uncaughtExceptions.size, "Expected 1 uncaught exception, but got $uncaughtExceptio… in <lambda>()35 val exception = assertIs<TestException>(uncaughtExceptions.single()) in <lambda>()42 …assertEquals(2, uncaughtExceptions.size, "Expected 2 uncaught exceptions, but got $uncaughtExcepti… in <lambda>()43 for (exception in uncaughtExceptions) { in <lambda>()46 assertEquals("A", uncaughtExceptions[0].message) in <lambda>()47 assertEquals("B", uncaughtExceptions[1].message) in <lambda>()
40 private final List<Throwable> uncaughtExceptions = new ArrayList<>(); field in TestExecutorRule47 thread.setUncaughtExceptionHandler((t, e) -> uncaughtExceptions.add(e));102 if (!uncaughtExceptions.isEmpty()) { in after()104 uncaughtExceptions.stream() in after()110 uncaughtExceptions.clear(); in after()
209 private val uncaughtExceptions = mutableListOf<Throwable>() constant234 uncaughtExceptions in enter()251 uncaughtExceptions in <lambda>()261 uncaughtExceptions in legacyLeave()287 for (existingThrowable in uncaughtExceptions) { in reportException()292 uncaughtExceptions.add(throwable) in reportException()
371 val uncaughtExceptions = scope.leave() in runTest() constant372 throwAll(timeoutError ?: scope.getCompletionExceptionOrNull(), uncaughtExceptions) in runTest()543 val uncaughtExceptions = try { in handleTimeout() constant564 uncaughtExceptions.forEach { error.addSuppressed(it) } in handleTimeout()
70 private val uncaughtExceptions = Collections.synchronizedList(ArrayList<Throwable>()) constant99 uncaughtExceptions.add(e) in before()125 if (uncaughtExceptions.isNotEmpty()) { in onCompletion()126 error("Expected no uncaught exceptions, but got $uncaughtExceptions") in onCompletion()
269 globals->uncaughtExceptions += 1; // Not atomically, since globals are thread-local in __cxa_throw()461 globals->uncaughtExceptions -= 1; // Not atomically, since globals are thread-local in __cxa_begin_catch()608 globals->uncaughtExceptions += 1; in __cxa_rethrow()742 __cxa_get_globals()->uncaughtExceptions += 1; in __cxa_rethrow_primary_exception()765 return globals->uncaughtExceptions; in __cxa_uncaught_exceptions()
106 unsigned int uncaughtExceptions; member
1287 globals->uncaughtExceptions += 1; in __cxa_call_unexpected()
282 globals->uncaughtExceptions += 1; // Not atomically, since globals are thread-local in __cxa_init_primary_exception()483 globals->uncaughtExceptions -= 1; // Not atomically, since globals are thread-local in __cxa_init_primary_exception()635 globals->uncaughtExceptions += 1; in __cxa_init_primary_exception()769 __cxa_get_globals()->uncaughtExceptions += 1; in __cxa_init_primary_exception()792 return globals->uncaughtExceptions; in __cxa_init_primary_exception()
155 unsigned int uncaughtExceptions; member
1265 globals->uncaughtExceptions += 1; in __cxa_call_unexpected()
23 val uncaughtExceptions: List<Throwable> constant in kotlinx.coroutines.test.TestCoroutineExceptionHandler
64 ## Remove usages of TestCoroutineExceptionHandler and TestCoroutineScope.uncaughtExceptions69 * Accessing `uncaughtExceptions` in the middle of the test to make sure that there weren't any unca…74 * Accessing `uncaughtExceptions` when the uncaught exceptions are actually expected.