Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b871f07 authored by Ningyuan Wang's avatar Ningyuan Wang Committed by android-build-merger
Browse files

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

am: b3782bab

Change-Id: Idfddc917bbcb62c4f40513d018fb18f2e6aed618
parents 2d1e38e7 b3782bab
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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(