Lines Matching refs:test
87 def _update_to_vts_test_info(self, test): argument
99 test.test_runner = self._VTS_TEST_RUNNER
101 test.data[constants.TI_REL_CONFIG])
120 test.build_targets |= test_finder_utils.get_targets_from_vts_xml(
122 test.build_targets.add('vts-test-core')
123 test.build_targets.add(test.test_name)
124 return test
126 def _update_to_robolectric_test_info(self, test): argument
135 test.test_runner = self._ROBOLECTRIC_RUNNER
136 test.test_name = self.module_info.get_robolectric_test_name(test.test_name)
137 return test
139 def _process_test_info(self, test): argument
152 module_name = test.test_name
156 test.module_class = mod_info['class']
157 test.install_locations = test_finder_utils.get_install_locations(
160 if self._is_vts_module(test.test_name):
161 return self._update_to_vts_test_info(test)
162 elif self.module_info.is_robolectric_test(test.test_name):
163 return self._update_to_robolectric_test_info(test)
164 rel_config = test.data[constants.TI_REL_CONFIG]
165 test.build_targets = self._get_build_targets(module_name, rel_config)
166 return test