Searched refs:test_dir (Results 1 – 7 of 7) sorted by relevance
/system/core/init/ |
D | util_test.cpp | 100 TemporaryDir test_dir; in TEST() local 101 std::string path = android::base::StringPrintf("%s/does-not-exist", test_dir.path); in TEST() 143 TemporaryDir test_dir; in TEST() local 144 EXPECT_TRUE(is_dir(test_dir.path)); in TEST() 150 TemporaryDir test_dir; in TEST() local 151 std::string path = android::base::StringPrintf("%s/three/directories/deep", test_dir.path); in TEST() 153 std::string path1 = android::base::StringPrintf("%s/three", test_dir.path); in TEST() 155 std::string path2 = android::base::StringPrintf("%s/three/directories", test_dir.path); in TEST() 157 std::string path3 = android::base::StringPrintf("%s/three/directories/deep", test_dir.path); in TEST() 162 TemporaryDir test_dir; in TEST() local [all …]
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | util_test.cpp | 222 base::FilePath test_dir; in TEST() local 223 ASSERT_TRUE(base::CreateTemporaryDirInDir(tmp_dir, "list-file-tests.", &test_dir)); in TEST() 226 base::FilePath file_path_1 = test_dir.Append("1.txt"); in TEST() 228 base::FilePath file_path_2 = test_dir.Append("2.txt"); in TEST() 230 base::FilePath file_path_3 = test_dir.Append("3.txt"); in TEST() 234 auto result = ListFiles(test_dir.value()); in TEST() 244 ASSERT_TRUE(base::DeleteFile(test_dir, true /* resursive */)); in TEST() 253 base::FilePath test_dir; in TEST() local 254 ASSERT_TRUE(base::CreateTemporaryDirInDir(tmp_dir, "list-file-tests.", &test_dir)); in TEST() 257 base::FilePath file_path_1 = test_dir.Append("1.txt"); in TEST() [all …]
|
/system/tools/hidl/scripts/ |
D | run-tests.sh | 29 for test_dir in nativetest nativetest64 ; do 30 local test_file=/data/${test_dir}/${module}/${module} 43 for test_dir in nativetest nativetest64 ; do 44 local test_file=/data/${test_dir}/${module}/${module}
|
/system/extras/simpleperf/scripts/ |
D | test_monitor.py | 78 repeat_times=args.repeat, test_patterns=args.pattern, test_dir=args.test_dir) 116 self.test_dir = None 127 with open(os.path.join(self.test_dir, 'tests.txt'), 'w') as fh: 130 self.progress_file = os.path.join(self.test_dir, 'progress_file.txt') 142 self.test_proc = subprocess.Popen(args, cwd=self.test_dir, env=env) 144 log_info('start task for %s' % self.test_dir) 149 self.test_dir = os.path.abspath(test_name) 150 if os.path.isdir(self.test_dir): 151 shutil.rmtree(self.test_dir) 152 os.mkdir(self.test_dir)
|
D | test.py | 118 def test_dir(self, test_name): member in TestHelper 180 self.test_dir = TEST_HELPER.test_dir('%s.%s' % ( 182 os.makedirs(self.test_dir) 184 os.chdir(self.test_dir) 210 shutil.rmtree(self.test_dir) 299 cls.testcase_dir = TEST_HELPER.test_dir(cls.__name__) 317 os.chdir(self.test_dir) 322 shutil.copy(path, self.test_dir) 324 shutil.copytree(path, os.path.join(self.test_dir, name)) 589 test_dir = 'inferno_testdir' [all …]
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 204 TemporaryDir test_dir; in TEST_F() local 205 ASSERT_FALSE(isIncFsPath(test_dir.path)); in TEST_F()
|
/system/apex/apexd/ |
D | apexservice_test.cpp | 337 const std::string& test_dir = std::string(kTestDir), in PrepareTestApexForInstall() 341 test_dir_input = test_dir; in PrepareTestApexForInstall()
|