Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarder.java60 listener.testFailed(getTestId(test), getStackTrace(t)); in addError()
70 listener.testFailed(getTestId(test), getStackTrace(t)); in addFailure()
154 private String getStackTrace(Throwable throwable) { in getStackTrace() method in JUnitToInvocationResultForwarder
DJUnit4ResultForwarder.java130 mListener.testAssumptionFailure(testid, StreamUtil.getStackTrace(t)); in handleFailures()
132 mListener.testFailed(testid, StreamUtil.getStackTrace(t)); in handleFailures()
137 mListener.testFailed(testid, StreamUtil.getStackTrace(multiException)); in handleFailures()
DTestRunResult.java409 if (testResultEntry.getValue().getStackTrace() != null) { in merge()
410 if (existingResult.getStackTrace() != null) { in merge()
414 existingResult.getStackTrace(), in merge()
415 testResultEntry.getValue().getStackTrace()); in merge()
419 testResultEntry.getValue().getStackTrace()); in merge()
DTestResult.java54 public String getStackTrace() { in getStackTrace() method in TestResult
162 newResult.setStackTrace(result.getStackTrace()); in clone()
DEmailResultReporter.java241 bodyBuilder.append(StreamUtil.getStackTrace(mInvocationThrowable)); in generateEmailBody()
256 tr.getStackTrace())); in generateEmailBody()
DConsoleResultReporter.java136 String stack = testResult.getStackTrace(); in getTestSummary()
DXmlResultReporter.java191 String stackText = sanitize(testResult.getStackTrace()); in print()
DMetricsXMLResultReporter.java161 String stackText = sanitize(testResult.getStackTrace()); in printTestResults()
/tools/tradefederation/core/prod-tests/src/com/android/sdk/
DEmulatorBootTest.java111 listener.testFailed(bootTest, StreamUtil.getStackTrace(b)); in run()
117 listener.testFailed(bootTest, StreamUtil.getStackTrace(e)); in run()
120 listener.testFailed(bootTest, StreamUtil.getStackTrace(e)); in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DNoisyDryRunTest.java75 listener.testFailed(parseFileTest, StreamUtil.getStackTrace(e)); in testCommandFile()
134 listener.testFailed(parseCmdTest, StreamUtil.getStackTrace(e)); in testCommandLines()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java247 assertEquals(null, test1Result.getStackTrace()); in testMergeRetriedRunResults_fullMergeLogicCheck()
248 assertEquals("flaky 1\nflaky 2", test2Result.getStackTrace()); in testMergeRetriedRunResults_fullMergeLogicCheck()
249 assertEquals("bad_code1\nbad_code2\nbad_code3", test3Result.getStackTrace()); in testMergeRetriedRunResults_fullMergeLogicCheck()
295 assertEquals("Second run failed.\nFourth run failed.", testResult.getStackTrace()); in testMergeRetriedRunResults_checkMergingStackTraces()
/tools/tradefederation/core/src/com/android/tradefed/log/
DLogUtil.java335 StackTraceElement[] frames = (new Throwable()).getStackTrace(); in getClassName()
364 StackTraceElement[] frames = t.getStackTrace(); in findCallerClassName()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java179 testEntry.getValue().getStackTrace()); in forwardTestResults()
183 testEntry.getValue().getStackTrace()); in forwardTestResults()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java430 getId(), StreamUtil.getStackTrace(tearDownException)); in run()
490 args.put("trace", StreamUtil.getStackTrace(t)); in logDeviceEvent()
551 listener.testFailed(testEntry.getKey(), testEntry.getValue().getStackTrace()); in forwardTestResults()
555 testEntry.getKey(), testEntry.getValue().getStackTrace()); in forwardTestResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DLogUtilFuncTest.java144 Arrays.asList(t.getStackTrace())); in testCLog_findCallerClassName_callerDeeperInStackTrace()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java524 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
619 CLog.logAndDisplay(LogLevel.WARN, testResult.getStackTrace()); in printTestResult()
/tools/tradefederation/core/src/com/android/tradefed/util/
DStreamUtil.java192 public static String getStackTrace(Throwable throwable) { in getStackTrace() method in StreamUtil
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java212 assertEquals(stacktrace, testResults.get(fakeTestCase).getStackTrace()); in testRun_withMultipleRun()
/tools/dexter/testdata/expected/
Dhello_nodebug.asm143 8| invoke-virtual {v5}, java.lang.Throwable.getStackTrace():java.lang.StackTraceElement[]
Dhello.asm206 8| invoke-virtual {v5}, java.lang.Throwable.getStackTrace():java.lang.StackTraceElement[]
Dhello_nodebug.scratch_regs176 8| invoke-virtual {v5}, java.lang.Throwable.getStackTrace():java.lang.StackTraceElement[]
Dhello_nodebug.verbose_cfg252 8| invoke-virtual {v5}, java.lang.Throwable.getStackTrace():java.lang.StackTraceElement[]
Dhello.rewrite206 8| invoke-virtual {v5}, java.lang.Throwable.getStackTrace():java.lang.StackTraceElement[]
Dhello.scratch_regs239 8| invoke-virtual {v5}, java.lang.Throwable.getStackTrace():java.lang.StackTraceElement[]
Dhello.entry_hook215 11| invoke-virtual {v5}, java.lang.Throwable.getStackTrace():java.lang.StackTraceElement[]

12