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

Unified Diff: chromeos/network/shill_property_handler_unittest.cc

Issue 14137017: Add TechnologyState to NetworkStateHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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_handler.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_handler_unittest.cc
diff --git a/chromeos/network/shill_property_handler_unittest.cc b/chromeos/network/shill_property_handler_unittest.cc
index b724ae4f0dc79b5a716d1d129114c409c8c04e1e..34e685a103fdac8380b0d202a7554dcfe82e3cbd 100644
--- a/chromeos/network/shill_property_handler_unittest.cc
+++ b/chromeos/network/shill_property_handler_unittest.cc
@@ -249,9 +249,9 @@ class ShillPropertyHandlerTest : public testing::Test {
TEST_F(ShillPropertyHandlerTest, ShillPropertyHandlerStub) {
EXPECT_EQ(1, listener_->manager_updates());
- EXPECT_TRUE(shill_property_handler_->TechnologyAvailable(
+ EXPECT_TRUE(shill_property_handler_->IsTechnologyAvailable(
flimflam::kTypeWifi));
- EXPECT_TRUE(shill_property_handler_->TechnologyEnabled(
+ EXPECT_TRUE(shill_property_handler_->IsTechnologyEnabled(
flimflam::kTypeWifi));
const size_t kNumShillManagerClientStubImplDevices = 2;
EXPECT_EQ(kNumShillManagerClientStubImplDevices,
@@ -269,9 +269,9 @@ TEST_F(ShillPropertyHandlerTest, ShillPropertyHandlerTechnologyChanged) {
manager_test_->AddTechnology(flimflam::kTypeWimax, false);
message_loop_.RunUntilIdle();
EXPECT_EQ(2, listener_->manager_updates());
- EXPECT_TRUE(shill_property_handler_->TechnologyAvailable(
+ EXPECT_TRUE(shill_property_handler_->IsTechnologyAvailable(
flimflam::kTypeWimax));
- EXPECT_FALSE(shill_property_handler_->TechnologyEnabled(
+ EXPECT_FALSE(shill_property_handler_->IsTechnologyEnabled(
flimflam::kTypeWimax));
// Enable the technology.
@@ -280,7 +280,7 @@ TEST_F(ShillPropertyHandlerTest, ShillPropertyHandlerTechnologyChanged) {
base::Bind(&base::DoNothing), base::Bind(&ErrorCallbackFunction));
message_loop_.RunUntilIdle();
EXPECT_EQ(3, listener_->manager_updates());
- EXPECT_TRUE(shill_property_handler_->TechnologyEnabled(
+ EXPECT_TRUE(shill_property_handler_->IsTechnologyEnabled(
flimflam::kTypeWimax));
EXPECT_EQ(0, listener_->errors());
« no previous file with comments | « chromeos/network/shill_property_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698