Home
last modified time | relevance | path

Searched refs:uncaughtExceptions (Results 1 – 16 of 16) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/
DUncaughtExceptionsTest.kt17 val uncaughtExceptions = mutableListOf<Throwable>() in <lambda>() constant
22 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>()
/external/downloader/src/test/java/com/google/android/downloader/
DTestExecutorRule.java40 private final List<Throwable> uncaughtExceptions = new ArrayList<>(); field in TestExecutorRule
47 thread.setUncaughtExceptionHandler((t, e) -> uncaughtExceptions.add(e));
102 if (!uncaughtExceptions.isEmpty()) { in after()
104 uncaughtExceptions.stream() in after()
110 uncaughtExceptions.clear(); in after()
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/src/
DTestScope.kt209 private val uncaughtExceptions = mutableListOf<Throwable>() constant
234 uncaughtExceptions in enter()
251 uncaughtExceptions in <lambda>()
261 uncaughtExceptions in legacyLeave()
287 for (existingThrowable in uncaughtExceptions) { in reportException()
292 uncaughtExceptions.add(throwable) in reportException()
DTestBuilders.kt371 val uncaughtExceptions = scope.leave() in runTest() constant
372 throwAll(timeoutError ?: scope.getCompletionExceptionOrNull(), uncaughtExceptions) in runTest()
543 val uncaughtExceptions = try { in handleTimeout() constant
564 uncaughtExceptions.forEach { error.addSuppressed(it) } in handleTimeout()
/external/kotlinx.coroutines/test-utils/jvm/src/
DTestBase.kt70 private val uncaughtExceptions = Collections.synchronizedList(ArrayList<Throwable>()) constant
99 uncaughtExceptions.add(e) in before()
125 if (uncaughtExceptions.isNotEmpty()) { in onCompletion()
126 error("Expected no uncaught exceptions, but got $uncaughtExceptions") in onCompletion()
/external/libcxxabi/src/
Dcxa_exception.cpp269 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()
Dcxa_exception.hpp106 unsigned int uncaughtExceptions; member
Dcxa_personality.cpp1287 globals->uncaughtExceptions += 1; in __cxa_call_unexpected()
/external/cronet/tot/third_party/libc++abi/src/src/
Dcxa_exception.cpp282 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()
Dcxa_exception.h155 unsigned int uncaughtExceptions; member
Dcxa_personality.cpp1265 globals->uncaughtExceptions += 1; in __cxa_call_unexpected()
/external/cronet/stable/third_party/libc++abi/src/src/
Dcxa_exception.cpp282 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()
Dcxa_exception.h155 unsigned int uncaughtExceptions; member
Dcxa_personality.cpp1265 globals->uncaughtExceptions += 1; in __cxa_call_unexpected()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/migration/
DTestCoroutineExceptionHandler.kt23 val uncaughtExceptions: List<Throwable> constant in kotlinx.coroutines.test.TestCoroutineExceptionHandler
/external/kotlinx.coroutines/kotlinx-coroutines-test/
DMIGRATION.md64 ## Remove usages of TestCoroutineExceptionHandler and TestCoroutineScope.uncaughtExceptions
69 * 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.