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

Side by Side Diff: components/filesystem/directory_impl_unittest.cc

Issue 1176653002: mandoline filesystem: add a sqlite3 vfs to proxy filesystem usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win 8 Created 5 years, 6 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 | « components/filesystem/directory_impl.cc ('k') | components/filesystem/file_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 7
8 #include "components/filesystem/files_test_base.h" 8 #include "components/filesystem/files_test_base.h"
9 #include "mojo/util/capture_util.h"
10
11 using mojo::Capture;
9 12
10 namespace filesystem { 13 namespace filesystem {
11 namespace { 14 namespace {
12 15
13 using DirectoryImplTest = FilesTestBase; 16 using DirectoryImplTest = FilesTestBase;
14 17
15 TEST_F(DirectoryImplTest, Read) { 18 TEST_F(DirectoryImplTest, Read) {
16 DirectoryPtr directory; 19 DirectoryPtr directory;
17 GetTemporaryRoot(&directory); 20 GetTemporaryRoot(&directory);
18 FileError error; 21 FileError error;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ASSERT_TRUE(directory.WaitForIncomingResponse()); 147 ASSERT_TRUE(directory.WaitForIncomingResponse());
145 EXPECT_EQ(FILE_ERROR_NOT_A_FILE, error); 148 EXPECT_EQ(FILE_ERROR_NOT_A_FILE, error);
146 } 149 }
147 } 150 }
148 151
149 152
150 // TODO(vtl): Test delete flags. 153 // TODO(vtl): Test delete flags.
151 154
152 } // namespace 155 } // namespace
153 } // namespace filesystem 156 } // namespace filesystem
OLDNEW
« no previous file with comments | « components/filesystem/directory_impl.cc ('k') | components/filesystem/file_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698