commit | 9892569a563d0a4cb4945e9b2d0d369694d87473 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Mar 07 02:05:21 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Mar 07 02:05:21 2018 +0000 |
tree | 72531b2543f86107e597de00cb3a97163a66733d | |
parent | ac2f4418625eb67e8b334ca1efda3029e8aa0910 [diff] | |
parent | b887dedf99ab021118100bd1ffd0bf1cf3cb481d [diff] |
Merge "supplicant/hostapd(vts): Test for terminate" into pi-dev
diff --git a/wifi/hostapd/1.0/vts/functional/hostapd_hidl_test.cpp b/wifi/hostapd/1.0/vts/functional/hostapd_hidl_test.cpp index 5f51cfb..504f4c8 100644 --- a/wifi/hostapd/1.0/vts/functional/hostapd_hidl_test.cpp +++ b/wifi/hostapd/1.0/vts/functional/hostapd_hidl_test.cpp
@@ -220,3 +220,11 @@ getInvalidPskNwParams()); EXPECT_NE(HostapdStatusCode::SUCCESS, status.code); } + +/* + * Terminate + * This terminates the service. + */ +TEST_F(HostapdHidlTest, Terminate) { + hostapd_->terminate(); +}
diff --git a/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp b/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp index c29fd0a..7e773d6 100644 --- a/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp +++ b/wifi/supplicant/1.1/vts/functional/supplicant_hidl_test.cpp
@@ -137,3 +137,11 @@ EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); }); } + +/* + * Terminate + * This terminates the service. + */ +TEST_F(SupplicantHidlTest, Terminate) { + supplicant_->terminate(); +}