mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()
EAP method needs to be set to construct the eap phase 2 method string. Bug: 37220169 Test: vts tests pass Change-Id: Ie69aaac0826d4bde784f864631a718242dd5af2a
This commit is contained in:
@@ -361,6 +361,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(
|
||||
|
||||
Reference in New Issue
Block a user