From 5eff57ede25d7fe51c3bb964aaba2745e3fb1896 Mon Sep 17 00:00:00 2001 From: "zysxqn@google.com" Date: Tue, 26 Jun 2012 00:28:46 +0000 Subject: 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 --- rlz/test/rlz_unittest_main.cc | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 rlz/test/rlz_unittest_main.cc (limited to 'rlz/test/rlz_unittest_main.cc') 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; -} -- cgit v1.1