Home
last modified time | relevance | path

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

12

/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.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)
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/asuite/atest/
Dtest_runner_handler.py119 reporter = result_reporter.ResultReporter()
120 reporter.print_starting_text()
130 ret_code = test_runner.run_tests(tests, extra_args, reporter)
135 reporter.runner_failure(test_runner.NAME, stacktrace)
146 return tests_ret_code, reporter
147 return (reporter.print_summary(extra_args.get(constants.COLLECT_TESTS_ONLY))
148 or tests_ret_code, reporter)
Datest.py503 tests_exit_code, reporter = test_runner_handler.run_all_tests(
505 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
506 test_results.append((tests_exit_code, reporter, test_type))
510 for tests_exit_code, reporter, test_type in test_results:
513 result = tests_exit_code | reporter.print_summary()
724 tests_exit_code, reporter = test_runner_handler.run_all_tests(
726 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
733 reporter = result_reporter.ResultReporter()
734 atest_execution_info.AtestExecutionInfo.result_reporters.append(reporter)
737 None, regression_args, reporter)
Dtest_runner_handler_unittest.py56 def run_tests(self, test_infos, extra_args, reporter): argument
74 def run_tests(self, test_infos, extra_args, reporter): argument
/tools/metalava/src/main/java/com/android/tools/metalava/
DKotlinInteropChecks.kt39 class KotlinInteropChecks(val reporter: Reporter) { in <lambda>() constant in com.android.tools.metalava.KotlinInteropChecks
110 reporter.report( in <lambda>()
116 reporter.report( in <lambda>()
140 reporter.report( in <lambda>()
145 reporter.report( in <lambda>()
165 reporter.report( in <lambda>()
170 reporter.report( in <lambda>()
196 reporter.report(Issues.SAM_SHOULD_BE_LAST, method, message) in <lambda>()
242 reporter.report( in <lambda>()
290 reporter.report( in <lambda>()
[all …]
DArtifactTagger.kt68 reporter.report( in any()
82 reporter.report( in any()
109 reporter.report( in applyArtifactsFromSpec()
/tools/acloud/public/actions/
Dcommon_operations.py201 reporter = report.Report(command=command)
213 reporter.SetStatus(report.Status.BOOT_FAIL)
215 reporter.SetStatus(report.Status.SUCCESS)
248 reporter.AddData(key="devices_failing_boot", value=device_dict)
249 reporter.AddError(str(failures[device.instance_name]))
251 reporter.AddData(key="devices", value=device_dict)
253 reporter.AddError(str(e))
254 reporter.SetStatus(report.Status.FAIL)
255 return reporter
/tools/tradefederation/core/atest/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(
Datest_tf_test_runner.py115 def run_tests(self, test_infos, extra_args, reporter): argument
126 reporter.log_path = self.log_path
127 reporter.rerun_options = self._extract_rerun_options(extra_args)
131 return self.run_tests_raw(test_infos, extra_args, reporter)
132 return self.run_tests_pretty(test_infos, extra_args, reporter)
134 def run_tests_raw(self, test_infos, extra_args, reporter): argument
146 reporter.register_unsupported_runner(self.NAME)
156 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
178 reporter))
184 def _start_monitor(self, server, tf_subproc, reporter): argument
[all …]
Dsuite_plan_test_runner.py52 def run_tests(self, test_infos, extra_args, reporter): argument
62 reporter.register_unsupported_runner(self.NAME)
Dexample_test_runner.py30 def run_tests(self, test_infos, extra_args, reporter): argument
/tools/asuite/atest/test_runners/
Drobolectric_test_runner.py62 def run_tests(self, test_infos, extra_args, reporter): argument
74 return self.run_tests_raw(test_infos, extra_args, reporter)
75 return self.run_tests_pretty(test_infos, extra_args, reporter)
77 def run_tests_raw(self, test_infos, extra_args, reporter): argument
88 reporter.register_unsupported_runner(self.NAME)
100 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
123 event_handler = EventHandler(reporter, self.NAME)
Devent_handler.py79 def __init__(self, reporter, name): argument
80 self.reporter = reporter
125 self.reporter.process_test_result(test_runner_base.TestResult(
140 self.reporter.process_test_result(test_runner_base.TestResult(
189 self.reporter.process_test_result(test_runner_base.TestResult(
229 self._check_events_are_balanced(event_name, self.reporter)
237 def _check_events_are_balanced(self, event_name, reporter): argument
255 reporter.process_test_result(test_runner_base.TestResult(
Datest_tf_test_runner.py117 def run_tests(self, test_infos, extra_args, reporter): argument
128 reporter.log_path = self.log_path
129 reporter.rerun_options = self._extract_rerun_options(extra_args)
134 return self.run_tests_raw(test_infos, extra_args, reporter)
135 return self.run_tests_pretty(test_infos, extra_args, reporter)
137 def run_tests_raw(self, test_infos, extra_args, reporter): argument
149 reporter.register_unsupported_runner(self.NAME)
159 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
181 reporter))
188 def _start_monitor(self, server, tf_subproc, reporter): argument
[all …]
Dsuite_plan_test_runner.py51 def run_tests(self, test_infos, extra_args, reporter): argument
61 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)
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java592 CollectingTestListener reporter = new CollectingTestListener(); in populateFakeResults() local
596 reporter.invocationStarted(context); in populateFakeResults()
602 reporter.testRunStarted(runName, numTests); in populateFakeResults()
605 reporter.testStarted(test); in populateFakeResults()
606 reporter.testEnded(test, new HashMap<String, Metric>()); in populateFakeResults()
610 reporter.testStarted(test); in populateFakeResults()
611 reporter.testFailed(test, "failure" + f); in populateFakeResults()
612 reporter.testEnded(test, new HashMap<String, Metric>()); in populateFakeResults()
618 reporter.testStarted(test); in populateFakeResults()
620 reporter.testFailed(test, "parameterized" + f); in populateFakeResults()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DSubprocessConfigBuilderTest.java80 NodeList reporter = doc.getElementsByTagName("result_reporter"); in verifyWrapperXml() local
81 assertEquals(1, reporter.getLength()); in verifyWrapperXml()
82 String reporterClass = ((Element) reporter.item(0)).getAttribute("class"); in verifyWrapperXml()
84 NodeList option = ((Element) reporter.item(0)).getElementsByTagName("option"); in verifyWrapperXml()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DRetryConfigurationFactoryTest.java99 CollectingTestListener reporter = new CollectingTestListener(); in populateFakeResults() local
103 reporter.invocationStarted(context); in populateFakeResults()
104 reporter.invocationEnded(0L); in populateFakeResults()
105 mFakeRecord = reporter; in populateFakeResults()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java96 ITestInvocationListener reporter = null; in parse() local
98 reporter = new StreamProtoResultReporter(); in parse()
100 reporter = new SubprocessResultsReporter(); in parse()
101 ((SubprocessResultsReporter) reporter).setOutputTestLog(true); in parse()
103 config.setTestInvocationListener(reporter); in parse()
/tools/tradefederation/core/tests/
Drun_tradefed_tests.sh41 --console-result-reporter:suppress-passed-tests \
Drun_tradefed_func_tests.sh43 --console-result-reporter:suppress-passed-tests \

12