Searched refs:expectedException (Results 1 – 2 of 2) 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()
|