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

Side by Side Diff: chrome/browser/chromeos/login/signed_settings_unittest.cc

Issue 3402010: Google codestyle prescribes sorting #include filenames within a section.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/login/signed_settings.h" 5 #include "chrome/browser/chromeos/login/signed_settings.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/nss_util.h" 9 #include "base/nss_util.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "chrome/browser/chrome_thread.h" 12 #include "chrome/browser/chrome_thread.h"
13 #include "chrome/browser/chromeos/cros/cros_library.h"
13 #include "chrome/browser/chromeos/login/mock_owner_key_utils.h" 14 #include "chrome/browser/chromeos/login/mock_owner_key_utils.h"
14 #include "chrome/browser/chromeos/login/mock_ownership_service.h" 15 #include "chrome/browser/chromeos/login/mock_ownership_service.h"
15 #include "chrome/browser/chromeos/login/owner_manager_unittest.h" 16 #include "chrome/browser/chromeos/login/owner_manager_unittest.h"
16 #include "chrome/browser/chromeos/cros/cros_library.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using ::testing::Invoke; 20 using ::testing::Invoke;
21 using ::testing::Return; 21 using ::testing::Return;
22 using ::testing::_; 22 using ::testing::_;
23 23
24 namespace chromeos { 24 namespace chromeos {
25 25
26 namespace { 26 namespace {
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 TEST_F(SignedSettingsTest, RetrievePropertyNoKey) { 270 TEST_F(SignedSettingsTest, RetrievePropertyNoKey) {
271 FailingRetrievePropertyOp(OwnerManager::KEY_UNAVAILABLE); 271 FailingRetrievePropertyOp(OwnerManager::KEY_UNAVAILABLE);
272 } 272 }
273 273
274 TEST_F(SignedSettingsTest, RetrievePropertyFailed) { 274 TEST_F(SignedSettingsTest, RetrievePropertyFailed) {
275 FailingRetrievePropertyOp(OwnerManager::OPERATION_FAILED); 275 FailingRetrievePropertyOp(OwnerManager::OPERATION_FAILED);
276 } 276 }
277 277
278 } // namespace chromeos 278 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/signed_settings_helper_unittest.cc ('k') | chrome/browser/chromeos/login/user_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698