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

Side by Side Diff: chrome/browser/chromeos/drive/file_system/create_directory_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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/create_directory_operation.h " 5 #include "chrome/browser/chromeos/drive/file_system/create_directory_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/google_apis/test_util.h" 8 #include "google_apis/drive/test_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace drive { 11 namespace drive {
12 namespace file_system { 12 namespace file_system {
13 13
14 class CreateDirectoryOperationTest : public OperationTestBase { 14 class CreateDirectoryOperationTest : public OperationTestBase {
15 protected: 15 protected:
16 // Returns FILE_ERROR_OK if a directory is found at |path|. 16 // Returns FILE_ERROR_OK if a directory is found at |path|.
17 FileError FindDirectory(const base::FilePath& path) { 17 FileError FindDirectory(const base::FilePath& path) {
18 ResourceEntry entry; 18 ResourceEntry entry;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 kExistingFile.AppendASCII("New Directory"), 105 kExistingFile.AppendASCII("New Directory"),
106 false, // is_exclusive 106 false, // is_exclusive
107 true, // is_recursive 107 true, // is_recursive
108 google_apis::test_util::CreateCopyResultCallback(&error)); 108 google_apis::test_util::CreateCopyResultCallback(&error));
109 test_util::RunBlockingPoolTask(); 109 test_util::RunBlockingPoolTask();
110 EXPECT_EQ(FILE_ERROR_NOT_FOUND, error); 110 EXPECT_EQ(FILE_ERROR_NOT_FOUND, error);
111 } 111 }
112 112
113 } // namespace file_system 113 } // namespace file_system
114 } // namespace drive 114 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698