Home
last modified time | relevance | path

Searched refs:getStackTrace (Results 1 – 25 of 104) sorted by relevance

12345

/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DThrowsExceptionTest.java31 assertThat(throwable.getStackTrace()).describedAs("no stack trace, it's mock").isNull(); in should_throw_mock_exception_without_stacktrace()
40 …assertThat(throwableToRaise.getStackTrace()[0].getClassName()).isEqualTo(this.getClass().getName()… in should_fill_in_exception_stacktrace()
41 …assertThat(throwableToRaise.getStackTrace()[0].getMethodName()).isEqualTo("should_fill_in_exceptio… in should_fill_in_exception_stacktrace()
50 …assertThat(throwableToRaise.getStackTrace()[0].getClassName()).isEqualTo(ThrowsException.class.get… in should_fill_in_exception_stacktrace()
51 assertThat(throwableToRaise.getStackTrace()[0].getMethodName()).isEqualTo("answer"); in should_fill_in_exception_stacktrace()
/external/mockito/src/test/java/org/mockitoutil/
DConditions.java24 StackTraceElement[] trace = traceElements.getStackTrace(); in onlyThoseClassesInStackTrace()
29 Arrays.toString(traceElements.getStackTrace())) in onlyThoseClassesInStackTrace()
71 actualMethodAtIndex = throwable.getStackTrace()[stackTraceIndex].getMethodName();
113 StackTraceElement[] trace = value.getStackTrace();
/external/guice/core/test/com/google/inject/spi/
DElementSourceTest.java40 assertEquals(10 /* call stack size */, elementSource.getStackTrace().length); in testCallStackSize()
59 StackTraceElement[] callStack = elementSource.getStackTrace(); in testGetCallStack_IntegrationTest()
77 int skippedCallStackSize = new Throwable().getStackTrace().length - 1; in testGetCallStack_IntegrationTest()
78 assertEquals(skippedCallStackSize + 15, elementSource.getStackTrace().length); in testGetCallStack_IntegrationTest()
DModuleSourceTest.java43 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeOne()
51 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeTwo()
64 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeThree()
/external/mockito/src/main/java/org/mockito/exceptions/base/
DMockitoAssertionError.java32 unfilteredStackTrace = getStackTrace(); in MockitoAssertionError()
46 super.setStackTrace(error.getStackTrace()); in MockitoAssertionError()
DMockitoSerializationIssue.java34 unfilteredStackTrace = super.getStackTrace(); in filterStackTrace()
DMockitoException.java41 unfilteredStackTrace = getStackTrace(); in filterStackTrace()
/external/testng/src/main/java/org/testng/
DSkipException.java48 StackTraceElement[] originalStack= getStackTrace(); in reduceStackTrace()
51 newStack[0]= getStackTrace()[0]; in reduceStackTrace()
/external/mockito/src/test/java/org/mockito/exceptions/base/
DMockitoSerializationIssueTest.java27 …assertThat(Arrays.toString(issue.getStackTrace())).doesNotContain("MockitoSerializationIssueTest"); in should_filter_out_test_class_from_stacktrace_when_clean_flag_is_true()
40 … assertThat(Arrays.toString(issue.getStackTrace())).contains("MockitoSerializationIssueTest"); in should_keep_executing_class_in_stacktrace_when_clean_flag_is_false()
/external/mockito/src/test/java/org/mockito/internal/junit/util/
DJUnitFailureHackerTest.java33 …Assertions.assertThat(actualExc.getStackTrace()).isEqualTo(failure.getException().getStackTrace()); in shouldReplaceException()
/external/guice/core/src/com/google/inject/spi/
DElementSource.java173 public StackTraceElement[] getStackTrace() { in getStackTrace() method in ElementSource
181 System.arraycopy(moduleSource.getStackTrace(), 0, callStack, chunkSize, modulesCallStackSize); in getStackTrace()
/external/guice/core/test/com/google/inject/
DMethodInterceptionTest.java194 StackTraceElement[] stackTraceElement = t.getStackTrace(); in testInterceptedMethodThrows()
241 lastElements = Thread.currentThread().getStackTrace(); in foo()
245 lastElements = Thread.currentThread().getStackTrace(); in bar()
249 lastElements = Thread.currentThread().getStackTrace(); in explode()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractFutureTest.java160 assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get"); in checkStackTrace()
165 StackTraceElement[] elements = e.getStackTrace(); in findStackFrame()
/external/guava/guava/src/com/google/common/util/concurrent/
DSimpleTimeLimiter.java154 StackTraceElement[] combined = ObjectArrays.concat(cause.getStackTrace(), in throwCause()
155 e.getStackTrace(), StackTraceElement.class); in throwCause()
/external/mockito/src/main/java/org/mockito/internal/exceptions/stacktrace/
DConditionalStackTraceFilter.java23 StackTraceElement[] filtered = filter.filter(throwable.getStackTrace(), true); in filter()
/external/mockito/src/main/java/org/mockito/internal/debugging/
DLocationImpl.java29 … StackTraceElement[] filtered = stackTraceFilter.filter(stackTraceHolder.getStackTrace(), false); in toString()
/external/testng/src/test/java/test/testng317/
DClassB.java31 StackTraceElement[] sTrace = new Exception().getStackTrace(); in printMethod()
DClassA.java44 StackTraceElement[] sTrace = new Exception().getStackTrace(); in printMethod()
/external/mockito/src/main/java/org/mockito/exceptions/verification/junit/
DArgumentsAreDifferent.java24 unfilteredStackTrace = getStackTrace(); in ArgumentsAreDifferent()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DToolMessage.java71 st.add("stackTrace", e.getStackTrace()); in toString()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DExceptionExtensions.cs47 public static StackFrame[] getStackTrace(Exception e) { in getStackTrace() method in Antlr.Runtime.JavaExtensions.ExceptionExtensions
/external/testng/src/main/java/org/testng/internal/thread/
DExecutorAdapter.java58 result[i] = threads.get(i).getStackTrace(); in getStackTraces()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DExceptionExtensions.cs51 public static StackFrame[] getStackTrace( this Exception e ) in getStackTrace() method in Antlr.Runtime.JavaExtensions.ExceptionExtensions
/external/replicaisland/src/com/replica/replicaisland/
DConversationUtils.java81 DebugLog.e("LoadDialog", e.getStackTrace().toString()); in loadDialog()
/external/vogar/src/vogar/target/
DTargetMonitorRunListener.java84 StackTraceElement[] stackTraceElements = t.getStackTrace(); in prepareForDisplay()

12345