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

Side by Side Diff: chrome/browser/chromeos/drive/fake_file_system_unittest.cc

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 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 "chrome/browser/chromeos/drive/fake_file_system.h" 5 #include "chrome/browser/chromeos/drive/fake_file_system.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "chrome/browser/chromeos/drive/file_system_util.h" 9 #include "chrome/browser/chromeos/drive/file_system_util.h"
10 #include "chrome/browser/drive/fake_drive_service.h" 10 #include "chrome/browser/drive/fake_drive_service.h"
11 #include "chrome/browser/drive/test_util.h" 11 #include "chrome/browser/drive/test_util.h"
12 #include "content/public/test/test_browser_thread_bundle.h" 12 #include "content/public/test/test_browser_thread_bundle.h"
13 #include "google_apis/drive/test_util.h" 13 #include "google_apis/drive/test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace drive { 16 namespace drive {
17 namespace test_util { 17 namespace test_util {
18 18
19 class FakeFileSystemTest : public ::testing::Test { 19 class FakeFileSystemTest : public ::testing::Test {
20 protected: 20 protected:
21 virtual void SetUp() OVERRIDE { 21 virtual void SetUp() override {
22 // Initialize FakeDriveService. 22 // Initialize FakeDriveService.
23 fake_drive_service_.reset(new FakeDriveService); 23 fake_drive_service_.reset(new FakeDriveService);
24 ASSERT_TRUE(SetUpTestEntries(fake_drive_service_.get())); 24 ASSERT_TRUE(SetUpTestEntries(fake_drive_service_.get()));
25 25
26 // Create a testee instance. 26 // Create a testee instance.
27 fake_file_system_.reset(new FakeFileSystem(fake_drive_service_.get())); 27 fake_file_system_.reset(new FakeFileSystem(fake_drive_service_.get()));
28 } 28 }
29 29
30 content::TestBrowserThreadBundle thread_bundle_; 30 content::TestBrowserThreadBundle thread_bundle_;
31 scoped_ptr<FakeDriveService> fake_drive_service_; 31 scoped_ptr<FakeDriveService> fake_drive_service_;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 util::GetDriveMyDriveRootPath().AppendASCII("Invalid File Name"), 147 util::GetDriveMyDriveRootPath().AppendASCII("Invalid File Name"),
148 google_apis::test_util::CreateCopyResultCallback(&error, &entry)); 148 google_apis::test_util::CreateCopyResultCallback(&error, &entry));
149 base::RunLoop().RunUntilIdle(); 149 base::RunLoop().RunUntilIdle();
150 150
151 ASSERT_EQ(FILE_ERROR_NOT_FOUND, error); 151 ASSERT_EQ(FILE_ERROR_NOT_FOUND, error);
152 ASSERT_FALSE(entry); 152 ASSERT_FALSE(entry);
153 } 153 }
154 154
155 } // namespace test_util 155 } // namespace test_util
156 } // namespace drive 156 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/fake_file_system.h ('k') | chrome/browser/chromeos/drive/fake_free_disk_space_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698