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

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

Issue 2008383002: Remove a bunch of stuff in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 | « no previous file | components/filesystem/file_impl_unittest.cc » ('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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "components/filesystem/files_test_base.h" 12 #include "components/filesystem/files_test_base.h"
13 #include "mojo/common/common_type_converters.h" 13 #include "mojo/common/common_type_converters.h"
14 #include "mojo/util/capture_util.h"
15
16 using mojo::Capture;
17 14
18 namespace filesystem { 15 namespace filesystem {
19 namespace { 16 namespace {
20 17
21 using DirectoryImplTest = FilesTestBase; 18 using DirectoryImplTest = FilesTestBase;
22 19
23 TEST_F(DirectoryImplTest, Read) { 20 TEST_F(DirectoryImplTest, Read) {
24 mojom::DirectoryPtr directory; 21 mojom::DirectoryPtr directory;
25 GetTemporaryRoot(&directory); 22 GetTemporaryRoot(&directory);
26 mojom::FileError error; 23 mojom::FileError error;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 Capture(&error)); 272 Capture(&error));
276 ASSERT_TRUE(directory.WaitForIncomingResponse()); 273 ASSERT_TRUE(directory.WaitForIncomingResponse());
277 EXPECT_EQ(mojom::FileError::NOT_A_FILE, error); 274 EXPECT_EQ(mojom::FileError::NOT_A_FILE, error);
278 } 275 }
279 } 276 }
280 277
281 // TODO(vtl): Test delete flags. 278 // TODO(vtl): Test delete flags.
282 279
283 } // namespace 280 } // namespace
284 } // namespace filesystem 281 } // namespace filesystem
OLDNEW
« no previous file with comments | « no previous file | components/filesystem/file_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698