Loading core/tests/coretests/src/com/android/internal/util/HexDumpTest.java +3 −2 Original line number Diff line number Diff line Loading @@ -160,8 +160,9 @@ public final class HexDumpTest extends TestCase { private static void assertThrows(Class<? extends RuntimeException> clazz, Runnable runnable) { try { runnable.run(); } catch (RuntimeException exception) { assertEquals(toStrackTrace(exception), clazz, exception.getClass()); fail(); } catch (RuntimeException expected) { assertEquals(toStrackTrace(expected), clazz, expected.getClass()); } } Loading Loading
core/tests/coretests/src/com/android/internal/util/HexDumpTest.java +3 −2 Original line number Diff line number Diff line Loading @@ -160,8 +160,9 @@ public final class HexDumpTest extends TestCase { private static void assertThrows(Class<? extends RuntimeException> clazz, Runnable runnable) { try { runnable.run(); } catch (RuntimeException exception) { assertEquals(toStrackTrace(exception), clazz, exception.getClass()); fail(); } catch (RuntimeException expected) { assertEquals(toStrackTrace(expected), clazz, expected.getClass()); } } Loading