/external/truth/core/src/test/java/com/google/common/truth/ |
D | StackTraceCleanerTest.java | 51 assertThat(failure.getStackTrace()).hasLength(1); in realWorld() 57 assertThat(failure.getStackTrace().length).isIn(Range.closed(3, 4)); in realWorld() 66 assertThat(throwable.getStackTrace()).isEqualTo(new StackTraceElement[0]); in emptyTrace() 83 assertThat(throwable.getStackTrace()) in collapseStreaks() 95 assertThat(expectFailure.getFailure().getStackTrace()[0].getClassName()) in assertionsActuallyUseCleaner() 102 assertThat(expectFailure.getFailure().getStackTrace()[0].getClassName()) in assertionsActuallyUseCleaner_ComparisonFailure() 122 assertThat(throwable.getStackTrace()) in dontCollapseStreaksOfOneFrame() 152 assertThat(throwable.getStackTrace()) in mixedStreaks() 171 assertThat(throwable.getStackTrace()) in classNestedInSubject() 195 assertThat(throwable.getStackTrace()) in removesTestingAndReflectiveFramesOnBottom() [all …]
|
D | ExpectWithStackTest.java | 41 assertThat(expected.getStackTrace()).hasLength(0); in testExpectTrace_simpleCase() 57 assertThat(expected.getStackTrace()).hasLength(0); in testExpectTrace_loop() 76 assertThat(expected.getStackTrace()).hasLength(0); in testExpectTrace_callerException() 94 .that(expected.getStackTrace().length) in testExpectTrace_onlyCallerException()
|
/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/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/replay/ |
D | Replayer.java | 141 if (t.getStackTrace() == null || t.getStackTrace().length == 0) in filterOutOwnStackTraceElements() 143 StackTraceElement lowestFrame = t.getStackTrace()[t.getStackTrace().length - 1]; in filterOutOwnStackTraceElements() 147 for (int i = t.getStackTrace().length - 1; i >= 0; i--) { in filterOutOwnStackTraceElements() 148 StackTraceElement frame = t.getStackTrace()[i]; in filterOutOwnStackTraceElements() 151 t.setStackTrace(Arrays.copyOfRange(t.getStackTrace(), 0, i + 1)); in filterOutOwnStackTraceElements()
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/exception/ |
D | ContextedExceptionTest.java | 46 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedException() 53 assertEquals("", ExceptionUtils.getStackTrace(null), "Empty response."); in testNullException() 61 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionString() 69 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionThrowable() 79 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionStringThrowable() 90 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionStringThrowableContext()
|
D | ContextedRuntimeExceptionTest.java | 46 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedException() 56 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionString() 64 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionThrowable() 74 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionStringThrowable() 89 final String trace = ExceptionUtils.getStackTrace(exceptionContext); in testContextedExceptionStringThrowableContext()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
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()
|
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()
|
/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/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/ |
D | Evaluate.java | 94 rsvc.getLogContext().getStackTrace(), in init() 108 rsvc.getLogContext().getStackTrace(), in init() 121 rsvc.getLogContext().getStackTrace(), in init() 182 … throw new ParseErrorException( pex.getMessage(), info, rsvc.getLogContext().getStackTrace() ); in render() 203 … throw new ParseErrorException( pex.getMessage(), info, rsvc.getLogContext().getStackTrace() ); in render() 226 … throw new ParseErrorException( pex.getMessage(), info, rsvc.getLogContext().getStackTrace() ); in render()
|
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/app/event/ |
D | EventHandlerUtil.java | 74 …throw new VelocityException("Exception in event handler.",e, rsvc.getLogContext().getStackTrace()); in referenceInsert() 120 …row new VelocityException("Exception in event handler.", ex, rsvc.getLogContext().getStackTrace()); in methodException() 168 …hrow new VelocityException("Exception in event handler.", e, rsvc.getLogContext().getStackTrace()); in includeEvent() 205 …hrow new VelocityException("Exception in event handler.", e, rsvc.getLogContext().getStackTrace()); in invalidGetMethod() 240 …hrow new VelocityException("Exception in event handler.", e, rsvc.getLogContext().getStackTrace()); in invalidSetMethod() 276 …hrow new VelocityException("Exception in event handler.", e, rsvc.getLogContext().getStackTrace()); in invalidMethod()
|
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/node/ |
D | ASTIdentifier.java | 189 throw new VelocityException(msg, e, rsvc.getLogContext().getStackTrace()); in execute() 202 null, rsvc.getLogContext().getStackTrace(), identifier, in execute() 246 …ite.getTargetException(), rsvc.getLogContext().getStackTrace(), vg.getMethodName(), getTemplateNam… in execute() 260 …ite.getTargetException(), rsvc.getLogContext().getStackTrace(), vg.getMethodName(), getTemplateNam… in execute() 282 throw new VelocityException(msg, e, rsvc.getLogContext().getStackTrace()); in execute()
|
D | ASTIndex.java | 128 null, node.getRuntimeServices().getLogContext().getStackTrace()); in adjMinusIndexArg() 140 node.getRuntimeServices().getLogContext().getStackTrace()); in adjMinusIndexArg() 154 null, node.getRuntimeServices().getLogContext().getStackTrace()); in adjMinusIndexArg() 221 throw new VelocityException(msg, e, rsvc.getLogContext().getStackTrace()); in execute()
|
D | ASTReference.java | 365 null, rsvc.getLogContext().getStackTrace()); in execute() 574 , null, rsvc.getLogContext().getStackTrace()); in render() 585 , null, rsvc.getLogContext().getStackTrace()); in render() 689 + StringUtils.formatFileString(this), e, rsvc.getLogContext().getStackTrace()); in evaluate() 779 …+ name + "' on a null value", null, rsvc.getLogContext().getStackTrace(), name, uberInfo.getTempla… in setValue() 830 , null, rsvc.getLogContext().getStackTrace()); in setValue() 851 …e.getCause(), rsvc.getLogContext().getStackTrace(), identifier, astIndex.getTemplateName(), astInd… in setValue() 876 …not contain property '" + identifier + "'", null, rsvc.getLogContext().getStackTrace(), identifier, in setValue() 898 …ite.getTargetException(), rsvc.getLogContext().getStackTrace(), identifier, getTemplateName(), thi… in setValue() 915 throw new VelocityException(msg, e, rsvc.getLogContext().getStackTrace()); in setValue() [all …]
|
/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/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | AdditionalFailureInfoTest.java | 62 assertThat(throwable.getStackTrace()).isEqualTo(originalAssertionError.getStackTrace()); in extraInfoSet_addsInfoToAssertionErrorAndSuppressesClassName() 82 assertThat(throwable.getStackTrace()).hasLength(1); in extraInfoSet_transformsEverythingElseToExceptionAddsInfoAndTruncatesStackTrace() 84 assertThat(throwable.getStackTrace()[0].getClassName()) in extraInfoSet_transformsEverythingElseToExceptionAddsInfoAndTruncatesStackTrace()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | AdditionalFailureInfoTest.java | 62 assertThat(throwable.getStackTrace()).isEqualTo(originalAssertionError.getStackTrace()); in extraInfoSet_addsInfoToAssertionErrorAndSuppressesClassName() 82 assertThat(throwable.getStackTrace()).hasLength(1); in extraInfoSet_transformsEverythingElseToExceptionAddsInfoAndTruncatesStackTrace() 84 assertThat(throwable.getStackTrace()[0].getClassName()) in extraInfoSet_transformsEverythingElseToExceptionAddsInfoAndTruncatesStackTrace()
|
/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/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/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | StackTracker.java | 107 return stackToString(Thread.currentThread().getStackTrace(), 2); in currentStack() 117 return Thread.currentThread().getStackTrace()[3 + skip]; in currentElement() 130 final StackTraceElement stacks[] = Thread.currentThread().getStackTrace(); in firstCallerMatching()
|