OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium 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 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gtest/googlemock/include/gmock/gmock.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/googletest/include/gtest/gtest.h" |
11 | 11 |
12 namespace logging { | 12 namespace logging { |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 using ::testing::Return; | 16 using ::testing::Return; |
17 | 17 |
18 // Needs to be global since log assert handlers can't maintain state. | 18 // Needs to be global since log assert handlers can't maintain state. |
19 int log_sink_call_count = 0; | 19 int log_sink_call_count = 0; |
20 | 20 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 std::wstring wstr = L"Hello World"; | 273 std::wstring wstr = L"Hello World"; |
274 std::ostringstream ostr; | 274 std::ostringstream ostr; |
275 ostr << wstr; | 275 ostr << wstr; |
276 EXPECT_EQ("Hello World", ostr.str()); | 276 EXPECT_EQ("Hello World", ostr.str()); |
277 } | 277 } |
278 } // namespace nested_test | 278 } // namespace nested_test |
279 | 279 |
280 } // namespace | 280 } // namespace |
281 | 281 |
282 } // namespace logging | 282 } // namespace logging |
OLD | NEW |