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

Side by Side Diff: rlz/win/lib/machine_deal_test.cc

Issue 10659022: Revert 144071 - Add a regenerate button to regenerate the password in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « rlz/win/lib/machine_deal.cc ('k') | rlz/win/lib/machine_id_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // A test application for the MachineDealCode class. 5 // A test application for the MachineDealCode class.
6 // 6 //
7 // These tests should not be executed on the build server: 7 // These tests should not be executed on the build server:
8 // - They assert for the failed cases. 8 // - They assert for the failed cases.
9 // - They modify machine state (registry). 9 // - They modify machine state (registry).
10 // 10 //
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 EXPECT_FALSE(rlz_lib::MachineDealCode::GetAsCgi(cgi_50, 50)); 147 EXPECT_FALSE(rlz_lib::MachineDealCode::GetAsCgi(cgi_50, 50));
148 EXPECT_STREQ("", cgi_50); 148 EXPECT_STREQ("", cgi_50);
149 149
150 EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); 150 EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value"));
151 151
152 EXPECT_TRUE(rlz_lib::MachineDealCode::GetAsCgi(cgi_50, 50)); 152 EXPECT_TRUE(rlz_lib::MachineDealCode::GetAsCgi(cgi_50, 50));
153 EXPECT_STREQ("dcc=dcc_value", cgi_50); 153 EXPECT_STREQ("dcc=dcc_value", cgi_50);
154 154
155 EXPECT_FALSE(rlz_lib::MachineDealCode::GetAsCgi(cgi_2, 2)); 155 EXPECT_FALSE(rlz_lib::MachineDealCode::GetAsCgi(cgi_2, 2));
156 } 156 }
OLDNEW
« no previous file with comments | « rlz/win/lib/machine_deal.cc ('k') | rlz/win/lib/machine_id_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698