diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-01-23 22:11:52 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-01-23 22:11:52 +0000 |
| commit | d29136680b6cd8176b4eeddcbff30bb0edd20e68 (patch) | |
| tree | 6bb63d92692cd11cd1dcf51bb901283bdba1535a | |
| parent | 0bb581fb969dbc375b1d4d54139fcadb52f95eee (diff) | |
| parent | 2156f2182f804afbdb5c09d4bfafc377700bfdb8 (diff) | |
Merge "supplicant(vts): Remove start/stop framework" into oreo-vts-dev
| -rw-r--r-- | wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantV1_0TargetTest.cpp | 3 | ||||
| -rw-r--r-- | wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp | 13 |
2 files changed, 0 insertions, 16 deletions
diff --git a/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantV1_0TargetTest.cpp b/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantV1_0TargetTest.cpp index a69d14d1f0..33f30496d2 100644 --- a/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantV1_0TargetTest.cpp +++ b/wifi/supplicant/1.0/vts/functional/VtsHalWifiSupplicantV1_0TargetTest.cpp @@ -23,12 +23,9 @@ class SupplicantHidlEnvironment : public ::testing::Environment { public: virtual void SetUp() override { - stopWifiFramework(); stopSupplicant(); } virtual void TearDown() override { - startWifiFramework(); - // Framework will start wpa_supplicant. } }; diff --git a/wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp b/wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp index df4bfa95ca..79be2b043d 100644 --- a/wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp +++ b/wifi/supplicant/1.0/vts/functional/supplicant_hidl_test_utils.cpp @@ -135,19 +135,6 @@ class ServiceNotificationListener : public IServiceNotification { std::condition_variable condition_; }; -void stopWifiFramework() { - ASSERT_EQ(std::system("stop"), 0); - // TODO: Use some other mechanism to wait for the framework to - // finish disabling. - sleep(5); -} - -void startWifiFramework() { - ASSERT_EQ(std::system("start"), 0); - // These tests don't care whether the framework - // finished enabling or not. -} - void stopSupplicant() { DriverTool driver_tool; SupplicantManager supplicant_manager; |
