Index: base/debug/stack_trace_unittest.cc |
=================================================================== |
--- base/debug/stack_trace_unittest.cc (revision 0) |
+++ base/debug/stack_trace_unittest.cc (working copy) |
@@ -1,14 +1,17 @@ |
-// Copyright (c) 2006-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. |
#include <sstream> |
#include <string> |
-#include "base/debug_util.h" |
+#include "base/debug/stack_trace.h" |
#include "base/logging.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+namespace base { |
+namespace debug { |
+ |
// Note: On Linux, this test currently only fully works on Debug builds. |
// See comments in the #ifdef soup if you intend to change this. |
// Flaky, crbug.com/32070. |
@@ -97,10 +100,13 @@ |
StackTrace trace; |
std::ostringstream os; |
trace.OutputToStream(&os); |
- LOG(INFO) << os.str(); |
+ VLOG(1) << os.str(); |
} |
// The test is used for manual testing, e.g., to see the raw output. |
TEST(StackTrace, DebugPrintBacktrace) { |
StackTrace().PrintBacktrace(); |
} |
+ |
+} // namespace debug |
+} // namespace base |