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

Unified Diff: chromeos/network/shill_property_util_unittest.cc

Issue 24348002: Migrate DBus service constants from flimflam namespace to shill namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased to ToT Created 7 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/shill_property_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/shill_property_util_unittest.cc
diff --git a/chromeos/network/shill_property_util_unittest.cc b/chromeos/network/shill_property_util_unittest.cc
index ffbefe37b685cbf8e35b9f6a59d25b8875fcd8aa..2d8b764232c5d914c3195d12669829eeb0da8b96 100644
--- a/chromeos/network/shill_property_util_unittest.cc
+++ b/chromeos/network/shill_property_util_unittest.cc
@@ -42,14 +42,14 @@ class NetworkTypePatternTest : public testing::Test {
} // namespace
TEST_F(NetworkTypePatternTest, MatchesType) {
- EXPECT_TRUE(mobile_.MatchesType(flimflam::kTypeCellular));
- EXPECT_TRUE(mobile_.MatchesType(flimflam::kTypeWimax));
- EXPECT_FALSE(mobile_.MatchesType(flimflam::kTypeWifi));
-
- EXPECT_TRUE(wireless_.MatchesType(flimflam::kTypeWifi));
- EXPECT_TRUE(wireless_.MatchesType(flimflam::kTypeCellular));
- EXPECT_TRUE(wireless_.MatchesType(flimflam::kTypeWimax));
- EXPECT_FALSE(wireless_.MatchesType(flimflam::kTypeEthernet));
+ EXPECT_TRUE(mobile_.MatchesType(shill::kTypeCellular));
+ EXPECT_TRUE(mobile_.MatchesType(shill::kTypeWimax));
+ EXPECT_FALSE(mobile_.MatchesType(shill::kTypeWifi));
+
+ EXPECT_TRUE(wireless_.MatchesType(shill::kTypeWifi));
+ EXPECT_TRUE(wireless_.MatchesType(shill::kTypeCellular));
+ EXPECT_TRUE(wireless_.MatchesType(shill::kTypeWimax));
+ EXPECT_FALSE(wireless_.MatchesType(shill::kTypeEthernet));
}
TEST_F(NetworkTypePatternTest, MatchesPattern) {
@@ -83,12 +83,12 @@ TEST_F(NetworkTypePatternTest, Equals) {
TEST_F(NetworkTypePatternTest, Primitive) {
const NetworkTypePattern primitive_cellular =
- NetworkTypePattern::Primitive(flimflam::kTypeCellular);
+ NetworkTypePattern::Primitive(shill::kTypeCellular);
EXPECT_TRUE(cellular_.Equals(primitive_cellular));
EXPECT_TRUE(primitive_cellular.Equals(cellular_));
const NetworkTypePattern primitive_wimax =
- NetworkTypePattern::Primitive(flimflam::kTypeWimax);
+ NetworkTypePattern::Primitive(shill::kTypeWimax);
EXPECT_TRUE(wimax_.Equals(primitive_wimax));
EXPECT_TRUE(primitive_wimax.Equals(wimax_));
}
« no previous file with comments | « chromeos/network/shill_property_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698