Home
last modified time | relevance | path

Searched refs:PathExists (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/external/chromium_org/chrome/installer/util/
Dmove_tree_work_item_unittest.cc65 ASSERT_TRUE(base::PathExists(from_dir1)); in TEST_F()
70 ASSERT_TRUE(base::PathExists(from_dir2)); in TEST_F()
75 ASSERT_TRUE(base::PathExists(from_file)); in TEST_F()
80 ASSERT_FALSE(base::PathExists(to_dir)); in TEST_F()
85 ASSERT_FALSE(base::PathExists(to_file)); in TEST_F()
95 EXPECT_FALSE(base::PathExists(from_dir1)); in TEST_F()
96 EXPECT_TRUE(base::PathExists(to_dir)); in TEST_F()
97 EXPECT_TRUE(base::PathExists(to_file)); in TEST_F()
102 EXPECT_TRUE(base::PathExists(from_dir1)); in TEST_F()
103 EXPECT_TRUE(base::PathExists(from_file)); in TEST_F()
[all …]
Dcopy_tree_work_item_unittest.cc49 if (!base::PathExists(path)) in IsFileInUse()
82 ASSERT_TRUE(base::PathExists(file_name_from)); in TEST_F()
88 ASSERT_TRUE(base::PathExists(dir_name_to)); in TEST_F()
103 EXPECT_TRUE(base::PathExists(file_name_from)); in TEST_F()
104 EXPECT_TRUE(base::PathExists(file_name_to)); in TEST_F()
110 EXPECT_FALSE(base::PathExists(file_name_to)); in TEST_F()
111 EXPECT_TRUE(base::PathExists(file_name_from)); in TEST_F()
122 ASSERT_TRUE(base::PathExists(file_name_from)); in TEST_F()
128 ASSERT_TRUE(base::PathExists(dir_name_to)); in TEST_F()
133 ASSERT_TRUE(base::PathExists(file_name_to)); in TEST_F()
[all …]
Ddelete_tree_work_item_unittest.cc51 ASSERT_TRUE(base::PathExists(dir_name_delete)); in TEST_F()
56 ASSERT_TRUE(base::PathExists(dir_name_delete_1)); in TEST_F()
61 ASSERT_TRUE(base::PathExists(dir_name_delete_2)); in TEST_F()
66 ASSERT_TRUE(base::PathExists(file_name_delete_1)); in TEST_F()
71 ASSERT_TRUE(base::PathExists(file_name_delete_2)); in TEST_F()
84 EXPECT_FALSE(base::PathExists(file_name_delete_1)); in TEST_F()
85 EXPECT_FALSE(base::PathExists(file_name_delete_2)); in TEST_F()
86 EXPECT_FALSE(base::PathExists(dir_name_delete)); in TEST_F()
90 EXPECT_TRUE(base::PathExists(file_name_delete_1)); in TEST_F()
91 EXPECT_TRUE(base::PathExists(file_name_delete_2)); in TEST_F()
[all …]
Dcreate_dir_work_item_unittest.cc32 ASSERT_TRUE(base::PathExists(parent_dir)); in TEST_F()
46 EXPECT_TRUE(base::PathExists(dir_to_create)); in TEST_F()
51 EXPECT_FALSE(base::PathExists(top_dir_to_create)); in TEST_F()
52 EXPECT_TRUE(base::PathExists(parent_dir)); in TEST_F()
59 ASSERT_TRUE(base::PathExists(dir_to_create)); in TEST_F()
66 EXPECT_TRUE(base::PathExists(dir_to_create)); in TEST_F()
72 EXPECT_TRUE(base::PathExists(dir_to_create)); in TEST_F()
90 EXPECT_TRUE(base::PathExists(dir_to_create_3)); in TEST_F()
96 ASSERT_TRUE(base::PathExists(dir_to_create_4)); in TEST_F()
101 EXPECT_FALSE(base::PathExists(dir_to_create_3)); in TEST_F()
[all …]
Dinstaller_state_unittest.cc99 ASSERT_TRUE(base::PathExists(chrome_dir)); in TEST_F()
104 ASSERT_TRUE(base::PathExists(chrome_dir_1)); in TEST_F()
109 ASSERT_TRUE(base::PathExists(chrome_dir_2)); in TEST_F()
114 ASSERT_TRUE(base::PathExists(chrome_dir_3)); in TEST_F()
119 ASSERT_TRUE(base::PathExists(chrome_dir_4)); in TEST_F()
124 ASSERT_TRUE(base::PathExists(chrome_dll_1)); in TEST_F()
129 ASSERT_TRUE(base::PathExists(chrome_dll_2)); in TEST_F()
134 ASSERT_TRUE(base::PathExists(chrome_dll_3)); in TEST_F()
139 ASSERT_TRUE(base::PathExists(chrome_dll_4)); in TEST_F()
152 EXPECT_FALSE(base::PathExists(chrome_dir_1)); in TEST_F()
[all …]
Dlzma_util_unittest.cc20 ASSERT_TRUE(base::PathExists(data_dir_)); in SetUp()
57 ASSERT_FALSE(base::PathExists(extract_dir)); in TEST_F()
59 ASSERT_TRUE(base::PathExists(extract_dir)); in TEST_F()
67 EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("a.exe"))); in TEST_F()
74 EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("b.exe"))); in TEST_F()
89 EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("archive\\a.exe"))); in TEST_F()
90 EXPECT_TRUE(base::PathExists( in TEST_F()
98 ASSERT_FALSE(base::PathExists(extract_dir)); in TEST_F()
100 ASSERT_TRUE(base::PathExists(extract_dir)); in TEST_F()
106 EXPECT_TRUE(base::PathExists(extract_dir.AppendASCII("a.exe"))); in TEST_F()
[all …]
Dshell_util_unittest.cc344 ASSERT_TRUE(base::PathExists( in TEST_F()
351 ASSERT_FALSE(base::PathExists( in TEST_F()
373 ASSERT_TRUE(base::PathExists( in TEST_F()
380 ASSERT_TRUE(base::PathExists( in TEST_F()
390 ASSERT_TRUE(base::PathExists(shortcut_path)); in TEST_F()
395 ASSERT_FALSE(base::PathExists(shortcut_path)); in TEST_F()
396 ASSERT_TRUE(base::PathExists(shortcut_path.DirName())); in TEST_F()
406 ASSERT_TRUE(base::PathExists(shortcut_path)); in TEST_F()
411 ASSERT_FALSE(base::PathExists(shortcut_path)); in TEST_F()
412 ASSERT_TRUE(base::PathExists(shortcut_path.DirName())); in TEST_F()
[all …]
Dlogging_installer_unittest.cc24 ASSERT_TRUE(base::PathExists(temp_file)); in TEST()
37 EXPECT_FALSE(base::PathExists(temp_file.Append(L".tmp"))); in TEST()
49 ASSERT_TRUE(base::PathExists(temp_file)); in TEST()
57 EXPECT_TRUE(base::PathExists(temp_file)); in TEST()
71 ASSERT_TRUE(base::PathExists(temp_file)); in TEST()
85 EXPECT_TRUE(base::PathExists(temp_file)); in TEST()
99 ASSERT_TRUE(base::PathExists(temp_file)); in TEST()
116 EXPECT_FALSE(base::PathExists(temp_file)); in TEST()
Dwork_item_list_unittest.cc62 ASSERT_FALSE(base::PathExists(dir_to_create)); in TEST_F()
98 EXPECT_TRUE(base::PathExists(dir_to_create)); in TEST_F()
107 EXPECT_FALSE(base::PathExists(top_dir_to_create)); in TEST_F()
119 ASSERT_FALSE(base::PathExists(dir_to_create)); in TEST_F()
161 EXPECT_TRUE(base::PathExists(dir_to_create)); in TEST_F()
171 EXPECT_FALSE(base::PathExists(top_dir_to_create)); in TEST_F()
182 ASSERT_FALSE(base::PathExists(dir_to_create)); in TEST_F()
223 EXPECT_TRUE(base::PathExists(dir_to_create)); in TEST_F()
232 EXPECT_FALSE(base::PathExists(top_dir_to_create)); in TEST_F()
243 ASSERT_FALSE(base::PathExists(dir_to_create)); in TEST_F()
[all …]
Dduplicate_tree_detector_unittest.cc43 ASSERT_TRUE(base::PathExists(d1)); in CreateTwoIdenticalHierarchies()
48 ASSERT_TRUE(base::PathExists(f1)); in CreateTwoIdenticalHierarchies()
53 ASSERT_TRUE(base::PathExists(d2)); in CreateTwoIdenticalHierarchies()
58 ASSERT_TRUE(base::PathExists(f2)); in CreateTwoIdenticalHierarchies()
97 ASSERT_TRUE(base::PathExists(new_file)); in TEST_F()
111 ASSERT_TRUE(base::PathExists(new_file)); in TEST_F()
Dcreate_dir_work_item.cc19 if (base::PathExists(path_)) { in GetTopDirToCreate()
28 } while ((parent_dir != top_path_) && !base::PathExists(parent_dir)); in GetTopDirToCreate()
59 if (base::PathExists(path_to_delete)) { in Rollback()
/external/chromium_org/net/disk_cache/
Dcache_util_unittest.cc56 EXPECT_TRUE(base::PathExists(dest_dir_)); in TEST_F()
57 EXPECT_TRUE(base::PathExists(dest_file1_)); in TEST_F()
58 EXPECT_TRUE(base::PathExists(dest_file2_)); in TEST_F()
59 EXPECT_TRUE(base::PathExists(dest_dir1_)); in TEST_F()
61 EXPECT_TRUE(base::PathExists(cache_dir_)); // old cache dir stays in TEST_F()
63 EXPECT_FALSE(base::PathExists(cache_dir_)); // old cache is gone in TEST_F()
65 EXPECT_FALSE(base::PathExists(file1_)); in TEST_F()
66 EXPECT_FALSE(base::PathExists(file2_)); in TEST_F()
67 EXPECT_FALSE(base::PathExists(dir1_)); in TEST_F()
72 EXPECT_TRUE(base::PathExists(cache_dir_)); // cache dir stays in TEST_F()
[all …]
/external/chromium_org/base/
Dfile_util_unittest.cc292 ASSERT_FALSE(PathExists(file_a_path)); in TEST_F()
297 ASSERT_TRUE(PathExists(file_a_path)); in TEST_F()
301 ASSERT_TRUE(PathExists(file_b_path)); in TEST_F()
520 EXPECT_TRUE(PathExists(temp_file)); in TEST_F()
537 EXPECT_TRUE(PathExists(temp_file)); in TEST_F()
627 ASSERT_FALSE(PathExists(non_existent)); in TEST_F()
630 ASSERT_FALSE(PathExists(non_existent)); in TEST_F()
632 ASSERT_FALSE(PathExists(non_existent)); in TEST_F()
638 ASSERT_FALSE(PathExists(non_existent)); in TEST_F()
641 ASSERT_FALSE(PathExists(non_existent)); in TEST_F()
[all …]
Dpath_service_unittest.cc76 base::PathExists(path)); in ReturnsValidPath()
160 EXPECT_TRUE(base::PathExists(fake_cache_dir)); in TEST_F()
168 EXPECT_FALSE(base::PathExists(fake_cache_dir2)); in TEST_F()
173 EXPECT_TRUE(base::PathExists(fake_cache_dir2)); in TEST_F()
179 EXPECT_FALSE(base::PathExists(non_existent)); in TEST_F()
196 EXPECT_FALSE(base::PathExists(non_existent)); in TEST_F()
210 EXPECT_TRUE(base::PathExists(fake_cache_dir1)); in TEST_F()
215 EXPECT_TRUE(base::PathExists(fake_cache_dir2)); in TEST_F()
222 EXPECT_TRUE(base::PathExists(result.AppendASCII("t1"))); in TEST_F()
224 EXPECT_TRUE(base::PathExists(result.AppendASCII("t2"))); in TEST_F()
/external/chromium_org/base/prefs/
Djson_pref_store_unittest.cc94 ASSERT_TRUE(PathExists(data_dir_)); in SetUp()
115 ASSERT_FALSE(PathExists(bogus_input_file)); in TEST_F()
130 ASSERT_FALSE(PathExists(bogus_input_file)); in TEST_F()
131 ASSERT_FALSE(PathExists(bogus_alternate_input_file)); in TEST_F()
156 EXPECT_FALSE(PathExists(invalid_file)); in TEST_F()
158 EXPECT_TRUE(PathExists(moved_aside)); in TEST_F()
221 ASSERT_TRUE(PathExists(golden_output_file)); in RunBasicJsonPrefStoreTest()
234 ASSERT_TRUE(PathExists(input_file)); in TEST_F()
263 ASSERT_TRUE(PathExists(input_file)); in TEST_F()
356 ASSERT_FALSE(PathExists(bogus_input_file)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dextension_garbage_collector_unittest.cc92 ASSERT_FALSE(base::PathExists(extension_dir)); in TEST_F()
122 ASSERT_TRUE(base::PathExists(extension_dir)); in TEST_F()
129 ASSERT_FALSE(base::PathExists(extension_dir)); in TEST_F()
147 ASSERT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
154 EXPECT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
156 EXPECT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
158 EXPECT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
160 EXPECT_FALSE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
178 ASSERT_TRUE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
185 EXPECT_FALSE(base::PathExists(extensions_install_dir().AppendASCII( in TEST_F()
[all …]
Dextension_garbage_collector_chromeos_unittest.cc156 EXPECT_TRUE(base::PathExists(path_id1_1)); in TEST_F()
163 EXPECT_TRUE(base::PathExists(path_id1_2)); in TEST_F()
179 EXPECT_TRUE(base::PathExists(path_id2_1)); in TEST_F()
183 EXPECT_FALSE(base::PathExists(path_id1_1)); in TEST_F()
184 EXPECT_FALSE(base::PathExists(path_id1_2)); in TEST_F()
185 EXPECT_FALSE(base::PathExists(cache_dir().AppendASCII(kExtensionId1))); in TEST_F()
187 EXPECT_TRUE(base::PathExists(path_id2_1)); in TEST_F()
/external/chromium_org/chrome/browser/profiles/
Dprofile_shortcut_manager_unittest_win.cc78 ASSERT_TRUE(base::PathExists(icon_path)); in TearDown()
126 return base::PathExists( in ProfileShortcutExistsAtDefaultPath()
135 EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString(); in ValidateProfileShortcutAtPath()
140 EXPECT_TRUE(base::PathExists(icon_path)) << location.ToString(); in ValidateProfileShortcutAtPath()
166 EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString(); in ValidateNonProfileShortcutAtPath()
202 EXPECT_FALSE(base::PathExists(shortcut_path)) << location.ToString(); in CreateRegularShortcutWithName()
211 EXPECT_TRUE(base::PathExists(shortcut_path)) << location.ToString(); in CreateRegularShortcutWithName()
230 EXPECT_TRUE(base::PathExists(system_level_shortcut_path)) in CreateRegularSystemLevelShortcut()
402 ASSERT_FALSE(base::PathExists(profile_1_shortcut_path)); in TEST_F()
403 ASSERT_TRUE(base::PathExists(profile_2_shortcut_path)); in TEST_F()
[all …]
/external/chromium_org/content/browser/download/
Ddownload_file_unittest.cc341 EXPECT_TRUE(base::PathExists(initial_path)); in TEST_F()
357 EXPECT_FALSE(base::PathExists(initial_path)); in TEST_F()
358 EXPECT_TRUE(base::PathExists(path_1)); in TEST_F()
372 EXPECT_FALSE(base::PathExists(path_1)); in TEST_F()
373 EXPECT_TRUE(base::PathExists(path_2)); in TEST_F()
386 EXPECT_FALSE(base::PathExists(path_2)); in TEST_F()
387 EXPECT_TRUE(base::PathExists(path_3)); in TEST_F()
403 EXPECT_FALSE(base::PathExists(path_3)); in TEST_F()
404 EXPECT_TRUE(base::PathExists(path_4)); in TEST_F()
412 ASSERT_FALSE(base::PathExists(path_5)); in TEST_F()
[all …]
Dbase_file_unittest.cc81 EXPECT_EQ(expect_file_survives_, base::PathExists(full_path)); in TearDown()
239 EXPECT_TRUE(base::PathExists(base_file_->full_path())); in TEST_F()
241 EXPECT_FALSE(base::PathExists(base_file_->full_path())); in TEST_F()
284 EXPECT_TRUE(base::PathExists(initial_path)); in TEST_F()
286 EXPECT_FALSE(base::PathExists(new_path)); in TEST_F()
291 EXPECT_FALSE(base::PathExists(initial_path)); in TEST_F()
292 EXPECT_TRUE(base::PathExists(new_path)); in TEST_F()
422 EXPECT_TRUE(base::PathExists(initial_path)); in TEST_F()
424 EXPECT_FALSE(base::PathExists(new_path)); in TEST_F()
430 EXPECT_FALSE(base::PathExists(initial_path)); in TEST_F()
[all …]
/external/chromium_org/base/files/
Dimportant_file_writer_unittest.cc101 EXPECT_FALSE(PathExists(writer.path())); in TEST_F()
107 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
113 EXPECT_FALSE(PathExists(writer.path())); in TEST_F()
121 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
131 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
141 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
158 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
175 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
191 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
/external/chromium_org/chrome/browser/importer/
Dfirefox_profile_lock_unittest.cc41 EXPECT_FALSE(base::PathExists(lock_file_path)); in TEST_F()
44 EXPECT_TRUE(base::PathExists(lock_file_path)); in TEST_F()
50 EXPECT_FALSE(base::PathExists(lock_file_path)); in TEST_F()
54 EXPECT_TRUE(base::PathExists(lock_file_path)); in TEST_F()
61 EXPECT_FALSE(base::PathExists(lock_file_path)); in TEST_F()
76 EXPECT_TRUE(base::PathExists(lock_file_path)); in TEST_F()
/external/chromium_org/content/browser/fileapi/
Dsandbox_origin_database_unittest.cc38 EXPECT_FALSE(base::PathExists(kFSDir)); in TEST()
61 EXPECT_TRUE(base::PathExists(kFSDir.Append(kOriginDatabaseName))); in TEST()
68 EXPECT_FALSE(base::PathExists(kFSDir)); in TEST()
89 EXPECT_TRUE(base::PathExists(kFSDir.Append(kOriginDatabaseName))); in TEST()
96 EXPECT_FALSE(base::PathExists(kFSDir)); in TEST()
109 EXPECT_TRUE(base::PathExists(kFSDir.Append(kOriginDatabaseName))); in TEST()
124 EXPECT_FALSE(base::PathExists(kFSDir)); in TEST()
151 EXPECT_FALSE(base::PathExists(kFSDir)); in TEST()
201 EXPECT_FALSE(base::PathExists(kFSDir)); in TEST()
256 EXPECT_FALSE(base::PathExists(kGarbageFile)); in TEST()
[all …]
/external/chromium_org/tools/vim/
Dchromium.ycm_extra_conf.py53 def PathExists(*args): function
69 while not (PathExists(curdir, 'src') and PathExists(curdir, 'src', 'DEPS')
70 and (PathExists(curdir, '.gclient')
71 or PathExists(curdir, 'src', '.git'))):
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_system_unittest.cpp30 TEST(System, PathExists) { in TEST() argument
34 EXPECT_TRUE(PathExists("/tmp/foo")); in TEST()
39 EXPECT_FALSE(PathExists("/tmp/foo")); in TEST()

12345678910>>...17