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

Unified Diff: rlz/lib/machine_id_unittest.cc

Issue 10642009: Add a regenerate button to regenerate the password in Windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync and Merge. Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « rlz/lib/machine_id.cc ('k') | rlz/lib/rlz_enums.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/lib/machine_id_unittest.cc
diff --git a/rlz/lib/machine_id_unittest.cc b/rlz/lib/machine_id_unittest.cc
deleted file mode 100644
index cecf52967f434c4e22463e354c7d62f36a69a9f6..0000000000000000000000000000000000000000
--- a/rlz/lib/machine_id_unittest.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "rlz/lib/machine_id.h"
-
-#include "base/string16.h"
-#include "base/utf_string_conversions.h"
-#include "rlz/test/rlz_test_helpers.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-// This test will fail if the behavior of GetMachineId changes.
-TEST(MachineDealCodeTestMachineId, MachineId) {
- string16 computer_sid(UTF8ToUTF16(
- "S-1-5-21-2345599882-2448789067-1921365677"));
- std::string id;
- rlz_lib::testing::GetMachineIdImpl(computer_sid, 2651229008, &id);
- EXPECT_STREQ("A341BA986A7E86840688977FCF20C86E253F00919E068B50F8",
- id.c_str());
-}
« no previous file with comments | « rlz/lib/machine_id.cc ('k') | rlz/lib/rlz_enums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698