Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: storage/browser/fileapi/transient_file_util_unittest.cc

Issue 2813353003: Move some File API backend unit tests next to the files that they cover. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « storage/browser/fileapi/sandbox_file_system_backend_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <memory> 5 #include <memory>
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 base::RunLoop().RunUntilIdle(); 114 base::RunLoop().RunUntilIdle();
115 115
116 // Now the temporary file and the transient filesystem must be gone too. 116 // Now the temporary file and the transient filesystem must be gone too.
117 ASSERT_FALSE(base::PathExists(temp_path)); 117 ASSERT_FALSE(base::PathExists(temp_path));
118 ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND, 118 ASSERT_EQ(base::File::FILE_ERROR_NOT_FOUND,
119 file_util()->GetFileInfo(NewOperationContext().get(), 119 file_util()->GetFileInfo(NewOperationContext().get(),
120 temp_url, &file_info, &path)); 120 temp_url, &file_info, &path));
121 } 121 }
122 122
123 } // namespace content 123 } // namespace content
OLDNEW
« no previous file with comments | « storage/browser/fileapi/sandbox_file_system_backend_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698