/aosp_15_r20/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
H A D | Assert.kt | 28 fun <E : Throwable?> assertThrows(message: String? = null, in assertThrows() method 44 fun assertThrows(message: String? = null, executable: () -> Unit): Exception = in assertThrows() method 50 fun <E : Throwable?> assertThrows(exception: Class<E>? = null, executable: Runnable): E = in assertThrows() method
|
/aosp_15_r20/cts/tests/tests/content/src/android/content/cts/ |
H A D | ActivityRequireContentUriPermissionFromCallerTest.java | 377 boolean assertThrows) throws Exception { in internalTest() 389 ModeFlags modeFlags, UriLocation uriLocation, boolean assertThrows) throws Exception { in internalTest_startActivity() 408 ModeFlags modeFlags, UriLocation uriLocation, boolean assertThrows) throws Exception { in internalTest_startActivityForResult() 423 private static String getErrorMessage(ModeFlags modeFlags, boolean assertThrows, boolean isOr) { in getErrorMessage()
|
/aosp_15_r20/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
H A D | CtsTestUtils.java | 29 public static Throwable assertThrows(Runnable action) { in assertThrows() method in CtsTestUtils 33 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows() method in CtsTestUtils
|
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/base/ |
H A D | ReflectionFreeAssertThrows.java | 51 static <T extends Throwable> T assertThrows( in assertThrows() method in ReflectionFreeAssertThrows 57 static <T extends Throwable> T assertThrows( in assertThrows() method in ReflectionFreeAssertThrows
|
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/base/ |
H A D | ReflectionFreeAssertThrows.java | 51 static <T extends Throwable> T assertThrows( in assertThrows() method in ReflectionFreeAssertThrows 57 static <T extends Throwable> T assertThrows( in assertThrows() method in ReflectionFreeAssertThrows
|
/aosp_15_r20/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EvenMoreAsserts.java | 39 public static <T extends Exception> void assertThrows(Class<T> exception, Runnable r) { in assertThrows() method in EvenMoreAsserts 43 public static <T extends Exception> void assertThrows(String message, Class<T> exception, in assertThrows() method in EvenMoreAsserts
|
/aosp_15_r20/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 52 fun <T : Exception> assertThrows(expected: Class<T>, block: ThrowingRunnable): T { in assertThrows() method 56 fun <T : Exception> assertThrows(msg: String, expected: Class<T>, block: ThrowingRunnable): T { in assertThrows() method
|
/aosp_15_r20/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | SettingsFragmentTestCase.java | 211 assertThrows(() -> { in startActivityForResult_tooManyRequests_throwsError() method 235 assertThrows(() -> { in startIntentSenderForResult_tooManyRequests_throwsError() method
|
/aosp_15_r20/packages/apps/Car/Settings/tests/multivalent/src/com/android/car/settings/common/ |
D | SettingsFragmentTestCase.java | 211 assertThrows(() -> { in startActivityForResult_tooManyRequests_throwsError() method 235 assertThrows(() -> { in startIntentSenderForResult_tooManyRequests_throwsError() method
|
/aosp_15_r20/external/kotlinpoet/kotlinpoet/src/commonTest/kotlin/com/squareup/kotlinpoet/ |
H A D | AssertThrows.kt | 21 inline fun <reified T> assertThrows(block: () -> Unit): ThrowableSubject { in assertThrows() method
|
/aosp_15_r20/frameworks/base/services/tests/wmtests/src/com/android/server/wm/testing/ |
H A D | Assert.java | 32 public static void assertThrows(Class<? extends Throwable> expectedThrowable, Runnable r) { in assertThrows() method in Assert
|
/aosp_15_r20/cts/tests/tests/nfc/src/android/nfc/cts/ |
H A D | NfcFrameworkInitializerTest.java | 44 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in NfcFrameworkInitializerTest
|
/aosp_15_r20/frameworks/opt/telephony/testing/src/com/android/internal/telephony/testing/ |
D | TelephonyAssertions.java | 33 public static <T extends Throwable> T assertThrows( in assertThrows() method in TelephonyAssertions
|
/aosp_15_r20/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
H A D | BluetoothFrameworkInitializerTest.java | 62 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in BluetoothFrameworkInitializerTest
|
/aosp_15_r20/test/app_compat/csuite/harness/src/test/java/com/android/csuite/testing/ |
D | MoreAsserts.java | 44 public static <T extends Throwable> T assertThrows( in assertThrows() method in MoreAsserts
|
/aosp_15_r20/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/ |
H A D | AssertUtils.java | 15 public static <T extends Throwable> T assertThrows(Class<T> cls, CheckedRunnable<T> fn) { in assertThrows() method in AssertUtils
|
/aosp_15_r20/packages/modules/GeoTZ/s2storage/src/testing/java/com/android/storage/testing/ |
D | MoreAsserts.java | 31 public static <T extends Throwable> T assertThrows( in assertThrows() method in MoreAsserts
|
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
H A D | ShadowIsoDepTest.java | 59 private static <T extends Throwable> void assertThrows(Class<T> clazz, Callable<?> callable) { in assertThrows() method in ShadowIsoDepTest
|
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | AmbientBrightnessDayStatsTest.java | 159 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in AmbientBrightnessDayStatsTest
|
H A D | BrightnessConfigurationTest.java | 266 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in BrightnessConfigurationTest
|
/aosp_15_r20/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | HexDumpTest.java | 178 private static void assertThrows(Class<? extends RuntimeException> clazz, Runnable runnable) { in assertThrows() method in HexDumpTest
|
/aosp_15_r20/external/junit/src/main/java/org/junit/ |
H A D | Assert.java | 979 public static <T extends Throwable> T assertThrows(Class<T> expectedThrowable, in assertThrows() method in Assert 998 public static <T extends Throwable> T assertThrows(String message, Class<T> expectedThrowable, in assertThrows() method in Assert
|
/aosp_15_r20/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/apihelpers/ |
H A D | ContentTypeParametersParserTest.java | 153 private <E extends Throwable> E assertThrows(Class<E> exceptionType, ThrowingRunnable runnable) in assertThrows() method in ContentTypeParametersParserTest
|
/aosp_15_r20/packages/modules/Permission/tests/cts/permission/telephony/src/android/permission/cts/telephony/ |
D | TelephonyManagerPermissionTest.java | 411 private static <T extends Throwable> void assertThrows(Class<T> clazz, Runnable r, in assertThrows() method in TelephonyManagerPermissionTest
|
/aosp_15_r20/external/grpc-grpc-java/binder/src/test/java/io/grpc/binder/internal/ |
H A D | OneWayBinderProxyTest.java | 180 private static <T extends Throwable> T assertThrows( in assertThrows() method in OneWayBinderProxyTest
|