Merge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev

am: 3d56bdfb2e

Change-Id: I3248190aaf9c394e5279b975e882bbb9e8f70810
This commit is contained in:
Ningyuan Wang 2017-04-12 09:22:30 +00:00 committed by android-build-merger
commit b3782bab33

View file

@ -384,6 +384,12 @@ TEST_F(SupplicantStaNetworkHidlTest, SetGetEapMethod) {
* SetGetEapPhase2Method
*/
TEST_F(SupplicantStaNetworkHidlTest, SetGetEapPhase2Method) {
ISupplicantStaNetwork::EapMethod set_eap_method =
ISupplicantStaNetwork::EapMethod::PEAP;
sta_network_->setEapMethod(
set_eap_method, [](const SupplicantStatus& status) {
EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code);
});
ISupplicantStaNetwork::EapPhase2Method set_eap_phase2_method =
ISupplicantStaNetwork::EapPhase2Method::NONE;
sta_network_->setEapPhase2Method(