Lines Matching refs:aei
23 import atest_execution_info as aei namespace
57 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
58 expect_summary = {aei._STATUS_IGNORED_KEY : 1,
59 aei._STATUS_FAILED_KEY : 2,
60 aei._STATUS_PASSED_KEY : 3}
61 self.assertEqual(expect_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
83 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
84 expect_group_a_summary = {aei._STATUS_IGNORED_KEY : 0,
85 aei._STATUS_FAILED_KEY : 0,
86 aei._STATUS_PASSED_KEY : 1}
89 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_a'][aei._SUMMARY_KEY])
91 expect_group_b_summary = {aei._STATUS_IGNORED_KEY : 0,
92 aei._STATUS_FAILED_KEY : 1,
93 aei._STATUS_PASSED_KEY : 1}
96 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_b'][aei._SUMMARY_KEY])
98 expect_group_c_summary = {aei._STATUS_IGNORED_KEY : 1,
99 aei._STATUS_FAILED_KEY : 1,
100 aei._STATUS_PASSED_KEY : 1}
103 info_dict[aei._TEST_RUNNER_KEY]['someRunner']['grpup_c'][aei._SUMMARY_KEY])
105 expect_total_summary = {aei._STATUS_IGNORED_KEY : 1,
106 aei._STATUS_FAILED_KEY : 2,
107 aei._STATUS_PASSED_KEY : 3}
108 self.assertEqual(expect_total_summary, info_dict[aei._TOTAL_SUMMARY_KEY])
113 aei.PREPARE_END_TIME = None
114 self.assertTrue(aei.preparation_time(start_time) is None)
115 aei.PREPARE_END_TIME = time.time()
116 self.assertFalse(aei.preparation_time(start_time) is None)
138 aei.AtestExecutionInfo._arrange_test_result(info_dict, [reporter_1, reporter_2])
139 expect_group_a_summary = {aei._STATUS_IGNORED_KEY : 0,
140 aei._STATUS_FAILED_KEY : 0,
141 aei._STATUS_PASSED_KEY : 3}
144 info_dict[aei._TEST_RUNNER_KEY]['runner_a']['someModule'][aei._SUMMARY_KEY])
146 expect_group_b_summary = {aei._STATUS_IGNORED_KEY : 1,
147 aei._STATUS_FAILED_KEY : 2,
148 aei._STATUS_PASSED_KEY : 0}
151 info_dict[aei._TEST_RUNNER_KEY]['runner_b']['someModule'][aei._SUMMARY_KEY])
153 expect_total_summary = {aei._STATUS_IGNORED_KEY : 1,
154 aei._STATUS_FAILED_KEY : 2,
155 aei._STATUS_PASSED_KEY : 3}
156 self.assertEqual(expect_total_summary, info_dict[aei._TOTAL_SUMMARY_KEY])