/frameworks/support/core/ktx/src/androidTest/java/androidx/core/content/res/ |
H A D | TypedArrayTest.kt | 23 import androidx.testutils.assertThrows 39 assertThrows<IllegalArgumentException> { 50 assertThrows<IllegalArgumentException> { 62 assertThrows<IllegalArgumentException> { 73 assertThrows<IllegalArgumentException> { 85 assertThrows<IllegalArgumentException> { 97 assertThrows<IllegalArgumentException> { 108 assertThrows<IllegalArgumentException> { 119 assertThrows<IllegalArgumentException> { 131 assertThrows<IllegalArgumentExceptio [all...] |
/frameworks/support/testutils-ktx/src/main/java/androidx/testutils/ |
H A D | assertions.kt | 22 inline fun <reified T : Throwable> assertThrows(body: () -> Unit): ThrowableSubject {
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/os/ |
H A D | PersistableBundleTest.kt | 22 import androidx.testutils.assertThrows 77 assertThrows<IllegalArgumentException> { 81 assertThrows<IllegalArgumentException> {
|
H A D | BundleTest.kt | 27 import androidx.testutils.assertThrows 133 assertThrows<IllegalArgumentException> { 137 assertThrows<IllegalArgumentException> {
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/content/ |
H A D | ContentValuesTest.kt | 19 import androidx.testutils.assertThrows 54 assertThrows<IllegalArgumentException> {
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/database/sqlite/ |
H A D | SQLiteDatabaseTest.kt | 23 import androidx.testutils.assertThrows 41 assertThrows<RuntimeException> {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/ |
H A D | CertUtilsTest.java | 23 import static org.testng.Assert.assertThrows; 93 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); 99 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); 105 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(in)); 119 assertThrows(CertParsingException.class, () -> CertUtils.decodeCert(modifiedCertBytes)); 134 assertThrows(CertParsingException.class, () -> CertUtils.decodeBase64("EVTVA==")); 145 assertThrows(CertParsingException.class, () -> CertUtils.getXmlRootNode(new byte[0])); 221 assertThrows( 234 assertThrows( 297 assertThrows( [all...] |
H A D | SigXmlTest.java | 21 import static org.testng.Assert.assertThrows; 54 assertThrows( 80 assertThrows(
|
H A D | CertXmlTest.java | 21 import static org.testng.Assert.assertThrows; 167 assertThrows( 179 assertThrows( 191 assertThrows(
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | AmbientBrightnessDayStatsTest.java | 45 assertThrows(NullPointerException.class, 48 assertThrows(NullPointerException.class, 51 assertThrows(NullPointerException.class, 54 assertThrows(NullPointerException.class, 158 private static void assertThrows(Class<? extends Throwable> exceptionClass, method in class:AmbientBrightnessDayStatsTest
|
H A D | BrightnessConfigurationTest.java | 87 assertThrows(IllegalArgumentException.class, () -> { 95 assertThrows(IllegalArgumentException.class, () -> { 105 assertThrows(IllegalArgumentException.class, () -> { 112 assertThrows(IllegalArgumentException.class, () -> { 175 private static void assertThrows(Class<? extends Throwable> exceptionClass, method in class:BrightnessConfigurationTest
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/ |
H A D | AtomicFileTest.kt | 21 import androidx.testutils.assertThrows 54 assertThrows<IOException> {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplTest.java | 14 import static org.testng.Assert.assertThrows; 204 assertThrows( 226 assertThrows( 246 assertThrows( 268 assertThrows( 288 assertThrows( 308 assertThrows(
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/ |
H A D | ViewGroupTest.kt | 24 import androidx.testutils.assertThrows 46 assertThrows<IndexOutOfBoundsException> { 50 assertThrows<IndexOutOfBoundsException> { 168 assertThrows<IndexOutOfBoundsException> {
|
H A D | MenuTest.kt | 23 import androidx.testutils.assertThrows 128 assertThrows<IndexOutOfBoundsException> {
|
H A D | ViewTest.kt | 28 import androidx.testutils.assertThrows 158 assertThrows<IllegalStateException> { 258 assertThrows<ClassCastException> {
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/ |
H A D | RegionTest.kt | 22 import androidx.testutils.assertThrows 140 assertThrows<IndexOutOfBoundsException> {
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/preference/ |
H A D | PreferenceGroupTest.kt | 25 import androidx.testutils.assertThrows 172 assertThrows<IndexOutOfBoundsException> {
|
/frameworks/support/preference/ktx/src/androidTest/java/androidx/preference/ |
H A D | PreferenceGroupTest.kt | 21 import androidx.testutils.assertThrows 168 assertThrows<IndexOutOfBoundsException> {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | SecureBoxTest.java | 20 import static org.testng.Assert.assertThrows; 295 assertThrows( 308 assertThrows( 321 assertThrows(
|
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/ |
H A D | RadioTunerTest.java | 56 import static org.testng.Assert.assertThrows; 427 assertThrows(IllegalStateException.class, () -> mRadioTuner.setAnalogForced(true));
|