diff --git a/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/BUILD.gn b/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/BUILD.gn index 84da95fca..e0b5a361e 100644 --- a/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/BUILD.gn +++ b/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/BUILD.gn @@ -71,13 +71,13 @@ local_base_sources = [ "$WIFI_ROOT_DIR/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/Mock/mock_wifi_supplicant_hal_interface.cpp", "$WIFI_ROOT_DIR/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/net_conn_client.cpp", "$WIFI_ROOT_DIR/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/Mock/mock_wifi_config_center.cpp", + "Mock/mock_block_connect_service.cpp", "Mock/mock_dhcp_service.cpp", "Mock/mock_if_config.cpp", "Mock/mock_mac_address.cpp", "Mock/mock_state_machine.cpp", "Mock/mock_wifi_chip_hal_interface.cpp", "Mock/mock_wifi_settings.cpp", - "Mock/mock_block_connect_service.cpp", ] local_base_include_dirs = [ diff --git a/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/mock_block_connect_service.h b/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/mock_block_connect_service.h index f1b598f4b..e7f711f9d 100644 --- a/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/mock_block_connect_service.h +++ b/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/mock_block_connect_service.h @@ -37,7 +37,6 @@ public: class BlockConnectService : public MockBlockConnectService { public: BlockConnectService() = default; - ~BlockConnectService() override; static BlockConnectService &GetInstance(void); MOCK_METHOD1(ShouldAutoConnect, bool(const WifiDeviceConfig &config));