Home
last modified time | relevance | path

Searched refs:TEST_DATA_DIR (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java50 private static final String TEST_DATA_DIR = "testdata"; field in TestMappingTest
63 String srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testparseTestMapping()
149 String srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testGetTests()
153 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testGetTests()
156 srcFile = File.separator + TEST_DATA_DIR + File.separator + DISABLED_PRESUBMIT_TESTS; in testGetTests()
201 String srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testGetTests_matchKeywords()
205 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testGetTests_matchKeywords()
208 srcFile = File.separator + TEST_DATA_DIR + File.separator + DISABLED_PRESUBMIT_TESTS; in testGetTests_matchKeywords()
242 String srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testGetAllTestMappingPaths_FromChildDirectory()
246 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testGetAllTestMappingPaths_FromChildDirectory()
[all …]
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py38 INT_DIR1 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir1')
39 INT_DIR2 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir2')
66 VTS_PLAN_TARGETS = {os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-staging-default.xml'),
67 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-aa.xml'),
68 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-bb.xml'),
69 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-cc.xml'),
70 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-dd.xml')}
141 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing',
147 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing',
151 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing',
[all …]
Dcache_finder_unittest.py45 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root')
Dtf_integration_finder_unittest.py128 search.return_value = [os.path.join(uc.TEST_DATA_DIR,
130 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG)
Dmodule_finder_unittest.py45 KERNEL_CONFIG_FILE = os.path.join(uc.TEST_DATA_DIR, KERNEL_TEST_CONFIG)
470 return_value=os.path.relpath(uc.TEST_DATA_DIR, uc.ROOT))
478 class_dir = os.path.join(uc.TEST_DATA_DIR, 'path_testing')
489 empty_dir = os.path.join(uc.TEST_DATA_DIR, 'path_testing_empty')
495 class_dir = os.path.join(uc.TEST_DATA_DIR, 'cc_path_testing')
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils_unittest.py35 INT_DIR1 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir1')
36 INT_DIR2 = os.path.join(uc.TEST_DATA_DIR, 'integration_dir_testing/int_dir2')
63 VTS_PLAN_TARGETS = {os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-staging-default.xml'),
64 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-aa.xml'),
65 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-bb.xml'),
66 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-cc.xml'),
67 os.path.join(uc.TEST_DATA_DIR, VTS_PLAN_DIR, 'vts-dd.xml')}
138 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing',
144 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing',
148 test_path = os.path.join(uc.TEST_DATA_DIR, 'class_file_path_testing',
[all …]
Dcache_finder_unittest.py42 test_cache_root = os.path.join(uc.TEST_DATA_DIR, 'cache_root')
Dtf_integration_finder_unittest.py124 search.return_value = [os.path.join(uc.TEST_DATA_DIR,
126 xml_file = os.path.join(uc.TEST_DATA_DIR, constants.MODULE_CONFIG)
Dmodule_finder_unittest.py42 KERNEL_CONFIG_FILE = os.path.join(uc.TEST_DATA_DIR, KERNEL_TEST_CONFIG)
467 return_value=os.path.relpath(uc.TEST_DATA_DIR, uc.ROOT))
475 class_dir = os.path.join(uc.TEST_DATA_DIR, 'path_testing')
486 empty_dir = os.path.join(uc.TEST_DATA_DIR, 'path_testing_empty')
492 class_dir = os.path.join(uc.TEST_DATA_DIR, 'cc_path_testing')
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java77 private static final String TEST_DATA_DIR = "testdata"; field in TestMappingSuiteRunnerTest
242 File.separator + TEST_DATA_DIR + File.separator + DISABLED_PRESUBMIT_TESTS; in testLoadTests_testMappingsZip()
246 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testLoadTests_testMappingsZip()
250 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testLoadTests_testMappingsZip()
312 File.separator + TEST_DATA_DIR + File.separator + DISABLED_PRESUBMIT_TESTS; in testLoadTests_testMappingsZipFoundTestsWithKeywords()
316 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testLoadTests_testMappingsZipFoundTestsWithKeywords()
320 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testLoadTests_testMappingsZipFoundTestsWithKeywords()
384 File.separator + TEST_DATA_DIR + File.separator + DISABLED_PRESUBMIT_TESTS; in testLoadTests_testMappingsZipFailWithKeywords()
388 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testLoadTests_testMappingsZipFailWithKeywords()
392 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testLoadTests_testMappingsZipFailWithKeywords()
[all …]
/tools/asuite/atest/
Dunittest_constants.py47 TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'unittest_data') variable
48 TEST_CONFIG_DATA_DIR = os.path.join(TEST_DATA_DIR, 'test_config')
81 TEST_DATA_CONFIG = os.path.relpath(os.path.join(TEST_DATA_DIR,
234 FIND_PATH = os.path.join(TEST_DATA_DIR, FIND_PATH_FOLDER)
Dbug_detector_unittest.py48 self.history_file = os.path.join(uc.TEST_DATA_DIR, 'bug_detector.json')
51 self.history_file2 = os.path.join(uc.TEST_DATA_DIR, 'bug_detector2.json')
Dcli_translator_unittest.py44 TEST_MAPPING_TOP_DIR = os.path.join(uc.TEST_DATA_DIR, 'test_mapping')
275 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
291 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
309 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
327 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
Dmodule_info_unittest.py31 JSON_FILE_PATH = os.path.join(uc.TEST_DATA_DIR, uc.JSON_FILE)
214 info = {constants.MODULE_PATH:[uc.TEST_DATA_DIR]}
/tools/tradefederation/core/atest/
Dunittest_constants.py44 TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'unittest_data') variable
45 TEST_CONFIG_DATA_DIR = os.path.join(TEST_DATA_DIR, 'test_config')
78 TEST_DATA_CONFIG = os.path.relpath(os.path.join(TEST_DATA_DIR,
231 FIND_PATH = os.path.join(TEST_DATA_DIR, FIND_PATH_FOLDER)
Dbug_detector_unittest.py45 self.history_file = os.path.join(uc.TEST_DATA_DIR, 'bug_detector.json')
48 self.history_file2 = os.path.join(uc.TEST_DATA_DIR, 'bug_detector2.json')
Dcli_translator_unittest.py43 TEST_MAPPING_TOP_DIR = os.path.join(uc.TEST_DATA_DIR, 'test_mapping')
274 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
290 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
308 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
326 os_environ_mock = {constants.ANDROID_BUILD_TOP: uc.TEST_DATA_DIR}
Dmodule_info_unittest.py27 JSON_FILE_PATH = os.path.join(uc.TEST_DATA_DIR, uc.JSON_FILE)
208 info = {constants.MODULE_PATH:[uc.TEST_DATA_DIR]}
/tools/asuite/atest/tools/
Datest_tools_unittest.py33 SEARCH_ROOT = uc.TEST_DATA_DIR
42 @mock.patch('tools.atest_tools.SEARCH_TOP', uc.TEST_DATA_DIR)
/tools/tradefederation/core/atest/tools/
Datest_tools_unittest.py32 SEARCH_ROOT = uc.TEST_DATA_DIR
41 @mock.patch('tools.atest_tools.SEARCH_TOP', uc.TEST_DATA_DIR)