/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner_unittest.py | 25 import unittest_constants as uc namespace 43 METHOD2_FILTER = test_info.TestFilter(uc.FULL_CLASS_NAME, frozenset([uc.METHOD2_NAME])) 45 frozenset([uc.METHOD_NAME, uc.METHOD2_NAME])) 46 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME, 49 data={constants.TI_REL_CONFIG: uc.CONFIG2_FILE, 52 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME, 55 data={constants.TI_REL_CONFIG: uc.CONFIG_FILE, 56 constants.TI_FILTER: frozenset([uc.CLASS_FILTER])}) 58 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME, 61 data={constants.TI_REL_CONFIG: uc.CONFIG_FILE, [all …]
|
/tools/tradefederation/core/atest/test_finders/ |
D | tf_integration_finder_unittest.py | 25 import unittest_constants as uc namespace 33 INT_NAME_CLASS = uc.INT_NAME + ':' + uc.FULL_CLASS_NAME 34 INT_NAME_METHOD = INT_NAME_CLASS + '#' + uc.METHOD_NAME 35 GTF_INT_CONFIG = os.path.join(uc.GTF_INT_DIR, uc.GTF_INT_NAME + '.xml') 37 uc.INT_NAME, 40 data={constants.TI_FILTER: frozenset([uc.CLASS_FILTER]), 41 constants.TI_REL_CONFIG: uc.INT_CONFIG}) 43 uc.INT_NAME, 46 data={constants.TI_FILTER: frozenset([uc.METHOD_FILTER]), 47 constants.TI_REL_CONFIG: uc.INT_CONFIG}) [all …]
|
D | module_finder_unittest.py | 28 import unittest_constants as uc namespace 35 MODULE_CLASS = '%s:%s' % (uc.MODULE_NAME, uc.CLASS_NAME) 36 MODULE_PACKAGE = '%s:%s' % (uc.MODULE_NAME, uc.PACKAGE) 38 uc.MODULE_NAME, 40 uc.MODULE_BUILD_TARGETS, 41 data={constants.TI_FILTER: frozenset([uc.FLAT_METHOD_FILTER]), 42 constants.TI_REL_CONFIG: uc.CONFIG_FILE}) 43 MODULE_CLASS_METHOD = '%s#%s' % (MODULE_CLASS, uc.METHOD_NAME) 45 uc.MODULE2_NAME, 47 uc.CLASS_BUILD_TARGETS, [all …]
|
D | test_finder_utils_unittest.py | 27 import unittest_constants as uc namespace 32 FIND_TWO = uc.ROOT + 'other/dir/test.java\n' + uc.FIND_ONE 104 path = os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java') 106 self, test_finder_utils.extract_test_path(uc.FIND_ONE), path) 107 path = os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java') 134 test_finder_utils.find_parent_module_dir(uc.ROOT, 137 uc.MODULE_DIR) 148 test_finder_utils.find_parent_module_dir(uc.ROOT, 151 uc.MODULE_DIR) 168 test_finder_utils.find_parent_module_dir(uc.ROOT, [all …]
|
/tools/tradefederation/core/atest/ |
D | cli_translator_unittest.py | 29 import unittest_constants as uc namespace 34 TEST_MAPPING_DIR = os.path.join(uc.TEST_DATA_DIR, 'test_mapping', 'folder1') 44 if test_name == uc.MODULE_NAME: 45 test_infos.add(uc.MODULE_INFO) 46 if test_name == uc.CLASS_NAME: 47 test_infos.add(uc.CLASS_INFO) 64 find_method_return_module_info = lambda x, y: uc.MODULE_INFO 66 find_method_return_module_class_info = (lambda x, test: uc.MODULE_INFO 67 if test == uc.MODULE_NAME 68 else uc.CLASS_INFO) [all …]
|
D | test_mapping_unittest.py | 22 import unittest_constants as uc namespace 30 detail = test_mapping.TestDetail(uc.TEST_MAPPING_TEST) 31 self.assertEqual(uc.TEST_MAPPING_TEST['name'], detail.name) 36 detail = test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_OPTION) 37 self.assertEqual(uc.TEST_MAPPING_TEST_WITH_OPTION['name'], detail.name) 38 self.assertEqual(uc.TEST_MAPPING_TEST_WITH_OPTION_STR, str(detail)) 43 test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_BAD_OPTION)
|
D | unittest_utils.py | 22 import unittest_constants as uc namespace 83 if value == '/%s/%s' % (uc.MODULE_DIR, constants.MODULE_CONFIG): 87 if value.endswith(uc.INT_NAME + '.xml'): 89 if value.endswith(uc.GTF_INT_NAME + '.xml'): 96 return os.path.join(uc.ROOT, path)
|
D | module_info_unittest.py | 25 import unittest_constants as uc namespace 27 JSON_FILE_PATH = os.path.join(uc.TEST_DATA_DIR, uc.JSON_FILE)
|
/tools/repohooks/tools/ |
D | cpplint.py | 4286 for uc in unicodedata.normalize('NFC', line): 4287 if unicodedata.east_asian_width(uc) in ('W', 'F'): 4289 elif not unicodedata.combining(uc):
|