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

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

Issue 1243853002: Move chrome/browser/chromeos/drive/drive.proto into components/drive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/set_property_operation.h" 5 #include "chrome/browser/chromeos/drive/file_system/set_property_operation.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "chrome/browser/chromeos/drive/drive.pb.h"
9 #include "chrome/browser/chromeos/drive/file_errors.h" 8 #include "chrome/browser/chromeos/drive/file_errors.h"
10 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" 9 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h"
10 #include "components/drive/drive.pb.h"
11 #include "content/public/test/test_utils.h" 11 #include "content/public/test/test_utils.h"
12 #include "google_apis/drive/drive_api_requests.h" 12 #include "google_apis/drive/drive_api_requests.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 file_system { 17 namespace file_system {
18 namespace { 18 namespace {
19 19
20 const base::FilePath::CharType kTestPath[] = 20 const base::FilePath::CharType kTestPath[] =
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ASSERT_EQ(2, entry.new_properties().size()); 144 ASSERT_EQ(2, entry.new_properties().size());
145 const drive::Property property = entry.new_properties().Get(1); 145 const drive::Property property = entry.new_properties().Get(1);
146 EXPECT_EQ(Property_Visibility_PUBLIC, property.visibility()); 146 EXPECT_EQ(Property_Visibility_PUBLIC, property.visibility());
147 EXPECT_EQ(kTestKey, property.key()); 147 EXPECT_EQ(kTestKey, property.key());
148 EXPECT_EQ(kTestAnotherValue, property.value()); 148 EXPECT_EQ(kTestAnotherValue, property.value());
149 } 149 }
150 } 150 }
151 151
152 } // namespace file_system 152 } // namespace file_system
153 } // namespace drive 153 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698