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

Unified Diff: chromeos/components/tether/tether_connector_unittest.cc

Issue 2819993002: [CrOS Tether] Add the notion of a tether DeviceState. (Closed)
Patch Set: hansberry@ comments. Created 3 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
Index: chromeos/components/tether/tether_connector_unittest.cc
diff --git a/chromeos/components/tether/tether_connector_unittest.cc b/chromeos/components/tether/tether_connector_unittest.cc
index 3384831cf8253c80f4c8c73489603b57fc8dab16..dc3ce92ff9e2d339980be5a45f1d66d4a0e3c7d6 100644
--- a/chromeos/components/tether/tether_connector_unittest.cc
+++ b/chromeos/components/tether/tether_connector_unittest.cc
@@ -148,6 +148,8 @@ class TetherConnectorTest : public NetworkStateTest {
void SetUp() override {
DBusThreadManager::Initialize();
NetworkStateTest::SetUp();
+ network_state_handler()->SetTetherTechnologyState(
+ NetworkStateHandler::TECHNOLOGY_ENABLED);
fake_operation_factory_ =
base::WrapUnique(new FakeConnectTetheringOperationFactory());

Powered by Google App Engine
This is Rietveld 408576698