commit | f2b7cb5e583ae1e18ab588fd6e01ea3f941910e0 | [log] [tgz] |
---|---|---|
author | Joel Scherpelz <jscherpelz@google.com> | Wed Apr 12 11:32:02 2017 +0900 |
committer | Joel Scherpelz <jscherpelz@google.com> | Thu Apr 13 05:27:51 2017 +0000 |
tree | 82da0bfade67efbb703708e8718757cb47454ef4 | |
parent | 54eaeca37f42fb0b8e19a18db39df456822c207e [diff] |
Refactor repeated WIFI bringup code in ConnectivityManagerTest This is a minor code health change motivated by upcoming additions to ConnectivityManagerTest. Common code to drive WIFI to a connected state is now shared along with automatic cleanup code to restore wifi to its original state in tearDown(). Bug: 33333670 Test: CtsNetTestCases test passes Change-Id: I62a2748f113650f7a235af3074e33cc0cefe4a3b (cherry picked from commit 49eaabd72c1a5346750342ffc956c4b903ca532c)