Searched refs:expectedException (Results 1 – 8 of 8) sorted by relevance
267 SQLiteDoneException expectedException = null; in testGetBlobFailureNoParam() local271 expectedException = ex; in testGetBlobFailureNoParam()278 assertNotNull("Should have thrown SQLiteDoneException", expectedException); in testGetBlobFailureNoParam()288 SQLiteDoneException expectedException = null; in testGetBlobFailureParam() local292 expectedException = ex; in testGetBlobFailureParam()299 assertNotNull("Should have thrown SQLiteDoneException", expectedException); in testGetBlobFailureParam()
21 } catch (IllegalArgumentException expectedException) { in testAccountObjectCreationWithNullName()29 } catch (IllegalArgumentException expectedException) { in testAccountObjectCreationWithNullAccountType()
22 } catch (IllegalArgumentException expectedException) { in testObjectCreationWithNullAccountType()30 } catch (IllegalArgumentException expectedException) { in testAccountObjectCreationWithNullPackageName()
511 } catch (AuthenticatorException expectedException) { in testAddAccountWithNoAuthenticator()
129 val expectedException = ExpectedException.none() in <lambda>() constant142 expectedException.expect(IllegalStateException::class.java) in <lambda>()145 expectedException.expect(TestRemoteCallbackException::class.java) in <lambda>()150 expectedException.expect(TestRemoteCallbackException::class.java) in <lambda>()
37 val expectedException = ExpectedException.none() constant in com.android.cts.packageinstallerpermissionrequestapp.PermissionRequestTest60 expectedException.expect(SecurityException::class.java) in setSelfAsInstallerAndWhitelistPermission()
98 } catch (IllegalArgumentException expectedException) { in testThermalStatusCallback()119 } catch (IllegalArgumentException expectedException) { in testThermalStatusCallback()
1130 ForegroundServiceStartNotAllowedException expectedException = null; in testFgsStartFromBGException() local1138 expectedException = e; in testFgsStartFromBGException()1144 assertNotNull(expectedException); in testFgsStartFromBGException()1145 assertTrue(expectedException.getMessage().contains(expectedMessage)); in testFgsStartFromBGException()