android_packages_modules_Co.../staticlibs/testutils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN a79814aade Fix handling of Throwable in tryTest/catch
Throwable could be used as a type argument to catch(), but it would
possibly never be caught, because the method only catches Exception.

Notably, junit assertions fail with AssertionError, which is not a
subclass of Exception. Due to that, tests or utilities like
DeviceConfigRule that have failing assertions in catch() would not
run the subsequent cleanup steps.

Bug: 210377950
Test: atest CleanupTest
Change-Id: I54e2922cb466f077ba4d219f8c3c6f885316296c
2022-06-21 12:52:10 +09:00
..
app/connectivitychecker Enable strict_updatability_linting in frameworks/libs/net 2021-11-19 15:41:27 +08:00
devicetests/com/android/testutils Merge "Fix TestNetworkTracker on Q" 2022-06-13 06:20:34 +00:00
host/com/android/testutils Add DisableConfigSyncTargetPreparer 2022-03-09 12:23:49 +09:00
hostdevice/com/android Fix handling of Throwable in tryTest/catch 2022-06-21 12:52:10 +09:00
Android.bp Remove dependency on compatibility-device-util-axt 2022-02-16 18:52:32 +09:00