Home
last modified time | relevance | path

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

/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.py275 info_dict = {_ARGS_KEY: ' '.join(args)}
278 info_dict,
280 return json.dumps(info_dict)
285 def _arrange_test_result(info_dict, reporters): argument
309 info_dict[_TEST_RUNNER_KEY] = {}
312 runner = info_dict[_TEST_RUNNER_KEY].setdefault(
321 for runner in info_dict[_TEST_RUNNER_KEY]:
322 for group in info_dict[_TEST_RUNNER_KEY][runner]:
324 for status in info_dict[_TEST_RUNNER_KEY][runner][group]:
325 count = len(info_dict[_TEST_RUNNER_KEY][runner][group][status])
[all …]
/tools/tradefederation/core/atest/
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 …]