| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 "dbus/dbus_statistics.h" | 5 #include "dbus/dbus_statistics.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | |
| 8 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/macros.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace dbus { | 11 namespace dbus { |
| 12 | 12 |
| 13 class DBusStatisticsTest : public testing::Test { | 13 class DBusStatisticsTest : public testing::Test { |
| 14 public: | 14 public: |
| 15 DBusStatisticsTest() { | 15 DBusStatisticsTest() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void SetUp() override { statistics::Initialize(); } | 18 void SetUp() override { statistics::Initialize(); } |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 "service1.interface1.method2: Sent: 2 Received: 1\n" | 170 "service1.interface1.method2: Sent: 2 Received: 1\n" |
| 171 "service1.interface1.method3: Sent: 3\n" | 171 "service1.interface1.method3: Sent: 3\n" |
| 172 "service1.interface2.method1: Sent: 1\n" | 172 "service1.interface2.method1: Sent: 1\n" |
| 173 "service1.interface2.method2: Sent: 1\n" | 173 "service1.interface2.method2: Sent: 1\n" |
| 174 "service2.interface1.method1: Sent: 1\n"); | 174 "service2.interface1.method1: Sent: 1\n"); |
| 175 EXPECT_EQ(expected_output_method, output_method); | 175 EXPECT_EQ(expected_output_method, output_method); |
| 176 | 176 |
| 177 } | 177 } |
| 178 | 178 |
| 179 } // namespace dbus | 179 } // namespace dbus |
| OLD | NEW |