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

Side by Side Diff: chromeos/dbus/dbus_client_bundle_unittest.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 | « chromeos/dbus/dbus_client_bundle.cc ('k') | chromeos/dbus/dbus_thread_manager.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chromeos/dbus/dbus_client_bundle.h" 5 #include "chromeos/dbus/dbus_client_bundle.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
9 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
10 9
11 namespace chromeos { 10 namespace chromeos {
12 11
13 TEST(DBusClientBundleTest, UnstubFlagParser) { 12 TEST(DBusClientBundleTest, UnstubFlagParser) {
14 EXPECT_EQ(0, DBusClientBundle::ParseUnstubList("foo")); 13 EXPECT_EQ(0, DBusClientBundle::ParseUnstubList("foo"));
15 14
16 EXPECT_EQ(DBusClientBundle::BLUETOOTH, 15 EXPECT_EQ(DBusClientBundle::BLUETOOTH,
17 DBusClientBundle::ParseUnstubList("BLUETOOTH")); 16 DBusClientBundle::ParseUnstubList("BLUETOOTH"));
(...skipping 12 matching lines...) Expand all
30 EXPECT_EQ( 29 EXPECT_EQ(
31 DBusClientBundle::CRAS | 30 DBusClientBundle::CRAS |
32 DBusClientBundle::CROS_DISKS | 31 DBusClientBundle::CROS_DISKS |
33 DBusClientBundle::DEBUG_DAEMON | 32 DBusClientBundle::DEBUG_DAEMON |
34 DBusClientBundle::SHILL, 33 DBusClientBundle::SHILL,
35 DBusClientBundle::ParseUnstubList( 34 DBusClientBundle::ParseUnstubList(
36 "foo,Cras,Cros_Disks,debug_daemon,Shill")); 35 "foo,Cras,Cros_Disks,debug_daemon,Shill"));
37 } 36 }
38 37
39 } // namespace chromeos 38 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_client_bundle.cc ('k') | chromeos/dbus/dbus_thread_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698