Home
last modified time | relevance | path

Searched refs:info_dict (Results 1 – 4 of 4) sorted by relevance

/tools/asuite/atest-py2/
Datest_execution_info_unittest.py56 info_dict = {}
57 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
61 self.assertEqual(expect_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
82 info_dict = {}
83 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
89 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_a'][aei._SUMMARY_KEY])
96 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_b'][aei._SUMMARY_KEY])
103 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_c'][aei._SUMMARY_KEY])
108 self.assertEqual(expect_total_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
137 info_dict = {}
[all …]
Datest_execution_info.py274 info_dict = {_ARGS_KEY: ' '.join(args)}
277 info_dict,
279 return json.dumps(info_dict)
284 def _arrange_test_result(info_dict, reporters): argument
308 info_dict[_TEST_RUNNER_KEY] = {}
311 runner = info_dict[_TEST_RUNNER_KEY].setdefault(test.runner_name, {})
319 for runner in info_dict[_TEST_RUNNER_KEY]:
320 for group in info_dict[_TEST_RUNNER_KEY][runner]:
322 for status in info_dict[_TEST_RUNNER_KEY][runner][group]:
323 count = len(info_dict[_TEST_RUNNER_KEY][runner][group][status])
[all …]
/tools/asuite/atest/
Datest_execution_info_unittest.py59 info_dict = {}
60 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
64 self.assertEqual(expect_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
85 info_dict = {}
86 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
92 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_a'][aei._SUMMARY_KEY])
99 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_b'][aei._SUMMARY_KEY])
106 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_c'][aei._SUMMARY_KEY])
111 self.assertEqual(expect_total_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
140 info_dict = {}
[all …]
Datest_execution_info.py319 info_dict = {_ARGS_KEY: ' '.join(args)}
322 info_dict,
324 return json.dumps(info_dict)
329 def _arrange_test_result(info_dict, reporters): argument
353 info_dict[_TEST_RUNNER_KEY] = {}
356 info_dict[_TEST_RESULT_LINK] = reporter.test_result_link
358 runner = info_dict[_TEST_RUNNER_KEY].setdefault(
367 for runner in info_dict[_TEST_RUNNER_KEY]:
368 for group in info_dict[_TEST_RUNNER_KEY][runner]:
370 for status in info_dict[_TEST_RUNNER_KEY][runner][group]:
[all …]