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

Side by Side Diff: ceee/ie/common/ceee_util_unittest.cc

Issue 5552001: Merge 67890 - Always use persistent profile for CF+CEEE installs.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/597/src/
Patch Set: Created 10 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
« no previous file with comments | « ceee/ie/common/ceee_util.cc ('k') | ceee/ie/common/common.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Unit tests for the CEEE utilities. 5 // Unit tests for the CEEE utilities.
6 6
7 #include "ceee/ie/common/ceee_util.h" 7 #include "ceee/ie/common/ceee_util.h"
8 8
9 #include <ostream> // NOLINT 9 #include <ostream> // NOLINT
10 #include <winerror.h> 10 #include <winerror.h>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 TEST(CeeeUtilTest, IsIeCeeeRegisteredNo) { 48 TEST(CeeeUtilTest, IsIeCeeeRegisteredNo) {
49 MockRegOpenKeyEx mock_reg; 49 MockRegOpenKeyEx mock_reg;
50 EXPECT_CALL(mock_reg, RegOpenKeyEx(_, _, _, _, _)) 50 EXPECT_CALL(mock_reg, RegOpenKeyEx(_, _, _, _, _))
51 .WillOnce(Return(ERROR_FILE_NOT_FOUND)); 51 .WillOnce(Return(ERROR_FILE_NOT_FOUND));
52 ASSERT_FALSE(ceee_util::IsIeCeeeRegistered()); 52 ASSERT_FALSE(ceee_util::IsIeCeeeRegistered());
53 } 53 }
54 54
55 } // namespace 55 } // namespace
OLDNEW
« no previous file with comments | « ceee/ie/common/ceee_util.cc ('k') | ceee/ie/common/common.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698