/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/ |
D | CleanStackTrace.java | 51 assertEquals(here.getStackTrace()[0].getMethodName(), verifyLocation in cleanStackTraceAbstractClass() 52 .getStackTrace()[0].getMethodName()); in cleanStackTraceAbstractClass() 69 if (verifyLocation.getStackTrace()[i].getMethodName().equals(here in cleanStackTraceRegularClass() 70 .getStackTrace()[0].getMethodName())) { in cleanStackTraceRegularClass() 90 assertEquals(here.getStackTrace()[0].getMethodName(), verifyLocation in cleanStackTraceInterface() 91 .getStackTrace()[0].getMethodName()); in cleanStackTraceInterface()
|
D | GeneralMocking.java | 131 e.getMessage().contains(here.getStackTrace()[0].getMethodName())); in verifyAdditionalInvocations() 143 assertEquals("throwThrowable", e.getStackTrace()[0].getMethodName()); in spyThrowingMethod() 158 assertEquals("throwOutOfMemoryError", e.getStackTrace()[0].getMethodName()); in spyErrorMethod() 170 assertEquals("throwNullPointerException", e.getStackTrace()[0].getMethodName()); in spyExceptingMethod() 183 assertEquals("callAbstractRealMethod", e.getStackTrace()[0].getMethodName()); in callAbstractRealMethod()
|
/external/guava/android/guava-tests/benchmark/com/google/common/base/ |
D | LazyStackTraceBenchmark.java | 48 List<StackTraceElement> getStackTrace(Throwable t) { in getStackTrace() method 54 List<StackTraceElement> getStackTrace(Throwable t) { in getStackTrace() method 55 return asList(t.getStackTrace()); in getStackTrace() 64 for (StackTraceElement ste : getStackTrace(t)) { in timeIt() 74 abstract List<StackTraceElement> getStackTrace(Throwable t); in getStackTrace() method in LazyStackTraceBenchmark.Mode 79 recursionCount = stackDepth - new Throwable().getStackTrace().length - 1; in doBefore()
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | LazyStackTraceBenchmark.java | 48 List<StackTraceElement> getStackTrace(Throwable t) { in getStackTrace() method 54 List<StackTraceElement> getStackTrace(Throwable t) { in getStackTrace() method 55 return asList(t.getStackTrace()); in getStackTrace() 64 for (StackTraceElement ste : getStackTrace(t)) { in timeIt() 74 abstract List<StackTraceElement> getStackTrace(Throwable t); in getStackTrace() method in LazyStackTraceBenchmark.Mode 79 recursionCount = stackDepth - new Throwable().getStackTrace().length - 1; in doBefore()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | StatusExceptionTest.java | 34 new StatusException(Status.CANCELLED, null, false) {}.getStackTrace(); in internalCtorRemovesStack() 42 new StatusException(Status.CANCELLED, null) {}.getStackTrace(); in normalCtorKeepsStack() 49 StackTraceElement[] trace = new StatusException(Status.CANCELLED) {}.getStackTrace(); in extendPreservesStack() 65 assertThat(exception.getStackTrace()).asList().containsExactly(element); in extendAndOverridePreservesStack()
|
D | StatusRuntimeExceptionTest.java | 34 new StatusRuntimeException(Status.CANCELLED, null, false) {}.getStackTrace(); in internalCtorRemovesStack() 42 new StatusRuntimeException(Status.CANCELLED, null) {}.getStackTrace(); in normalCtorKeepsStack() 49 StackTraceElement[] trace = new StatusRuntimeException(Status.CANCELLED) {}.getStackTrace(); in extendPreservesStack() 66 assertThat(exception.getStackTrace()).asList().containsExactly(element); in extendAndOverridePreservesStack()
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/ |
D | ThrowsExceptionTest.java | 37 assertThat(throwable.getStackTrace()).describedAs("no stack trace, it's mock").isNull(); in should_throw_mock_exception_without_stacktrace() 46 …assertThat(throwableToRaise.getStackTrace()[0].getClassName()).isEqualTo(this.getClass().getName()… in should_fill_in_exception_stacktrace() 47 …assertThat(throwableToRaise.getStackTrace()[0].getMethodName()).isEqualTo("should_fill_in_exceptio… in should_fill_in_exception_stacktrace() 56 …assertThat(throwableToRaise.getStackTrace()[0].getClassName()).isEqualTo(ThrowsException.class.get… in should_fill_in_exception_stacktrace() 57 assertThat(throwableToRaise.getStackTrace()[0].getMethodName()).isEqualTo("answer"); in should_fill_in_exception_stacktrace()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/ |
D | ExceptionDeserializationTest.java | 114 assertEquals(exp.getStackTrace().length, cloned.getStackTrace().length); in testSingleValueArrayDeserialization() 115 for (int i = 0; i < exp.getStackTrace().length; i ++) { in testSingleValueArrayDeserialization() 116 _assertEquality(i, exp.getStackTrace()[i], cloned.getStackTrace()[i]); in testSingleValueArrayDeserialization()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | Conditions.java | 24 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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | Problem.java | 51 for (int i = 0; i < cause.getStackTrace().length; i++) { in toString() 52 StackTraceElement ste = cause.getStackTrace()[i]; in toString() 54 if (i + 1 != cause.getStackTrace().length) in toString()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ElementSourceTest.java | 46 assertEquals(10 /* call stack size */, elementSource.getStackTrace().length); in testCallStackSize() 65 StackTraceElement[] callStack = elementSource.getStackTrace(); in testGetCallStack_IntegrationTest() 84 int skippedCallStackSize = new Throwable().getStackTrace().length - 1; in testGetCallStack_IntegrationTest() 85 assertEquals(skippedCallStackSize + 15, elementSource.getStackTrace().length); in testGetCallStack_IntegrationTest()
|
D | ModuleSourceTest.java | 43 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/ |
D | MockitoAssertionError.java | 32 unfilteredStackTrace = getStackTrace(); in MockitoAssertionError() 46 super.setStackTrace(error.getStackTrace()); in MockitoAssertionError()
|
D | MockitoSerializationIssue.java | 34 unfilteredStackTrace = super.getStackTrace(); in filterStackTrace()
|
D | MockitoException.java | 41 unfilteredStackTrace = getStackTrace(); in filterStackTrace()
|
/external/testng/src/main/java/org/testng/ |
D | SkipException.java | 48 StackTraceElement[] originalStack= getStackTrace(); in reduceStackTrace() 51 newStack[0]= getStackTrace()[0]; in reduceStackTrace()
|
/external/mockito/src/test/java/org/mockito/exceptions/base/ |
D | MockitoSerializationIssueTest.java | 27 …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/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | ExecutionSequencerTest.java | 263 return Thread.currentThread().getStackTrace().length; 269 .isLessThan(Thread.currentThread().getStackTrace().length + 100); 292 return Thread.currentThread().getStackTrace().length; 298 .isLessThan(Thread.currentThread().getStackTrace().length + 100); 343 return Thread.currentThread().getStackTrace().length; 379 return Thread.currentThread().getStackTrace().length;
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ExecutionSequencerTest.java | 263 return Thread.currentThread().getStackTrace().length; 269 .isLessThan(Thread.currentThread().getStackTrace().length + 100); 292 return Thread.currentThread().getStackTrace().length; 298 .isLessThan(Thread.currentThread().getStackTrace().length + 100); 343 return Thread.currentThread().getStackTrace().length; 379 return Thread.currentThread().getStackTrace().length;
|
/external/mockito/src/test/java/org/mockito/internal/junit/util/ |
D | JUnitFailureHackerTest.java | 33 …Assertions.assertThat(actualExc.getStackTrace()).isEqualTo(failure.getException().getStackTrace()); in shouldReplaceException()
|
/external/guice/core/src/com/google/inject/spi/ |
D | ElementSource.java | 170 public StackTraceElement[] getStackTrace() { in getStackTrace() method in ElementSource 181 System.arraycopy(moduleSource.getStackTrace(), 0, callStack, chunkSize, modulesCallStackSize); in getStackTrace()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | StackTracker.java | 106 return stackToString(Thread.currentThread().getStackTrace(), 2); in currentStack() 116 return Thread.currentThread().getStackTrace()[3 + skip]; in currentElement()
|
/external/guice/core/test/com/google/inject/ |
D | MethodInterceptionTest.java | 234 StackTraceElement[] stackTraceElement = t.getStackTrace(); in testInterceptedMethodThrows() 285 lastElements = Thread.currentThread().getStackTrace(); in foo() 290 lastElements = Thread.currentThread().getStackTrace(); in bar() 295 lastElements = Thread.currentThread().getStackTrace(); in explode()
|
/external/webrtc/rtc_base/java/src/org/webrtc/ |
D | ThreadUtils.java | 186 concatStackTraces(caughtException.e.getStackTrace(), runtimeException.getStackTrace())); in invokeAtFrontUninterruptibly()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/exc/ |
D | Utility.java | 34 public static String getStackTrace(final Throwable t) { in getStackTrace() method in Utility
|