Home
last modified time | relevance | path

Searched refs:getException (Results 1 – 25 of 60) 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.java37 if (!expectedException.isInstance(f.getException())) { in fails()
38 …rect failure type, expected: " + expectedException + ", actual: " + f.getException().getClass().ge… in fails()
64 if (!expectedExceptions[i].isInstance(f.getException())) { in failsExactly()
67 + " but is of type: " + f.getException().getClass().getSimpleName() in failsExactly()
82 assertEquals(filterLineNo(exceptionMessage), filterLineNo(f.getException().getMessage())); in fails()
91 …ame.equals(f.getDescription().getMethodName()) && expectedException.isInstance(f.getException())) { in fails()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/
DCoreImplTest.java617 public MojoException getException() { in getException() method in CoreImplTest.AsyncWaiterResult
634 assertEquals(null, asyncWaiterResult.getException()); in testAsyncWaiterCorrectResult()
639 assertEquals(null, asyncWaiterResult.getException()); in testAsyncWaiterCorrectResult()
644 assertNull(asyncWaiterResult.getException()); in testAsyncWaiterCorrectResult()
661 assertEquals(null, asyncWaiterResult.getException()); in testAsyncWaiterClosingPeerHandle()
666 assertEquals(null, asyncWaiterResult.getException()); in testAsyncWaiterClosingPeerHandle()
670 assertEquals(null, asyncWaiterResult.getException()); in testAsyncWaiterClosingPeerHandle()
674 assertNull(asyncWaiterResult.getException()); in testAsyncWaiterClosingPeerHandle()
691 assertEquals(null, asyncWaiterResult.getException()); in testAsyncWaiterClosingWaitingHandle()
696 assertEquals(null, asyncWaiterResult.getException()); in testAsyncWaiterClosingWaitingHandle()
[all …]
/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/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.java53 filterLineNo(failure.getException().getMessage())); in lists_all_unused_stubs_cleanly()
/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/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java252 getException(rc); in encode()
256 private static void getException(int rc) in getException() method in PunycodeReference
292 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/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DWrappedRuntimeException.java77 public Exception getException() in getException() method in WrappedRuntimeException
/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/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.java81 TaggedObject exception = eventException.getException(); in checkEvent()
/external/python/cpython2/Lib/xml/sax/
D_exceptions.py30 def getException(self): member in SAXException

123