Home
last modified time | relevance | path

Searched refs:stackTrace (Results 1 – 25 of 57) sorted by relevance

123

/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DFailureLogMessage.java31 private final String stackTrace; field in FailureLogMessage
37 public FailureLogMessage(String stackTrace) { in FailureLogMessage() argument
38 this.stackTrace = checkNotNull(stackTrace); in FailureLogMessage()
41 public String stackTrace() { in stackTrace() method in FailureLogMessage
42 return stackTrace; in stackTrace()
52 return stackTrace.hashCode(); in hashCode()
61 return this.stackTrace.equals(that.stackTrace); in equals()
/external/testng/src/main/java/org/testng/reporters/
DTextReporter.java53 String stackTrace= ""; in logResults() local
56 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
63 stackTrace, in logResults()
88 String stackTrace= ""; in logResults() local
91 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
95 logResult("FAILED", tr, stackTrace); in logResults()
101 logResult("SKIPPED", tr, throwable != null ? Utils.stackTrace(throwable, false)[0] : null); in logResults()
124 private void logResult(String status, ITestResult tr, String stackTrace) { in logResult() argument
125 logResult(status, tr.getName(), tr.getMethod().getDescription(), stackTrace, in logResult()
140 String description, String stackTrace, in logResult() argument
[all …]
DVerboseReporter.java167 String stackTrace = ""; in logTestResult() local
174 stackTrace = itr.getThrowable() != null in logTestResult()
175 ? Utils.stackTrace(itr.getThrowable(), false)[0] : ""; in logTestResult()
179 stackTrace = itr.getThrowable() != null in logTestResult()
180 ? Utils.stackTrace(itr.getThrowable(), false)[0] : ""; in logTestResult()
240 if (!Utils.isStringEmpty(stackTrace)) { in logTestResult()
241 …sb.append("\n").append(stackTrace.substring(0, stackTrace.lastIndexOf(System.getProperty("line.sep… in logTestResult()
DJUnitReportReporter.java125 testTag.stackTrace = sw.toString(); in generateReport()
153 if (testTag.stackTrace == null) { in generateReport()
165 xsb.addCDATA(testTag.stackTrace); in generateReport()
251 public String stackTrace; field in JUnitReportReporter.TestTag
DTestHTMLReporter.java148 String stackTrace = ""; in generateTable() local
155 String[] stackTraces = Utils.stackTrace(tw, true); in generateTable()
157 stackTrace = "<div><pre>" + stackTraces[0] + "</pre></div>"; in generateTable()
159 sb.append(stackTrace); in generateTable()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DShadowWranglerIntegrationTest.java131 StackTraceElement[] stackTrace = e.getStackTrace(); in shouldRemoveNoiseFromShadowedStackTraces() local
133 assertThat(stackTrace[0].getClassName()).isEqualTo(ShadowThrowInShadowMethod.class.getName()); in shouldRemoveNoiseFromShadowedStackTraces()
134 assertThat(stackTrace[0].getMethodName()).isEqualTo("method"); in shouldRemoveNoiseFromShadowedStackTraces()
135 assertThat(stackTrace[0].getLineNumber()).isGreaterThan(0); in shouldRemoveNoiseFromShadowedStackTraces()
137 assertThat(stackTrace[1].getClassName()).isEqualTo(ThrowInShadowMethod.class.getName()); in shouldRemoveNoiseFromShadowedStackTraces()
138 assertThat(stackTrace[1].getMethodName()).isEqualTo("method"); in shouldRemoveNoiseFromShadowedStackTraces()
139 assertThat(stackTrace[1].getLineNumber()).isLessThan(0); in shouldRemoveNoiseFromShadowedStackTraces()
141 … assertThat(stackTrace[2].getClassName()).isEqualTo(ShadowWranglerIntegrationTest.class.getName()); in shouldRemoveNoiseFromShadowedStackTraces()
142 assertThat(stackTrace[2].getMethodName()).isEqualTo("shouldRemoveNoiseFromShadowedStackTraces"); in shouldRemoveNoiseFromShadowedStackTraces()
143 assertThat(stackTrace[2].getLineNumber()).isGreaterThan(0); in shouldRemoveNoiseFromShadowedStackTraces()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DProxyWorkerException.java28 ProxyWorkerException(String stackTrace) { in ProxyWorkerException() argument
29 super(formatMesssage(stackTrace)); in ProxyWorkerException()
32 private static String formatMesssage(String stackTrace) { in formatMesssage() argument
33 StringBuilder builder = new StringBuilder(stackTrace.length() + 512) in formatMesssage()
35 Joiner.on("\n\t").appendTo(builder, Splitter.on('\n').split(stackTrace)); in formatMesssage()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DStackTraceRecovery.kt37 val stackTrace = stackTrace in sanitizeStackTrace() constant
38 val size = stackTrace.size in sanitizeStackTrace()
39 val lastIntrinsic = stackTrace.frameIndex(stackTraceRecoveryClassName) in sanitizeStackTrace()
41 val endIndex = stackTrace.frameIndex(baseContinuationImplClassName) in sanitizeStackTrace()
47 stackTrace[startIndex + it - 1] in sanitizeStackTrace()
101 val causeTrace = cause.stackTrace in createFinalException()
104 result.stackTrace = resultStackTrace.toTypedArray() in createFinalException()
117 result.stackTrace = mergedStackTrace in createFinalException()
128 val currentTrace = stackTrace in causeAndStacktrace()
170 if (exception.stackTrace.any { it.isArtificial() }) { in unwrap()
/external/proguard/src/proguard/gui/
DReTraceRunnable.java42 private final String stackTrace; field in ReTraceRunnable
55 String stackTrace) in ReTraceRunnable() argument
60 this.stackTrace = stackTrace; in ReTraceRunnable()
78 new ByteArrayInputStream(stackTrace.getBytes()); in run()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs69 StackTrace stackTrace = new StackTrace(e); in GetLastNonErrorManagerCodeLocation()
71 for (; i < stackTrace.FrameCount; i++) in GetLastNonErrorManagerCodeLocation()
73 StackFrame f = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
79 StackFrame location = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/junit4/
DCoroutinesTimeoutStatement.kt81 val stackTrace = thread.stackTrace in createTimeoutException() constant
83 exception.stackTrace = stackTrace in createTimeoutException()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllAllocationsRecorder.java48 StackTraceElement[] stackTrace = new Exception().getStackTrace();
51 for (int i = startIndex; i < stackTrace.length; i++) {
52 StackTraceElement element = stackTrace[i];
67 new Allocation(desc, size, asList(stackTrace).subList(startIndex, endIndex + 1)));
/external/testng/src/main/java/org/testng/remote/strprotocol/
DTestResultMessage.java51 final String stackTrace, in TestResultMessage() argument
60 stackTrace, in TestResultMessage()
81 String stackTrace = null; in TestResultMessage() local
90 stackTrace = sw.getBuffer().toString(); in TestResultMessage()
93 stackTrace= "unknown stack trace"; in TestResultMessage()
98 stackTrace= throwable.getMessage(); in TestResultMessage()
103 stackTrace = sw.toString(); in TestResultMessage()
111 MessageHelper.replaceUnicodeCharactersWithAscii(stackTrace), in TestResultMessage()
134 final String stackTrace, in init() argument
148 m_stackTrace = stackTrace; in init()
/external/libchrome/base/android/java/src/org/chromium/base/
DJavaExceptionReporter.java52 public static void reportStackTrace(String stackTrace) { in reportStackTrace() argument
54 nativeReportJavaStackTrace(stackTrace); in reportStackTrace()
64 private static native void nativeReportJavaStackTrace(String stackTrace); in nativeReportJavaStackTrace() argument
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/
DDebugProbesImpl.kt260 val actualTrace = runCatching { thread.stackTrace }.getOrNull() in <lambda>()
468 val stackTrace = throwable.stackTrace in <lambda>() constant
469 val size = stackTrace.size in <lambda>()
470 …val probeIndex = stackTrace.indexOfLast { it.className == "kotlin.coroutines.jvm.internal.DebugPro… in <lambda>()
474 … if (it == 0) createArtificialFrame(ARTIFICIAL_FRAME_MESSAGE) else stackTrace[it + probeIndex] in <lambda>()
487 val element = stackTrace[i] in <lambda>()
497 } else if (stackTrace[i + 1].isInternalMethod) { in <lambda>()
506 result += stackTrace[size - 1] in <lambda>()
/external/antlr/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg38 CANNOT_WRITE_FILE(arg,exception,stackTrace) ::= <<
40 <stackTrace; separator="\n">
42 CANNOT_CLOSE_FILE(arg,exception,stackTrace) ::= "cannot close file <arg>: <exception>"
44 ERROR_READING_TOKENS_FILE(arg,exception,stackTrace) ::= <<
46 <stackTrace; separator="\n">
48 DIR_NOT_FOUND(arg,exception,stackTrace) ::= "directory not found: <arg>"
49 OUTPUT_DIR_IS_FILE(arg,exception,stackTrace) ::= "output directory is a file: <arg>"
50 CANNOT_OPEN_FILE(arg,exception,stackTrace) ::= "cannot find or open file: <arg><if(exception)>; rea…
53 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
55 <stackTrace; separator="\n">
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java143 String stackTrace = body.get("error.stacktrace"); in generateGithubIssueBody() local
144 if (stackTrace == null || stackTrace.isEmpty()) { in generateGithubIssueBody()
145 stackTrace = "invalid stacktrace"; in generateGithubIssueBody()
159 result += "\n```\n" + stackTrace + "\n```\n"; in generateGithubIssueBody()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DExceptionExtensions.cs52 Array stackTrace = new StackTrace(true).GetFrames(); in getStackTrace()
53 Array.Copy(stackTrace, 1, frames, 0, stackTrace.Length); in getStackTrace()
/external/testng/src/main/java/org/testng/reporters/jq/
DSuitePanel.java86 StringBuilder stackTrace = new StringBuilder(); in generateMethod() local
87 stackTrace.append(Utils.stackTrace(tr.getThrowable(), true)[0]); in generateMethod()
88 xsb.addOptional(D, stackTrace.toString() + "\n", in generateMethod()
/external/cldr/tools/java/org/unicode/cldr/util/
DStackTracker.java65 public static String stackToString(StackTraceElement[] stackTrace, int skip) { in stackToString() argument
67 for (int i = skip; i < stackTrace.length; i++) { in stackToString()
68 sb.append(stackTrace[i].toString() + "\n"); in stackToString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/flow/internal/
DFlowExceptions.kt17 stackTrace = emptyArray() in fillInStackTrace()
26 stackTrace = emptyArray() in fillInStackTrace()
/external/junit/src/main/java/org/junit/internal/runners/statements/
DFailOnTimeout.java133 StackTraceElement[] stackTrace = thread.getStackTrace(); in createTimeoutException() local
135 if (stackTrace != null) { in createTimeoutException()
136 currThreadException.setStackTrace(stackTrace); in createTimeoutException()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DStackTraceElementTest.java15 public StackTraceElement[] stackTrace; field in StackTraceElementTest.ErrorObject
22 stackTrace = throwable.getStackTrace(); in ErrorObject()
/external/libchrome/base/android/
Djava_exception_reporter.cc66 const JavaParamRef<jstring>& stackTrace) { in JNI_JavaExceptionReporter_ReportJavaStackTrace() argument
67 SetJavaException(ConvertJavaStringToUTF8(stackTrace).c_str()); in JNI_JavaExceptionReporter_ReportJavaStackTrace()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestUtility.java263 String stackTrace = os.toString(); in run() local
264 … showError(errorMessage + " Stack trace: " + stackTrace.substring(0, 500)); in run()
277 String stackTrace = os.toString(); in run()
278 … showError("MAJOR ERROR: " + e.toString() + " Stack trace: " + stackTrace.substring(0,500)); in run()

123