Home
last modified time | relevance | path

Searched refs:DirectoryExists (Results 1 – 25 of 181) sorted by relevance

12345678

/external/chromium_org/chrome/installer/util/
Dself_cleaning_temp_dir_unittest.cc77 EXPECT_TRUE(base::DirectoryExists(temp_dir.path())); in TEST_F()
79 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.Append(L"Three"))); in TEST_F()
80 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir)); in TEST_F()
81 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName())); in TEST_F()
82 EXPECT_TRUE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); in TEST_F()
84 EXPECT_FALSE(base::DirectoryExists(parent_temp_dir.DirName().DirName())); in TEST_F()
104 EXPECT_TRUE(base::DirectoryExists(temp_dir1.path())); in TEST_F()
105 EXPECT_TRUE(base::DirectoryExists(temp_dir2.path())); in TEST_F()
109 EXPECT_FALSE(base::DirectoryExists(temp_dir1.path())); in TEST_F()
111 EXPECT_TRUE(base::DirectoryExists(parent_temp_dir)); in TEST_F()
[all …]
Dcopy_tree_work_item.cc41 (!base::DirectoryExists(source_path_)) && in Do()
42 (!base::DirectoryExists(dest_path_)) && in Do()
50 (!base::DirectoryExists(source_path_)) && in Do()
51 (!base::DirectoryExists(dest_path_)) && in Do()
/external/chromium/base/memory/
Dscoped_temp_dir_unittest.cc16 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
22 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
28 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
34 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
41 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
52 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
57 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
71 EXPECT_TRUE(file_util::DirectoryExists(test_path)); in TEST()
75 EXPECT_FALSE(file_util::DirectoryExists(test_path)); in TEST()
Dscoped_temp_dir.cc53 if (!file_util::DirectoryExists(path) && in Set()
83 return !path_.empty() && file_util::DirectoryExists(path_); in IsValid()
/external/chromium_org/base/files/
Dscoped_temp_dir_unittest.cc20 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
26 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
32 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
38 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
45 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
56 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
61 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
75 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
79 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
Dscoped_temp_dir.cc53 if (!DirectoryExists(path) && !base::CreateDirectory(path)) in Set()
80 return !path_.empty() && DirectoryExists(path_); in IsValid()
/external/chromium_org/content/browser/fileapi/
Dlocal_file_util_unittest.cc79 !base::DirectoryExists(LocalPath(file_name)); in FileExists()
82 bool DirectoryExists(const char *file_name) { in DirectoryExists() function in fileapi::LocalFileUtilTest
83 return base::DirectoryExists(LocalPath(file_name)); in DirectoryExists()
308 EXPECT_TRUE(DirectoryExists(from_dir)); in TEST_F()
311 EXPECT_FALSE(DirectoryExists(to_dir)); in TEST_F()
318 EXPECT_TRUE(DirectoryExists(from_dir)); in TEST_F()
321 EXPECT_TRUE(DirectoryExists(to_dir)); in TEST_F()
371 EXPECT_TRUE(DirectoryExists(from_dir)); in TEST_F()
374 EXPECT_FALSE(DirectoryExists(to_dir)); in TEST_F()
382 EXPECT_FALSE(DirectoryExists(from_dir)); in TEST_F()
[all …]
Dfile_system_operation_impl_unittest.cc137 bool DirectoryExists(const std::string& path) { in DirectoryExists() function in fileapi::FileSystemOperationImplTest
138 return AsyncFileTestHelper::DirectoryExists( in DirectoryExists()
414 EXPECT_FALSE(DirectoryExists("src")); in TEST_F()
421 EXPECT_TRUE(DirectoryExists("dest")); in TEST_F()
422 EXPECT_FALSE(DirectoryExists("dest/src")); in TEST_F()
434 EXPECT_FALSE(DirectoryExists("src")); in TEST_F()
435 EXPECT_TRUE(DirectoryExists("dest/new")); in TEST_F()
454 EXPECT_TRUE(DirectoryExists("dest/dir")); in TEST_F()
613 EXPECT_TRUE(DirectoryExists("dest")); in TEST_F()
614 EXPECT_FALSE(DirectoryExists("dest/src")); in TEST_F()
[all …]
Dcopy_or_move_operation_delegate_unittest.cc361 bool DirectoryExists(const FileSystemURL& url) { in DirectoryExists() function in fileapi::CopyOrMoveOperationTestHelper
362 return AsyncFileTestHelper::DirectoryExists(file_system_context_.get(), in DirectoryExists()
465 ASSERT_TRUE(helper.DirectoryExists(src)); in TEST()
466 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST()
494 ASSERT_FALSE(helper.DirectoryExists(src)); in TEST()
495 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST()
530 ASSERT_TRUE(helper.DirectoryExists(src)); in TEST()
531 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST()
567 ASSERT_FALSE(helper.DirectoryExists(src)); in TEST()
568 ASSERT_TRUE(helper.DirectoryExists(dest)); in TEST()
[all …]
/external/chromium_org/webkit/browser/fileapi/
Dnative_file_util.cc129 if (!base::DirectoryExists(path.DirName())) { in CreateOrOpen()
133 if (base::DirectoryExists(path)) in CreateOrOpen()
150 if (!base::DirectoryExists(path.DirName())) in EnsureFileExists()
184 if (path_exists && !base::DirectoryExists(path)) in CreateDirectory()
251 bool NativeFileUtil::DirectoryExists(const base::FilePath& path) { in DirectoryExists() function in fileapi::NativeFileUtil
252 return base::DirectoryExists(path); in DirectoryExists()
308 if (base::DirectoryExists(path)) in DeleteFile()
318 if (!base::DirectoryExists(path)) in DeleteDirectory()
Dnative_file_util_unittest.cc35 !base::DirectoryExists(path); in FileExists()
103 EXPECT_TRUE(NativeFileUtil::DirectoryExists(dir_name)); in TEST_F()
104 EXPECT_TRUE(base::DirectoryExists(dir_name)); in TEST_F()
113 EXPECT_FALSE(base::DirectoryExists(dir_name)); in TEST_F()
114 EXPECT_FALSE(NativeFileUtil::DirectoryExists(dir_name)); in TEST_F()
249 ASSERT_TRUE(base::DirectoryExists(dir)); in TEST_F()
315 ASSERT_TRUE(base::DirectoryExists(dir)); in TEST_F()
/external/protobuf/gtest/test/
Dgtest-filepath_test.cc321 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
323 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
338 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
348 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
355 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
356 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
359 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
360 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST()
481 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.c_str(); in TEST_F()
483 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/external/chromium/chrome/common/extensions/
Dextension_file_util_unittest.cc40 ASSERT_TRUE(file_util::DirectoryExists(version_1)); in TEST()
43 ASSERT_FALSE(file_util::DirectoryExists(src)); in TEST()
54 ASSERT_TRUE(file_util::DirectoryExists(version_2)); in TEST()
62 ASSERT_FALSE(file_util::DirectoryExists(version_1)); in TEST()
63 ASSERT_TRUE(file_util::DirectoryExists(version_2)); in TEST()
67 ASSERT_FALSE(file_util::DirectoryExists(version_2.DirName())); in TEST()
68 ASSERT_TRUE(file_util::DirectoryExists(all_extensions)); in TEST()
/external/chromium_org/testing/gtest/test/
Dgtest-filepath_test.cc376 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
378 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
393 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
403 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
411 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
412 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
416 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
417 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST()
551 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.string(); in TEST_F()
553 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_unittest.cc81 EXPECT_TRUE(base::DirectoryExists(normal_path)); in TEST_F()
82 EXPECT_FALSE(base::DirectoryExists(session_only_path)); in TEST_F()
115 EXPECT_TRUE(base::DirectoryExists(normal_path)); in TEST_F()
116 EXPECT_TRUE(base::DirectoryExists(session_only_path)); in TEST_F()
198 EXPECT_FALSE(base::DirectoryExists(test_path)); in TEST_F()
223 EXPECT_TRUE(base::DirectoryExists(test_path)); in TEST_F()
/external/gtest/test/
Dgtest-filepath_test.cc389 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
391 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
406 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
416 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
424 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
425 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
429 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
430 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST()
571 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.c_str(); in TEST_F()
573 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/external/chromium/testing/gtest/test/
Dgtest-filepath_test.cc389 EXPECT_TRUE(FilePath(current_drive).DirectoryExists()); in TEST()
391 EXPECT_TRUE(FilePath("/").DirectoryExists()); in TEST()
406 EXPECT_FALSE(FilePath(non_drive).DirectoryExists()); in TEST()
416 EXPECT_FALSE(FilePath("").DirectoryExists()); in TEST()
424 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
425 EXPECT_TRUE(FilePath(".\\").DirectoryExists()); in TEST()
429 EXPECT_TRUE(FilePath(".").DirectoryExists()); in TEST()
430 EXPECT_TRUE(FilePath("./").DirectoryExists()); in TEST()
567 EXPECT_FALSE(testdata_path_.DirectoryExists()) << testdata_path_.c_str(); in TEST_F()
569 EXPECT_TRUE(testdata_path_.DirectoryExists()); in TEST_F()
[all …]
/external/chromium_org/chrome/common/extensions/
Dextension_file_util_unittest.cc54 ASSERT_TRUE(base::DirectoryExists(version_1)); in TEST_F()
57 ASSERT_FALSE(base::DirectoryExists(src)); in TEST_F()
69 ASSERT_TRUE(base::DirectoryExists(version_2)); in TEST_F()
72 ASSERT_FALSE(base::DirectoryExists(src)); in TEST_F()
84 ASSERT_TRUE(base::DirectoryExists(version_3)); in TEST_F()
94 ASSERT_FALSE(base::DirectoryExists(version_1)); in TEST_F()
95 ASSERT_TRUE(base::DirectoryExists(version_2)); in TEST_F()
96 ASSERT_TRUE(base::DirectoryExists(version_3)); in TEST_F()
100 ASSERT_FALSE(base::DirectoryExists(version_2.DirName())); in TEST_F()
101 ASSERT_FALSE(base::DirectoryExists(version_3.DirName())); in TEST_F()
[all …]
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-filepath.cc125 bool FilePath::DirectoryExists() const { in DirectoryExists() function in testing::internal::FilePath
176 if (pathname_.GetLength() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
195 return this->DirectoryExists(); // An error is OK if the directory exists. in CreateFolder()
/external/chromium_org/chrome/common/mac/
Dapp_mode_chrome_locator_unittest.mm34 EXPECT_TRUE(base::DirectoryExists(finder_bundle_path));
58 ASSERT_TRUE(base::DirectoryExists(chrome_bundle_path));
66 EXPECT_TRUE(base::DirectoryExists(version_path));
/external/chromium/chrome/browser/google/
Dgoogle_update_settings_posix.cc35 if (!file_util::DirectoryExists(consent_dir)) in SetCollectStatsConsent()
58 if (!file_util::DirectoryExists(consent_dir) || in SetMetricsId()
/external/chromium_org/chrome/test/chromedriver/chrome/
Dzip.cc60 bool is_directory = base::DirectoryExists(path); in AddEntryToZip()
130 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
178 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
/external/chromium_org/chrome/browser/google/
Dgoogle_update_settings_posix.cc41 if (!base::DirectoryExists(consent_dir)) in SetCollectStatsConsent()
71 if (!base::DirectoryExists(consent_dir) || in SetMetricsId()
/external/chromium_org/third_party/zlib/google/
Dzip.cc62 bool is_directory = base::DirectoryExists(path); in AddEntryToZip()
150 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
198 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
/external/chromium_org/components/autofill/core/browser/
Ddata_driven_test.cc38 ASSERT_TRUE(base::DirectoryExists(input_directory)); in RunDataDrivenTest()
39 ASSERT_TRUE(base::DirectoryExists(output_directory)); in RunDataDrivenTest()

12345678