Home
last modified time | relevance | path

Searched refs:getException (Results 1 – 25 of 63) sorted by relevance

123

/external/mockito/src/test/java/org/mockito/internal/junit/util/
DJUnitFailureHackerTest.java31 assertEquals(ExceptionIncludingMockitoWarnings.class, failure.getException().getClass()); in shouldReplaceException()
32 assertEquals(actualExc, failure.getException().getCause()); in shouldReplaceException()
33 …Assertions.assertThat(actualExc.getStackTrace()).isEqualTo(failure.getException().getStackTrace()); in shouldReplaceException()
44 assertThat(failure.getException()).hasMessageContaining("unused stubbing blah"); in shouldAppendWarning()
56 assertEquals(ex, failure.getException()); in shouldNotAppendWhenNoWarnings()
68 assertEquals(ex, failure.getException()); in shouldNotAppendWhenNullWarnings()
79 System.out.println(failure.getException()); in shouldPrintTheWarningSoICanSeeIt()
/external/mockito/src/test/java/org/mockitoutil/
DJUnitResultAssert.java41 if (!expectedException.isInstance(f.getException())) { in fails()
42 …rect failure type, expected: " + expectedException + ", actual: " + f.getException().getClass().ge… in fails()
68 if (!expectedExceptions[i].isInstance(f.getException())) { in failsExactly()
71 + " but is of type: " + f.getException().getClass().getSimpleName() in failsExactly()
86 assertEquals(filterLineNo(exceptionMessage), filterLineNo(f.getException().getMessage())); in fails()
95 …ame.equals(f.getDescription().getMethodName()) && expectedException.isInstance(f.getException())) { in fails()
/external/junit/src/main/java/org/junit/runner/notification/
DFailure.java58 public Throwable getException() { in getException() method in Failure
75 getException().printStackTrace(writer); in getTrace()
85 return getException().getMessage(); in getMessage()
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathException.java200 exception = se.getException(); in printStackTrace()
235 exception = se.getException(); in getMessage()
301 exception = se.getException(); in printStackTrace()
324 public Throwable getException() in getException() method in XPathException
/external/clang/test/Analysis/
Dexceptions.mm10 id getException(); function
13 @throw getException();
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDefaultErrorHandler.java301 cause = ((SAXException)cause).getException(); in ensureLocationSet()
341 cause = ((WrappedRuntimeException)cause).getException(); in printLocation()
343 cause = ((SAXException)cause).getException(); in printLocation()
DWrappedRuntimeException.java70 public Exception getException() in getException() method in WrappedRuntimeException
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DExceptions.kt50 fun getException(): Throwable = synchronized(this) { in <lambda>() method
63 return handler.getException() in captureExceptionsRun()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DScriptData.java106 private String getException(String icu) in getException() method in ScriptData
199 return getException(fScriptTags[value - fMinScript]); in getTag()
217 String tag = getException(fScriptTags[value - fMinScript]); in makeTag()
/external/mockito/src/test/java/org/mockitousage/junitrunner/
DVerboseMockitoRunnerTest.java79 Throwable exception = result.getFailures().get(0).getException(); in shouldContainWarnings()
88 assertEquals("boo", result.getFailures().get(0).getException().getMessage()); in shouldNotContainWarnings()
DUnusedStubsExceptionMessageTest.java57 filterLineNo(failure.getException().getMessage())); in lists_all_unused_stubs_cleanly()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DInvokableTypeImpl.java55 ObjectReferenceImpl getException(); in getException() method
128 if (ret.getException() != null) { in invokeMethod()
129 throw new InvocationException(ret.getException()); in invokeMethod()
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestRunner.java122 tr.setThrowable(failure.getException());
139 tr.setThrowable(failure.getException());
215 final Throwable exception = failure.getException();
/external/mockito/src/test/java/org/mockitousage/matchers/
DInvalidUseOfMatchersTest.java113 assertThat(run.getFailures().get(0).getException()).isInstanceOf(NullPointerException.class) in should_mention_matcher_when_misuse_detected()
115 …assertThat(run.getFailures().get(1).getException()).isInstanceOf(InvalidUseOfMatchersException.cla… in should_mention_matcher_when_misuse_detected()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java254 getException(rc); in encode()
258 private static void getException(int rc) in getException() method in PunycodeReference
294 getException(rc); in decode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java251 getException(rc); in encode()
255 private static void getException(int rc) in getException() method in PunycodeReference
291 getException(rc); in decode()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DFuncDocument.java294 ((org.apache.xml.utils.WrappedRuntimeException) throwable).getException(); in getDoc()
333 e = spe2.getException(); in getDoc()
336 e = ((org.apache.xml.utils.WrappedRuntimeException) e).getException(); in getDoc()
/external/ant-glob/src/org/apache/tools/ant/
DBuildException.java76 public Throwable getException() { in getException() method in BuildException
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DWrappedRuntimeException.java77 public Exception getException() in getException() method in WrappedRuntimeException
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DDTMException.java74 public Throwable getException() { in getException() method in DTMException
336 Throwable exception = getException(); in printStackTrace()
/external/junit-params/src/test/java/junitparams/
DMultipleParameterProvidersTest.java37 assertEquals(IllegalStateException.class, testFailure.getException().getClass()); in testWithValueAndMethodProvidersThrowsIllegalStateException()
DRulesTest.java46 assertThat(result.getFailures().get(0).getException()) in shouldProvideHelpfulExceptionMessageWhenRuleIsUsedImproperly()
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java148 Exception getException() { in getException() method in ObjectFactory.ConfigurationError
/external/mockito/src/test/java/org/mockitousage/bugs/
DMockitoRunnerBreaksWhenNoTestMethodsTest.java36 assertTrue(result.getFailures().get(0).getException() instanceof MockitoException); in ensure_the_test_runner_breaks()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DExceptionWithLocationTest.java77 TaggedObject exception = eventException.getException(); in checkEvent()

123