Searched refs:expectedException (Results 1 – 3 of 3) sorted by relevance
116 Exception expectedException = new Exception("oops!"); in getKeyHandlesArbitraryException() local119 executor.execute(() -> receiver.onError(expectedException)))) in getKeyHandlesArbitraryException()143 Exception expectedException = new RkpProxyException(expectedConversions.get(error), in getKeyMapsRkpErrorsCorrectly() local147 executor.execute(() -> receiver.onError(expectedException)))) in getKeyMapsRkpErrorsCorrectly()228 Exception expectedException = new RuntimeException("oops! bad input!"); in getKeyCatchesExceptionFromProxy() local229 doThrow(expectedException) in getKeyCatchesExceptionFromProxy()237 eq(expectedException.getMessage())); in getKeyCatchesExceptionFromProxy()
262 } catch (IllegalArgumentException expectedException) { in testThermalStatusCallback()284 } catch (IllegalArgumentException expectedException) { in testThermalStatusCallback()
1938 @NonNull String shortcutId, int userId, Class<?> expectedException) {1947 assertEquals("Exception type different", expectedException, thrown.getClass());1950 protected void assertThrown(@NonNull final Class<?> expectedException,1959 assertEquals("Exception type different", expectedException, thrown.getClass());