!3352 【TDD】修改wifi_ap异常用例

Merge pull request !3352 from xionglei/master
This commit is contained in:
openharmony_ci 2024-11-20 01:57:52 +00:00 committed by Gitee
commit 5c93ba96cc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -44,6 +44,7 @@ public:
virtual void SetDefaultFrequenciesByCountryBand(const BandType band, std::vector<int> &frequencies,
int instId = 0) = 0;
virtual int SyncHotspotConfig() = 0;
virtual std::string GetPackageName(std::string tag) = 0;
};
class WifiSettings : public MockWifiSettings {
@ -60,6 +61,7 @@ public:
MOCK_METHOD0(GetApMaxConnNum, int());
MOCK_METHOD3(SetDefaultFrequenciesByCountryBand, void(const BandType band, std::vector<int> &frequencies, int));
MOCK_METHOD0(SyncHotspotConfig, int());
MOCK_METHOD1(GetPackageName, std::string(std::string tag));
};
} /* namespace Wifi */
} /* namespace OHOS */