summaryrefslogtreecommitdiffstats
path: root/rlz/test/rlz_unittest_main.cc
diff options
context:
space:
mode:
authorzysxqn@google.com <zysxqn@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-26 00:28:46 +0000
committerzysxqn@google.com <zysxqn@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-26 00:28:46 +0000
commit5eff57ede25d7fe51c3bb964aaba2745e3fb1896 (patch)
treef8cb338f8e22ce99a77903d4214dfda581857e38 /rlz/test/rlz_unittest_main.cc
parent2be6abf3a4fb590a1b59586858d1e49ea61f0708 (diff)
downloadchromium_src-5eff57ede25d7fe51c3bb964aaba2745e3fb1896.zip
chromium_src-5eff57ede25d7fe51c3bb964aaba2745e3fb1896.tar.gz
chromium_src-5eff57ede25d7fe51c3bb964aaba2745e3fb1896.tar.bz2
Add a regenerate button to regenerate the password in Windows.
BUG=120480 TEST=Not tested. Review URL: https://chromiumcodereview.appspot.com/10642009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz/test/rlz_unittest_main.cc')
-rw-r--r--rlz/test/rlz_unittest_main.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/rlz/test/rlz_unittest_main.cc b/rlz/test/rlz_unittest_main.cc
deleted file mode 100644
index 8ebbaf8..0000000
--- a/rlz/test/rlz_unittest_main.cc
+++ /dev/null
@@ -1,29 +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.
-//
-// Main entry point for all unit tests.
-
-#include "base/at_exit.h"
-#include "base/command_line.h"
-#include "rlz/lib/rlz_lib.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-int main(int argc, char **argv) {
- base::AtExitManager at_exit;
- CommandLine::Init(argc, argv);
-
- testing::InitGoogleMock(&argc, argv);
- testing::InitGoogleTest(&argc, argv);
-
- int ret = RUN_ALL_TESTS();
- if (ret == 0) {
- // Now re-run all the tests using a supplementary brand code. This brand
- // code will remain in effect for the lifetime of the branding object.
- rlz_lib::SupplementaryBranding branding("TEST");
- ret = RUN_ALL_TESTS();
- }
-
- return ret;
-}