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

Side by Side Diff: chrome/browser/chromeos/drive/file_system/remove_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/remove_operation.h" 5 #include "chrome/browser/chromeos/drive/file_system/remove_operation.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/chromeos/drive/file_system_util.h" 8 #include "chrome/browser/chromeos/drive/file_system_util.h"
9 #include "chrome/browser/google_apis/test_util.h" 9 #include "google_apis/drive/test_util.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace drive { 12 namespace drive {
13 namespace file_system { 13 namespace file_system {
14 14
15 typedef OperationTestBase RemoveOperationTest; 15 typedef OperationTestBase RemoveOperationTest;
16 16
17 TEST_F(RemoveOperationTest, RemoveFile) { 17 TEST_F(RemoveOperationTest, RemoveFile) {
18 RemoveOperation operation(blocking_task_runner(), observer(), metadata(), 18 RemoveOperation operation(blocking_task_runner(), observer(), metadata(),
19 cache()); 19 cache());
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 test_util::RunBlockingPoolTask(); 121 test_util::RunBlockingPoolTask();
122 EXPECT_EQ(FILE_ERROR_OK, error); 122 EXPECT_EQ(FILE_ERROR_OK, error);
123 EXPECT_EQ(FILE_ERROR_NOT_FOUND, 123 EXPECT_EQ(FILE_ERROR_NOT_FOUND,
124 GetLocalResourceEntry(non_empty_dir, &entry)); 124 GetLocalResourceEntry(non_empty_dir, &entry));
125 EXPECT_EQ(FILE_ERROR_NOT_FOUND, 125 EXPECT_EQ(FILE_ERROR_NOT_FOUND,
126 GetLocalResourceEntry(file_in_non_empty_dir, &entry)); 126 GetLocalResourceEntry(file_in_non_empty_dir, &entry));
127 } 127 }
128 128
129 } // namespace file_system 129 } // namespace file_system
130 } // namespace drive 130 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698