Searched refs:expectedException (Results 1 – 3 of 3) sorted by relevance
/art/test/064-field-access/src/ |
D | Main.java | 71 Class<?> expectedException) { in getValue() argument 107 if (expectedException != null) { in getValue() 110 "', was expecting " + expectedException); in getValue() 114 if (expectedException == null) { in getValue() 119 if (!expectedException.equals(ex.getClass())) { in getValue() 121 + expectedException.getName() + ", got " in getValue() 649 Class<?> expectedException) { in getValue() argument 685 if (expectedException != null) { in getValue() 688 "', was expecting " + expectedException); in getValue() 692 if (expectedException == null) { in getValue() [all …]
|
/art/test/800-smali/src/ |
D | Main.java | 30 Throwable expectedException, Object expectedReturn, in TestCase() argument 36 this.expectedException = expectedException; in TestCase() 42 Throwable expectedException, Object expectedReturn) { in TestCase() argument 43 this(testName, testClass, testMethodName, values, expectedException, in TestCase() 51 Throwable expectedException; field in Main.TestCase 252 if (tc.expectedException != null) { in runTest() 272 if (tc.expectedException == null) { in runTest() 275 exc.getCause().getClass().equals(tc.expectedException.getClass())) { in runTest() 277 } else if (!tc.expectedException.getClass().equals(exc.getClass())) { in runTest() 279 tc.expectedException.getClass().getName() + in runTest()
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleUnitTest.java | 102 void assertThrows(Class expectedException, AccessorAccess access) { in assertThrows() argument 105 fail("Expected a " + expectedException + ", but not raised"); in assertThrows() 107 if (!expectedException.isInstance(e)) { in assertThrows() 108 fail("Expected a " + expectedException + ", but got a " + e.getClass(), e); in assertThrows()
|