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

Side by Side Diff: chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 | Annotate | Revision Log
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/file_system/move_operation.h" 5 #include "chrome/browser/chromeos/drive/file_system/move_operation.h"
6 6
7 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h" 7 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h"
8 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" 8 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h"
9 #include "chrome/browser/drive/fake_drive_service.h" 9 #include "chrome/browser/drive/fake_drive_service.h"
10 #include "chrome/browser/google_apis/test_util.h" 10 #include "google_apis/drive/test_util.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace drive { 13 namespace drive {
14 namespace file_system { 14 namespace file_system {
15 15
16 class MoveOperationTest : public OperationTestBase { 16 class MoveOperationTest : public OperationTestBase {
17 protected: 17 protected:
18 virtual void SetUp() OVERRIDE { 18 virtual void SetUp() OVERRIDE {
19 OperationTestBase::SetUp(); 19 OperationTestBase::SetUp();
20 operation_.reset(new MoveOperation(blocking_task_runner(), 20 operation_.reset(new MoveOperation(blocking_task_runner(),
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 EXPECT_EQ(src_entry.local_id(), dest_entry.local_id()); 214 EXPECT_EQ(src_entry.local_id(), dest_entry.local_id());
215 EXPECT_EQ(src_entry.file_info().last_modified(), 215 EXPECT_EQ(src_entry.file_info().last_modified(),
216 dest_entry.file_info().last_modified()); 216 dest_entry.file_info().last_modified());
217 EXPECT_EQ(ResourceEntry::DIRTY, dest_entry.metadata_edit_state()); 217 EXPECT_EQ(ResourceEntry::DIRTY, dest_entry.metadata_edit_state());
218 EXPECT_EQ(FILE_ERROR_NOT_FOUND, 218 EXPECT_EQ(FILE_ERROR_NOT_FOUND,
219 GetLocalResourceEntry(src_path, &src_entry)); 219 GetLocalResourceEntry(src_path, &src_entry));
220 } 220 }
221 221
222 } // namespace file_system 222 } // namespace file_system
223 } // namespace drive 223 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698