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

Side by Side Diff: rlz/test/rlz_unittest_main.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, 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
« no previous file with comments | « rlz/test/rlz_test_helpers.cc ('k') | rlz/win/dll/dll_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 //
5 // Main entry point for all unit tests.
6
7 #include "base/at_exit.h"
8 #include "base/command_line.h"
9 #include "rlz/lib/rlz_lib.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11 #include "testing/gtest/include/gtest/gtest.h"
12
13 int main(int argc, char **argv) {
14 base::AtExitManager at_exit;
15 CommandLine::Init(argc, argv);
16
17 testing::InitGoogleMock(&argc, argv);
18 testing::InitGoogleTest(&argc, argv);
19
20 int ret = RUN_ALL_TESTS();
21 if (ret == 0) {
22 // Now re-run all the tests using a supplementary brand code. This brand
23 // code will remain in effect for the lifetime of the branding object.
24 rlz_lib::SupplementaryBranding branding("TEST");
25 ret = RUN_ALL_TESTS();
26 }
27
28 return ret;
29 }
OLDNEW
« no previous file with comments | « rlz/test/rlz_test_helpers.cc ('k') | rlz/win/dll/dll_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698