/tools/tradefederation/core/atest/test_finders/ |
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) 37 CC_MODULE_CLASS = '%s:%s' % (uc.CC_MODULE_NAME, uc.CC_CLASS_NAME) 39 uc.MODULE_NAME, 41 uc.MODULE_BUILD_TARGETS, 42 data={constants.TI_FILTER: frozenset([uc.FLAT_METHOD_FILTER]), 43 constants.TI_REL_CONFIG: uc.CONFIG_FILE}) 44 MODULE_CLASS_METHOD = '%s#%s' % (MODULE_CLASS, uc.METHOD_NAME) 45 CC_MODULE_CLASS_METHOD = '%s#%s' % (CC_MODULE_CLASS, uc.CC_METHOD_NAME) [all …]
|
D | test_finder_utils_unittest.py | 27 import unittest_constants as uc namespace 34 INT_DIR1 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir1') 35 INT_DIR2 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir2') 37 FIND_TWO = uc.ROOT + 'other/dir/test.java\n' + uc.FIND_ONE 60 VTS_PLAN_TARGETS = {os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-staging-default.xml'), 61 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-aa.xml'), 62 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-bb.xml'), 63 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-cc.xml'), 64 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-dd.xml')} 120 path = os.path.join(uc.ROOT, CLASS_DIR, uc.CLASS_NAME + '.java') [all …]
|
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 | suite_plan_finder_unittest.py | 23 import unittest_constants as uc namespace 38 self.suite_plan_finder.suite_plan_dirs = [os.path.join(uc.ROOT, uc.CTS_INT_DIR)] 39 self.suite_plan_finder.root_dir = uc.ROOT 58 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_plan+'.xml') 67 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_plan+'.xml') 76 path = os.path.join(uc.ROOT, uc.CTS_INT_DIR, 'cts-common.xml') 81 path = os.path.join(uc.ROOT, 'cts-common.xml') 116 _search.return_value = os.path.join(uc.ROOT, uc.CTS_INT_DIR, suite_name + '.xml') 151 path = os.path.join(uc.CTS_INT_DIR, suite_int_name + '.xml') 152 _find.return_value = uc.CTS_INT_DIR [all …]
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner_unittest.py | 29 import unittest_constants as uc namespace 52 METHOD2_FILTER = test_info.TestFilter(uc.FULL_CLASS_NAME, frozenset([uc.METHOD2_NAME])) 57 frozenset([uc.METHOD_NAME, uc.METHOD2_NAME])) 58 MODULE2_INFO = test_info.TestInfo(uc.MODULE2_NAME, 61 data={constants.TI_REL_CONFIG: uc.CONFIG2_FILE, 64 CLASS1_INFO = test_info.TestInfo(uc.MODULE_NAME, 67 data={constants.TI_REL_CONFIG: uc.CONFIG_FILE, 68 constants.TI_FILTER: frozenset([uc.CLASS_FILTER])}) 70 CLASS2_INFO = test_info.TestInfo(uc.MODULE_NAME, 73 data={constants.TI_REL_CONFIG: uc.CONFIG_FILE, [all …]
|
/tools/tradefederation/core/atest/ |
D | cli_translator_unittest.py | 29 import unittest_constants as uc namespace 42 TEST_MAPPING_TOP_DIR = os.path.join(uc.TEST_DATA_DIR, 'test_mapping') 63 if test_name == uc.MODULE_NAME: 64 test_infos.add(uc.MODULE_INFO) 65 if test_name == uc.CLASS_NAME: 66 test_infos.add(uc.CLASS_INFO) 90 reload(uc) 102 find_method_return_module_info = lambda x, y: uc.MODULE_INFO 104 find_method_return_module_class_info = (lambda x, test: uc.MODULE_INFO 105 if test == uc.MODULE_NAME [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) 37 detail = test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_OPTION) 38 self.assertEqual(uc.TEST_MAPPING_TEST_WITH_OPTION['name'], detail.name) 39 self.assertEqual(uc.TEST_MAPPING_TEST_WITH_OPTION_STR, str(detail)) 44 test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_BAD_OPTION) 51 test_mapping.TestDetail(uc.TEST_MAPPING_TEST_WITH_BAD_HOST_VALUE)
|
D | unittest_utils.py | 22 import unittest_constants as uc namespace 83 if value == '/%s/%s' % (uc.CC_MODULE_DIR, constants.MODULE_CONFIG): 85 if value == '/%s/%s' % (uc.MODULE_DIR, constants.MODULE_CONFIG): 95 if value.endswith(uc.INT_NAME + '.xml'): 97 if value.endswith(uc.GTF_INT_NAME + '.xml'): 104 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) 192 uc.DEFAULT_INSTALL_PATH} 208 info = {constants.MODULE_PATH:[uc.TEST_DATA_DIR]} 218 info2 = {constants.MODULE_PATH:[uc.TEST_CONFIG_DATA_DIR], 219 constants.MODULE_TEST_CONFIG:[os.path.join(uc.TEST_CONFIG_DATA_DIR, "a.xml")]}
|
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 27 import aidegen.unittest_constants as uc namespace 48 uc.TEST_MODULE)) 49 constant.ANDROID_ROOT_PATH = uc.TEST_PATH 50 mock_get.return_value = [uc.TEST_MODULE] 51 expected = (uc.TEST_MODULE, os.path.join(uc.TEST_PATH, uc.TEST_MODULE)) 53 expected, common_util.get_related_paths(mod_info, uc.TEST_MODULE)) 57 expected, common_util.get_related_paths(mod_info, uc.TEST_MODULE)) 62 mock_get.return_value = None, uc.TEST_PATH 65 [uc.TEST_MODULE])) 69 [uc.TEST_MODULE])) [all …]
|
D | ide_util_unittest.py | 40 import aidegen.unittest_constants as uc namespace 55 IdeUtilUnittests._TEST_PRJ_PATH1 = os.path.join(uc.TEST_DATA_PATH, 57 IdeUtilUnittests._TEST_PRJ_PATH2 = os.path.join(uc.TEST_DATA_PATH, 59 IdeUtilUnittests._TEST_PRJ_PATH3 = uc.TEST_DATA_PATH 60 IdeUtilUnittests._TEST_PRJ_PATH4 = os.path.join(uc.TEST_DATA_PATH, 82 @mock.patch('glob.glob', return_value=uc.IDEA_SH_FIND_NONE) 85 mock_glob.return_value = uc.IDEA_SH_FIND_NONE 94 @mock.patch('glob.glob', return_value=uc.IDEA_SH_FIND) 97 mock_glob.return_value = uc.IDEA_SH_FIND 100 ide_util._ask_preference(uc.IDEA_SH_FIND), uc.IDEA_SH_FIND[0]) [all …]
|
D | project_info_unittest.py | 27 import aidegen.unittest_constants as uc namespace 95 'path': [uc.TEST_PATH] 112 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 114 ProjectInfo._get_target_name(uc.TEST_MODULE, uc.TEST_DATA_PATH), 115 os.path.basename(uc.TEST_DATA_PATH)) 117 ProjectInfo._get_target_name(uc.TEST_MODULE, uc.TEST_PATH), 118 uc.TEST_MODULE)
|
D | source_locator_unittest.py | 26 from aidegen import unittest_constants as uc unknown 53 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 65 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 87 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 115 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 143 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 157 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 210 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH 255 shutil.copytree(uc.TEST_DATA_PATH, test_root_path)
|
D | module_info_util_unittest.py | 25 import aidegen.unittest_constants as uc namespace 138 module_info_util._build_target(cmd, uc.TEST_MODULE, amodule_info, True) 146 module_info_util._build_target(cmd, uc.TEST_MODULE, amodule_info, False) 182 module_info_util._build_failed_handle(uc.TEST_MODULE) 186 module_info_util._build_failed_handle(uc.TEST_MODULE)
|
/tools/asuite/aidegen/ |
D | aidegen_main_unittest.py | 25 import aidegen.unittest_constants as uc namespace 61 args = aidegen_main._parse_args(['-p', uc.TEST_MODULE]) 62 self.assertEqual(args.ide_installed_path, uc.TEST_MODULE)
|
/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):
|
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/ |
D | Anritsu_SIM_Bo_ca.wnssp | 1 …zEYJ8AYQ80M+5vRHhp+N4+d/UVWL8UYvoDbkPgCVbE8ypEIg9ruBkelpMakdNbV47HOfJGcxwU/uc+gyvKPgSAvD35nOAk9EKY…
|