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

Side by Side Diff: testrunner.cc

Issue 6602095: libchromeos: revert add process control library, syslog logging capability, and run unit tests (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/common.git@master
Patch Set: Created 9 years, 9 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 | « chromeos/test_helpers.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium OS 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 // based on pam_google_testrunner.cc 5 // based on pam_google_testrunner.cc
6 6
7 #include <chromeos/test_helpers.h>
8 #include <gtest/gtest.h> 7 #include <gtest/gtest.h>
9 #include <glib-object.h> 8 #include <glib-object.h>
9 #include <base/logging.h>
10 10
11 int main(int argc, char** argv) { 11 int main(int argc, char **argv) {
12 ::g_type_init(); 12 ::g_type_init();
13 SetUpTests(&argc, argv, true); 13
14 #if 0
15 // Initializing with a name does not seem to be changing the log file name.
16 // And options for logging to stderr are being ignored. If we don't initialize
17 // logging goes to stderr by default.
18 google::InitGoogleLogging("power_unittest");
19 #endif
20
21 ::testing::InitGoogleTest(&argc, argv);
14 return RUN_ALL_TESTS(); 22 return RUN_ALL_TESTS();
15 } 23 }
OLDNEW
« no previous file with comments | « chromeos/test_helpers.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698