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

Side by Side Diff: dbus/dbus_statistics_unittest.cc

Issue 1541193002: Switch to standard integer types in dbus/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « dbus/dbus_statistics.cc ('k') | dbus/end_to_end_async_unittest.cc » ('j') | 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) 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
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
OLDNEW
« no previous file with comments | « dbus/dbus_statistics.cc ('k') | dbus/end_to_end_async_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698