diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 20:22:07 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 20:22:07 +0000 |
commit | ca8cf5f8032626708e47604d190dbda0ffd8d618 (patch) | |
tree | 4a73ad587be839680e0e0b879ef664558bf3a87a /chrome/test/test_launcher | |
parent | 593df619ff5c865bea2ffdd8927e5462c91318a2 (diff) | |
download | chromium_src-ca8cf5f8032626708e47604d190dbda0ffd8d618.zip chromium_src-ca8cf5f8032626708e47604d190dbda0ffd8d618.tar.gz chromium_src-ca8cf5f8032626708e47604d190dbda0ffd8d618.tar.bz2 |
Convert LOG(INFO) to VLOG(1) - chrome/test/.
Also fix indentation, remove a few unnecessary endls, collapse some append()s into +s, and remove a few extra {}s.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3915004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/test_launcher')
-rw-r--r-- | chrome/test/test_launcher/test_runner.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/test/test_launcher/test_runner.cc b/chrome/test/test_launcher/test_runner.cc index de448a36..7b3a3b7 100644 --- a/chrome/test/test_launcher/test_runner.cc +++ b/chrome/test/test_launcher/test_runner.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -74,14 +74,13 @@ ResultsPrinter::ResultsPrinter(const CommandLine& command_line) : out_(NULL) { FilePath dir_name = path.DirName(); if (!file_util::DirectoryExists(dir_name)) { LOG(WARNING) << "The output directory does not exist. " - << "Creating the directory: " << dir_name.value() << std::endl; + << "Creating the directory: " << dir_name.value(); // Create the directory if necessary (because the gtest does the same). file_util::CreateDirectory(dir_name); } out_ = file_util::OpenFile(path, "w"); if (!out_) { - LOG(ERROR) << "Cannot open output file: " - << path.value() << "." << std::endl; + LOG(ERROR) << "Cannot open output file: " << path.value() << "."; return; } fprintf(out_, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); |