Home
last modified time | relevance | path

Searched refs:t_info (Results 1 – 12 of 12) sorted by relevance

/tools/asuite/atest/test_finders/
Dcache_finder.py80 for t_info in test_infos:
81 if not self._is_test_path_valid(t_info):
83 if not self._is_test_build_target_valid(t_info):
85 if not self._is_test_filter_valid(t_info):
89 def _is_test_path_valid(self, t_info): argument
100 cached_test_paths = t_info.get_test_paths()
103 current_test_paths = self.module_info.get_paths(t_info.test_name)
111 def _is_test_build_target_valid(self, t_info): argument
122 for build_target in t_info.build_targets:
130 def _is_test_filter_valid(self, t_info): argument
[all …]
Dsuite_plan_finder_unittest.py105 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name)
110 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
114 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name)
116 unittest_utils.assert_equal_testinfos(self, t_info, want_info)
121 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name)
126 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
157 t_info = self.suite_plan_finder.find_test_by_suite_path(path)
162 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
168 t_info = self.suite_plan_finder.find_test_by_suite_path(path)
173 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
[all …]
Dcache_finder_unittest.py156 t_info = test_info.TestInfo('mock_name', 'mock_runner',
159 self.assertTrue(self.cache_finder._is_test_build_target_valid(t_info))
163 t_info = test_info.TestInfo('mock_name', 'mock_runner',
166 self.assertFalse(self.cache_finder._is_test_build_target_valid(t_info))
Dtest_info_unittest.py35 t_info = test_info.TestInfo('mock_name', 'mock_runner', build_targets)
36 self.assertEqual(sorted(t_info.get_test_paths()), sorted(exp_rel_paths))
Dtest_finder_utils_unittest.py776 t_info = test_info.TestInfo(
780 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info)
789 t_info = test_info.TestInfo(
793 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info)
802 t_info = test_info.TestInfo(
806 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info)
815 t_info = test_info.TestInfo(
819 result, _ = test_finder_utils.get_test_config_and_srcs(t_info, mod_info)
Dtf_integration_finder.py187 t_info = self._get_test_info(name, test_file, class_name)
188 if t_info:
189 t_infos.append(t_info)
/tools/asuite/atest-py2/test_finders/
Dsuite_plan_finder_unittest.py101 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name)
106 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
110 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name)
112 unittest_utils.assert_equal_testinfos(self, t_info, want_info)
117 t_info = self.suite_plan_finder.find_test_by_suite_name(suite_name)
122 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
153 t_info = self.suite_plan_finder.find_test_by_suite_path(path)
158 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
164 t_info = self.suite_plan_finder.find_test_by_suite_path(path)
169 unittest_utils.assert_equal_testinfos(self, t_info[0], want_info)
[all …]
Dtf_integration_finder.py173 t_info = self._get_test_info(name, test_file, class_name)
174 if t_info:
175 t_infos.append(t_info)
/tools/asuite/atest/test_runners/
Dsuite_plan_test_runner_unittest.py53 t_info = test_info.TestInfo(suite_name,
57 test_infos.add(t_info)
86 t_info = test_info.TestInfo(suite_name,
90 test_infos.add(t_info)
/tools/asuite/atest-py2/test_runners/
Dsuite_plan_test_runner_unittest.py47 t_info = test_info.TestInfo(suite_name,
51 test_infos.add(t_info)
80 t_info = test_info.TestInfo(suite_name,
84 test_infos.add(t_info)
/tools/asuite/atest-py2/
Datest_unittest.py173 t_info = test_info.TestInfo(test_name, 'mock_runner', build_targets)
174 test_infos = set([t_info])
/tools/asuite/atest/
Datest_unittest.py178 t_info = test_info.TestInfo(test_name, 'mock_runner', build_targets)
179 test_infos = set([t_info])