Lines Matching refs:aei
24 import atest_execution_info as aei namespace
60 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
61 expect_summary = {aei._STATUS_IGNORED_KEY : 1,
62 aei._STATUS_FAILED_KEY : 2,
63 aei._STATUS_PASSED_KEY : 3}
64 self.assertEqual(expect_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
86 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
87 expect_group_a_summary = {aei._STATUS_IGNORED_KEY : 0,
88 aei._STATUS_FAILED_KEY : 0,
89 aei._STATUS_PASSED_KEY : 1}
92 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_a'][aei._SUMMARY_KEY])
94 expect_group_b_summary = {aei._STATUS_IGNORED_KEY : 0,
95 aei._STATUS_FAILED_KEY : 1,
96 aei._STATUS_PASSED_KEY : 1}
99 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_b'][aei._SUMMARY_KEY])
101 expect_group_c_summary = {aei._STATUS_IGNORED_KEY : 1,
102 aei._STATUS_FAILED_KEY : 1,
103 aei._STATUS_PASSED_KEY : 1}
106 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_c'][aei._SUMMARY_KEY])
108 expect_total_summary = {aei._STATUS_IGNORED_KEY : 1,
109 aei._STATUS_FAILED_KEY : 2,
110 aei._STATUS_PASSED_KEY : 3}
111 self.assertEqual(expect_total_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
116 aei.PREPARE_END_TIME = None
117 self.assertTrue(aei.preparation_time(start_time) is None)
118 aei.PREPARE_END_TIME = time.time()
119 self.assertFalse(aei.preparation_time(start_time) is None)
141 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
142 expect_group_a_summary = {aei._STATUS_IGNORED_KEY : 0,
143 aei._STATUS_FAILED_KEY : 0,
144 aei._STATUS_PASSED_KEY : 3}
147 info_dict[aei._TEST_RUNNER_KEY]['runner_a']['someModule'][aei._SUMMARY_KEY])
149 expect_group_b_summary = {aei._STATUS_IGNORED_KEY : 1,
150 aei._STATUS_FAILED_KEY : 2,
151 aei._STATUS_PASSED_KEY : 0}
154 info_dict[aei._TEST_RUNNER_KEY]['runner_b']['someModule'][aei._SUMMARY_KEY])
156 expect_total_summary = {aei._STATUS_IGNORED_KEY : 1,
157 aei._STATUS_FAILED_KEY : 2,
158 aei._STATUS_PASSED_KEY : 3}
159 self.assertEqual(expect_total_summary, info_dict[aei._TOTAL_SUMMARY_KEY])