Home
last modified time | relevance | path

Searched refs:reporter (Results 1 – 25 of 48) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DConsoleResultReporterTest.java39 ConsoleResultReporter reporter = new ConsoleResultReporter(); in testGetInvocationSummary_empty() local
41 reporter.invocationStarted(nullContext); in testGetInvocationSummary_empty()
42 reporter.invocationEnded(0); in testGetInvocationSummary_empty()
43 assertEquals("No test results\n", reporter.getInvocationSummary()); in testGetInvocationSummary_empty()
50 ConsoleResultReporter reporter = new ConsoleResultReporter(); in testGetInvocationSummary_test_run_metrics() local
52 reporter.invocationStarted(nullContext); in testGetInvocationSummary_test_run_metrics()
53 reporter.testRunStarted("Test Run", 0); in testGetInvocationSummary_test_run_metrics()
57 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(metrics)); in testGetInvocationSummary_test_run_metrics()
58 reporter.invocationEnded(0); in testGetInvocationSummary_test_run_metrics()
64 reporter.getInvocationSummary()); in testGetInvocationSummary_test_run_metrics()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt680 reporter.report( in <lambda>()
727 reporter.report( in <lambda>()
742 reporter.report( in <lambda>()
752 reporter.report( in <lambda>()
762 reporter.report( in <lambda>()
775 val checkSystemApi = !reporter.isSuppressed(Errors.REQUIRES_PERMISSION) && in <lambda>()
777 val checkHiddenShowAnnotations = !reporter.isSuppressed(Errors.UNHIDDEN_SYSTEM_API) && in <lambda>()
792 reporter.report( in <lambda>()
807 reporter.report( in <lambda>()
869 reporter.report( in <lambda>()
[all …]
DKotlinInteropChecks.kt108 reporter.report( in ensureExceptionsDocumented()
114 reporter.report( in ensureExceptionsDocumented()
137 reporter.report( in ensureCompanionFieldJvmField()
142 reporter.report( in ensureCompanionFieldJvmField()
168 reporter.report(Errors.SAM_SHOULD_BE_LAST, method, message) in ensureLambdaLastParameter()
214 reporter.report( in ensureCompanionJvmStatic()
257 reporter.report( in ensureDefaultParamsHaveJvmOverloads()
279 reporter.report( in checkKotlinKeyword()
284 reporter.report( in checkKotlinKeyword()
DAndroidApiChecks.kt171 reporter.report(Errors.TODO, item, "Documentation mentions 'TODO'") in checkTodos()
196 reporter.report( in checkRequiresPermission()
206 reporter.report( in checkRequiresPermission()
228 reporter.report( in checkIntentAction()
234 reporter.report( in checkIntentAction()
243 reporter.report( in checkIntentAction()
274 reporter.report( in checkVariable()
285 reporter.report( in checkVariable()
DDocAnalyzer.kt137 reporter.report( in <lambda>()
325 reporter.report( in <lambda>()
330 reporter.report( in <lambda>()
340 reporter.report( in <lambda>()
423 reporter.report( in <lambda>()
447 reporter.report( in <lambda>()
456 reporter.report( in <lambda>()
593 if (reporter.isSuppressed(Errors.TYPO)) { in <lambda>()
609 reporter.report( in <lambda>()
741 reporter.report( in <lambda>()
[all …]
DArtifactTagger.kt69 reporter.report( in any()
83 reporter.report( in any()
110 reporter.report( in applyArtifactsFromSpec()
DExtractAnnotations.kt225 reporter.report( in <lambda>()
232 reporter.report( in <lambda>()
260 !reporter.isSuppressed(Errors.RETURNING_UNEXPECTED_CONSTANT) in <lambda>()
305 reporter.report( in <lambda>()
353 reporter.report( in <lambda>()
571 reporter.report( in <lambda>()
DNullabilityAnnotationsValidator.kt210 …fatalIssues.forEach { reporter.report(Errors.INVALID_NULLABILITY_ANNOTATION, it.method, it.toStrin… in <lambda>()
220reporter.report(Errors.INVALID_NULLABILITY_ANNOTATION_WARNING, it.method, "Nullability issue: $it") in <lambda>()
DStubWriter.kt109 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in writeDocOverview()
128 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in writePackageInfo()
188 reporter.report(Errors.IO_ERROR, sourceFile, "Cannot open file for write.") in visitClass()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java513 ProtoResultReporter reporter = in populateFakeResults() local
523 reporter.invocationStarted(context); in populateFakeResults()
529 reporter.testRunStarted(runName, numTests); in populateFakeResults()
532 reporter.testStarted(test); in populateFakeResults()
533 reporter.testEnded(test, new HashMap<String, Metric>()); in populateFakeResults()
537 reporter.testStarted(test); in populateFakeResults()
538 reporter.testFailed(test, "failure" + f); in populateFakeResults()
539 reporter.testEnded(test, new HashMap<String, Metric>()); in populateFakeResults()
545 reporter.testStarted(test); in populateFakeResults()
547 reporter.testFailed(test, "parameterized" + f); in populateFakeResults()
[all …]
/tools/tradefederation/core/atest/test_runners/
Devent_handler.py75 def __init__(self, reporter, name): argument
76 self.reporter = reporter
117 self.reporter.process_test_result(test_runner_base.TestResult(
131 self.reporter.process_test_result(test_runner_base.TestResult(
182 self.reporter.process_test_result(test_runner_base.TestResult(
221 self._check_events_are_balanced(event_name, self.reporter)
228 def _check_events_are_balanced(self, event_name, reporter): argument
246 reporter.process_test_result(test_runner_base.TestResult(
Drobolectric_test_runner.py61 def run_tests(self, test_infos, extra_args, reporter): argument
73 return self.run_tests_raw(test_infos, extra_args, reporter)
74 return self.run_tests_pretty(test_infos, extra_args, reporter)
76 def run_tests_raw(self, test_infos, extra_args, reporter): argument
87 reporter.register_unsupported_runner(self.NAME)
99 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
123 event_handler = EventHandler(reporter, self.NAME)
Datest_tf_test_runner.py95 def run_tests(self, test_infos, extra_args, reporter): argument
109 return self.run_tests_raw(test_infos, extra_args, reporter)
110 return self.run_tests_pretty(test_infos, extra_args, reporter)
112 def run_tests_raw(self, test_infos, extra_args, reporter): argument
124 reporter.register_unsupported_runner(self.NAME)
133 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
151 event_handler = EventHandler(reporter, self.NAME)
Dsuite_plan_test_runner.py52 def run_tests(self, test_infos, extra_args, reporter): argument
62 reporter.register_unsupported_runner(self.NAME)
Dvts_tf_test_runner.py56 def run_tests(self, test_infos, extra_args, reporter): argument
68 reporter.register_unsupported_runner(self.NAME)
/tools/tradefederation/core/atest/
Dtest_runner_handler.py118 reporter = result_reporter.ResultReporter()
119 reporter.print_starting_text()
129 ret_code = test_runner.run_tests(tests, extra_args, reporter)
134 reporter.runner_failure(test_runner.NAME, stacktrace)
145 return tests_ret_code, reporter
146 return reporter.print_summary() or tests_ret_code, reporter
Datest.py452 tests_exit_code, reporter = test_runner_handler.run_all_tests(
454 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
455 test_results.append((tests_exit_code, reporter, test_type))
459 for tests_exit_code, reporter, test_type in test_results:
462 result = tests_exit_code | reporter.print_summary()
578 tests_exit_code, reporter = test_runner_handler.run_all_tests(
580 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
587 reporter = result_reporter.ResultReporter()
588 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
591 None, regression_args, reporter)
Datest_execution_info.py155 for reporter in reporters:
156 for test in reporter.all_test_results:
Dtest_runner_handler_unittest.py53 def run_tests(self, test_infos, extra_args, reporter): argument
71 def run_tests(self, test_infos, extra_args, reporter): argument
/tools/acloud/public/actions/
Dcommon_operations.py268 reporter = report.Report(command=command)
275 reporter.SetStatus(report.Status.BOOT_FAIL)
277 reporter.SetStatus(report.Status.SUCCESS)
311 reporter.AddData(key="devices_failing_boot", value=device_dict)
312 reporter.AddError(str(failures[device.instance_name]))
314 reporter.AddData(key="devices", value=device_dict)
316 reporter.AddError(str(e))
317 reporter.SetStatus(report.Status.FAIL)
318 return reporter
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java91 ITestInvocationListener reporter = null; in parse() local
93 reporter = new StreamProtoResultReporter(); in parse()
95 reporter = new SubprocessResultsReporter(); in parse()
96 ((SubprocessResultsReporter) reporter).setOutputTestLog(true); in parse()
98 config.setTestInvocationListener(reporter); in parse()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DRetryConfigurationFactoryTest.java100 ProtoResultReporter reporter = in populateFakeResults() local
110 reporter.invocationStarted(context); in populateFakeResults()
111 reporter.invocationEnded(0L); in populateFakeResults()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt26 import com.android.tools.metalava.reporter
69 reporter.report(Errors.INTERNAL_ERROR, psiElement, message) in warning()
137 reporter.report(Errors.INTERNAL_ERROR, owner, "Unexpected annotation default value $value") in appendSourceExpression()
209 reporter.report( in appendExpression()
548 reporter.report(Errors.INTERNAL_ERROR, owner, "Unexpected literal value $v") in appendSourceLiteral()
/tools/test/connectivity/tools/lab/
Drunner.py62 for reporter in self.reporter_list:
63 reporter.report(responses)
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardMasterResultForwarderTest.java155 ShardMasterResultForwarder reporter = in testForward_Sharded() local
157 ShardListener shardListener = new ShardListener(reporter); in testForward_Sharded()

12