Lines Matching defs:test_file

146   base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt");
148 &test_file);
158 base::FilePath test_file = test_root_folder_.AppendASCII("gold.txt");
160 &test_file);
173 base::FilePath test_file = test_path.AppendASCII("gold.txt");
175 EXPECT_TRUE(base::CopyFile(source, test_file));
178 &test_file);
185 base::FilePath test_file = TempFilePath("open_existing.txt", true);
186 ASSERT_FALSE(test_file.empty());
188 &test_file);
191 CheckStoredDirectoryMatches(test_file);
196 base::FilePath test_file = TempFilePath("open_existing.txt", true);
197 ASSERT_FALSE(test_file.empty());
203 test_file.DirName(),
208 CheckStoredDirectoryMatches(test_file);
213 base::FilePath test_file = TempFilePath("open_existing.txt", true);
214 ASSERT_FALSE(test_file.empty());
216 chrome::DIR_USER_DOCUMENTS, test_file.DirName(), false, false));
223 test_file.DirName().Append(base::FilePath::FromUTF8Unsafe(
229 CheckStoredDirectoryMatches(test_file);
234 base::FilePath test_file = TempFilePath("open_existing.txt", true);
235 ASSERT_FALSE(test_file.empty());
237 chrome::DIR_USER_DOCUMENTS, test_file.DirName(), false, false));
242 CheckStoredDirectoryMatches(test_file);
246 base::FilePath test_file = TempFilePath("open_existing.txt", true);
247 ASSERT_FALSE(test_file.empty());
249 chrome::DIR_USER_DOCUMENTS, test_file.DirName(), false, false));
254 CheckStoredDirectoryMatches(test_file);
271 base::FilePath test_file = TempFilePath("open_existing.txt", true);
272 ASSERT_FALSE(test_file.empty());
273 base::FilePath test_directory = test_file.DirName();
278 CheckStoredDirectoryMatches(test_file);
283 base::FilePath test_file = TempFilePath("open_existing.txt", true);
284 ASSERT_FALSE(test_file.empty());
285 base::FilePath test_directory = test_file.DirName();
291 CheckStoredDirectoryMatches(test_file);
296 base::FilePath test_file = TempFilePath("open_existing.txt", true);
297 ASSERT_FALSE(test_file.empty());
298 base::FilePath test_directory = test_file.DirName();
309 base::FilePath test_file = TempFilePath("open_existing.txt", true);
310 ASSERT_FALSE(test_file.empty());
311 base::FilePath test_directory = test_file.DirName();
324 base::FilePath test_file = TempFilePath("open_existing.txt", true);
325 ASSERT_FALSE(test_file.empty());
326 base::FilePath test_directory = test_file.DirName();
333 CheckStoredDirectoryMatches(test_file);
339 base::FilePath test_file = TempFilePath("open_existing.txt", true);
340 ASSERT_FALSE(test_file.empty());
341 base::FilePath test_directory = test_file.DirName();
348 CheckStoredDirectoryMatches(test_file);
354 base::FilePath test_file = TempFilePath("open_existing.txt", true);
355 ASSERT_FALSE(test_file.empty());
356 base::FilePath test_directory = test_file.DirName();
373 base::FilePath test_file = TempFilePath("open_existing.txt", true);
374 ASSERT_FALSE(test_file.empty());
375 base::FilePath test_directory = test_file.DirName();
383 CheckStoredDirectoryMatches(test_file);
389 base::FilePath test_file = TempFilePath("open_existing.txt", true);
390 ASSERT_FALSE(test_file.empty());
392 &test_file);
406 base::FilePath test_file = TempFilePath("open_existing.txt", true);
407 ASSERT_FALSE(test_file.empty());
409 &test_file);
412 CheckStoredDirectoryMatches(test_file);
417 base::FilePath test_file = TempFilePath("open_existing.txt", true);
418 ASSERT_FALSE(test_file.empty());
420 &test_file);
428 base::FilePath test_file = TempFilePath("open_existing.txt", true);
429 ASSERT_FALSE(test_file.empty());
431 &test_file);
434 CheckStoredDirectoryMatches(test_file);
464 base::FilePath test_file = TempFilePath("save_new.txt", false);
465 ASSERT_FALSE(test_file.empty());
467 &test_file);
474 base::FilePath test_file = TempFilePath("save_existing.txt", true);
475 ASSERT_FALSE(test_file.empty());
477 &test_file);
485 base::FilePath test_file = TempFilePath("save_new.txt", false);
486 ASSERT_FALSE(test_file.empty());
488 &test_file);
491 CheckStoredDirectoryMatches(test_file);
496 base::FilePath test_file = TempFilePath("save_existing.txt", true);
497 ASSERT_FALSE(test_file.empty());
499 &test_file);
502 CheckStoredDirectoryMatches(test_file);
529 base::FilePath test_file = TempFilePath("writable.txt", true);
530 ASSERT_FALSE(test_file.empty());
532 &test_file);
539 base::FilePath test_file = TempFilePath("writable.txt", true);
540 ASSERT_FALSE(test_file.empty());
542 &test_file);
549 base::FilePath test_file = TempFilePath("writable.txt", true);
550 ASSERT_FALSE(test_file.empty());
552 &test_file);
558 base::FilePath test_file = TempFilePath("writable.txt", true);
559 ASSERT_FALSE(test_file.empty());
561 &test_file);
568 base::FilePath test_file = TempFilePath("writable.txt", true);
569 ASSERT_FALSE(test_file.empty());
571 &test_file);
578 base::FilePath test_file = TempFilePath("writable.txt", true);
579 ASSERT_FALSE(test_file.empty());
581 &test_file);
587 EXPECT_EQ(test_file, file_entries[0].path);
593 base::FilePath test_file = TempFilePath("open_existing.txt", true);
594 ASSERT_FALSE(test_file.empty());
595 base::FilePath test_directory = test_file.DirName();
609 base::FilePath test_file = TempFilePath("writable.txt", true);
610 ASSERT_FALSE(test_file.empty());
612 &test_file);
615 test_file,
623 base::FilePath test_file = TempFilePath("writable.txt", true);
624 ASSERT_FALSE(test_file.empty());
625 base::FilePath test_directory = test_file.DirName();
627 &test_file);