Home
last modified time | relevance | path

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

12

/tools/acloud/public/actions/
Dcommon_operations.py145 def UpdateReport(self, reporter): argument
151 reporter.UpdateData(self._compute_client.dict_report)
245 reporter = report.Report(command=command)
257 reporter.SetStatus(report.Status.BOOT_FAIL)
259 reporter.SetStatus(report.Status.SUCCESS)
266 device_pool.UpdateReport(reporter)
302 reporter.SetErrorType(_ACLOUD_BOOT_UP_ERROR)
304 reporter.SetErrorType(_DICT_ERROR_TYPE[device.stage])
305 reporter.AddData(key="devices_failing_boot", value=device_dict)
306 reporter.AddError(str(failures[device.instance_name]))
[all …]
/tools/acloud/public/
Dacloud_main.py415 reporter = None
417 reporter = report.Report(command=args.which)
418 reporter.UpdateFailure(parsing_config_error, _ACLOUD_CONFIG_ERROR)
420 reporter = create.Run(args)
422 reporter = create_cuttlefish_action.CreateDevices(
444 reporter = create_goldfish_action.CreateDevices(
462 reporter = delete.Run(args)
468 reporter = restart.Run(args)
470 reporter = powerwash.Run(args)
472 reporter = pull.Run(args)
[all …]
/tools/asuite/atest/test_runners/
Devent_handler.py80 def __init__(self, reporter, name): argument
81 self.reporter = reporter
129 self.reporter.process_test_result(test_runner_base.TestResult(
144 self.reporter.process_test_result(test_runner_base.TestResult(
160 if not self.reporter.silent:
161 self.reporter.set_current_summary(self.run_num)
162 self.reporter = result_reporter.ResultReporter(silent=False)
197 self.reporter.process_test_result(test_runner_base.TestResult(
238 self._check_events_are_balanced(event_name, self.reporter)
246 def _check_events_are_balanced(self, event_name, reporter): argument
[all …]
Drobolectric_test_runner.py66 def run_tests(self, test_infos, extra_args, reporter): argument
79 return self.run_tests_pretty(test_infos, extra_args, reporter)
80 return self.run_tests_raw(test_infos, extra_args, reporter)
82 def run_tests_raw(self, test_infos, extra_args, reporter): argument
93 reporter.register_unsupported_runner(self.NAME)
105 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
128 event_handler = EventHandler(reporter, self.NAME)
Datest_tf_test_runner.py141 def run_tests(self, test_infos, extra_args, reporter): argument
152 reporter.log_path = self.log_path
153 reporter.rerun_options = self._extract_rerun_options(extra_args)
161 result = self.run_tests_raw(test_infos, extra_args, reporter)
162 result = self.run_tests_pretty(test_infos, extra_args, reporter)
171 reporter.test_result_link = (constants.RESULT_LINK
297 def run_tests_raw(self, test_infos, extra_args, reporter): argument
309 reporter.register_unsupported_runner(self.NAME)
319 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
341 reporter,
[all …]
Dsuite_plan_test_runner.py50 def run_tests(self, test_infos, extra_args, reporter): argument
60 reporter.register_unsupported_runner(self.NAME)
Dvts_tf_test_runner.py55 def run_tests(self, test_infos, extra_args, reporter): argument
67 reporter.register_unsupported_runner(self.NAME)
Dexample_test_runner.py29 def run_tests(self, test_infos, extra_args, reporter): argument
Dregression_test_runner.py38 def run_tests(self, test_infos, extra_args, reporter): argument
/tools/asuite/atest-py2/
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.py492 tests_exit_code, reporter = test_runner_handler.run_all_tests(
494 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
495 test_results.append((tests_exit_code, reporter, test_type))
499 for tests_exit_code, reporter, test_type in test_results:
502 result = tests_exit_code | reporter.print_summary()
679 tests_exit_code, reporter = test_runner_handler.run_all_tests(
681 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
688 reporter = result_reporter.ResultReporter()
689 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
692 None, regression_args, reporter)
/tools/asuite/atest/
Dtest_runner_handler.py120 reporter = result_reporter.ResultReporter(
123 reporter.print_starting_text()
133 ret_code = test_runner.run_tests(tests, extra_args, reporter)
138 reporter.runner_failure(test_runner.NAME, stacktrace)
149 return tests_ret_code, reporter
150 return reporter.print_summary() or tests_ret_code, reporter
Datest.py511 tests_exit_code, reporter = test_runner_handler.run_all_tests(
513 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
514 test_results.append((tests_exit_code, reporter, test_type))
518 for tests_exit_code, reporter, test_type in test_results:
521 result = tests_exit_code | reporter.print_summary()
822 tests_exit_code, reporter = test_runner_handler.run_all_tests(
824 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
831 reporter = result_reporter.ResultReporter(
833 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
836 None, regression_args, reporter)
Datest_execution_info.py354 for reporter in reporters:
355 if reporter.test_result_link:
356 info_dict[_TEST_RESULT_LINK] = reporter.test_result_link
357 for test in reporter.all_test_results:
Dtest_runner_handler_unittest.py60 def run_tests(self, test_infos, extra_args, reporter): argument
78 def run_tests(self, test_infos, extra_args, reporter): argument
/tools/acloud/create/
Dremote_image_remote_instance.py93 reporter = report.Report(command="create_cf")
95 reporter.SetStatus(report.Status.SUCCESS)
99 reporter.UpdateData(response)
101 reporter.SetStatus(report.Status.FAIL)
102 reporter.AddError(response.get("errorMessage"))
104 return reporter
/tools/asuite/atest-py2/test_runners/
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)
Devent_handler.py77 def __init__(self, reporter, name): argument
78 self.reporter = reporter
123 self.reporter.process_test_result(test_runner_base.TestResult(
138 self.reporter.process_test_result(test_runner_base.TestResult(
187 self.reporter.process_test_result(test_runner_base.TestResult(
227 self._check_events_are_balanced(event_name, self.reporter)
234 def _check_events_are_balanced(self, event_name, reporter): argument
252 reporter.process_test_result(test_runner_base.TestResult(
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)
Dexample_test_runner.py30 def run_tests(self, test_infos, extra_args, reporter): argument
Dregression_test_runner.py38 def run_tests(self, test_infos, extra_args, reporter): argument
/tools/metalava/src/main/java/com/android/tools/metalava/
DArtifactTagger.kt67 reporter.report( in any()
81 reporter.report( in any()
108 reporter.report( in applyArtifactsFromSpec()
DNullabilityAnnotationsValidator.kt209 …fatalIssues.forEach { reporter.report(Issues.INVALID_NULLABILITY_ANNOTATION, it.method, it.toStrin… in <lambda>()
219reporter.report(Issues.INVALID_NULLABILITY_ANNOTATION_WARNING, it.method, "Nullability issue: $it") in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt35 import com.android.tools.metalava.reporter in <lambda>()
105 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()
124 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()
191 reporter.report(Issues.IO_ERROR, sourceFile, "Cannot open file for write.") in <lambda>()

12