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

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: Merge with ToT and fix the test import. 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
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 ASSERT_TRUE(directory.WaitForIncomingResponse()); 149 ASSERT_TRUE(directory.WaitForIncomingResponse());
147 EXPECT_EQ(FILE_ERROR_NOT_A_FILE, error); 150 EXPECT_EQ(FILE_ERROR_NOT_A_FILE, error);
148 } 151 }
149 } 152 }
150 153
151 154
152 // TODO(vtl): Test delete flags. 155 // TODO(vtl): Test delete flags.
153 156
154 } // namespace 157 } // namespace
155 } // namespace filesystem 158 } // namespace filesystem
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698