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

Side by Side Diff: chrome/browser/chromeos/drive/sync/remove_performer_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/sync/remove_performer.h" 5 #include "chrome/browser/chromeos/drive/sync/remove_performer.h"
6 6
7 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" 7 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h"
8 #include "chrome/browser/drive/fake_drive_service.h" 8 #include "chrome/browser/drive/fake_drive_service.h"
9 #include "chrome/browser/google_apis/gdata_wapi_parser.h" 9 #include "google_apis/drive/gdata_wapi_parser.h"
10 #include "chrome/browser/google_apis/test_util.h" 10 #include "google_apis/drive/test_util.h"
11 11
12 namespace drive { 12 namespace drive {
13 namespace internal { 13 namespace internal {
14 14
15 typedef file_system::OperationTestBase RemovePerformerTest; 15 typedef file_system::OperationTestBase RemovePerformerTest;
16 16
17 TEST_F(RemovePerformerTest, RemoveFile) { 17 TEST_F(RemovePerformerTest, RemoveFile) {
18 RemovePerformer performer(blocking_task_runner(), scheduler(), metadata()); 18 RemovePerformer performer(blocking_task_runner(), scheduler(), metadata());
19 19
20 base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt")); 20 base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt"));
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 google_apis::test_util::CreateCopyResultCallback(&gdata_error, 102 google_apis::test_util::CreateCopyResultCallback(&gdata_error,
103 &gdata_entry)); 103 &gdata_entry));
104 test_util::RunBlockingPoolTask(); 104 test_util::RunBlockingPoolTask();
105 ASSERT_EQ(google_apis::HTTP_SUCCESS, gdata_error); 105 ASSERT_EQ(google_apis::HTTP_SUCCESS, gdata_error);
106 EXPECT_FALSE(gdata_entry->deleted()); // It's not deleted. 106 EXPECT_FALSE(gdata_entry->deleted()); // It's not deleted.
107 EXPECT_FALSE(gdata_entry->GetLinkByType(google_apis::Link::LINK_PARENT)); 107 EXPECT_FALSE(gdata_entry->GetLinkByType(google_apis::Link::LINK_PARENT));
108 } 108 }
109 109
110 } // namespace internal 110 } // namespace internal
111 } // namespace drive 111 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/sync/remove_performer.h ('k') | chrome/browser/chromeos/drive/sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698