From 78810bb5cedbdb47a207ba7a3420cc833fafab5c Mon Sep 17 00:00:00 2001 From: Yangys Date: Tue, 13 Aug 2024 22:46:15 +0800 Subject: [PATCH] add Tdd Signed-off-by: Yangys --- .../src/proxy/ipccallback/netshare_result_callback_proxy.cpp | 2 ++ .../native/netvpnclient/src/ipc/networkvpn_service_proxy.cpp | 2 ++ .../native/netvpnclient/src/ipc/vpn_event_callback_stub.cpp | 2 ++ frameworks/native/netvpnclient/src/networkvpn_client.cpp | 2 ++ 4 files changed, 8 insertions(+) diff --git a/frameworks/native/netshareclient/src/proxy/ipccallback/netshare_result_callback_proxy.cpp b/frameworks/native/netshareclient/src/proxy/ipccallback/netshare_result_callback_proxy.cpp index 59a00efc..be160d59 100644 --- a/frameworks/native/netshareclient/src/proxy/ipccallback/netshare_result_callback_proxy.cpp +++ b/frameworks/native/netshareclient/src/proxy/ipccallback/netshare_result_callback_proxy.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +// LCOV_EXCL_START #include "netshare_result_callback_proxy.h" #include "ipc_types.h" @@ -53,3 +54,4 @@ void NetShareResultCallbackProxy::OnResult(const int32_t &result) } } // namespace NetManagerStandard } // namespace OHOS +// LCOV_EXCL_STOP diff --git a/frameworks/native/netvpnclient/src/ipc/networkvpn_service_proxy.cpp b/frameworks/native/netvpnclient/src/ipc/networkvpn_service_proxy.cpp index 277d06c8..ac413b74 100644 --- a/frameworks/native/netvpnclient/src/ipc/networkvpn_service_proxy.cpp +++ b/frameworks/native/netvpnclient/src/ipc/networkvpn_service_proxy.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +// LCOV_EXCL_START #include "networkvpn_service_proxy.h" #include "ipc_types.h" @@ -375,3 +376,4 @@ int32_t NetworkVpnServiceProxy::FactoryResetVpn() } } // namespace NetManagerStandard } // namespace OHOS +// LCOV_EXCL_STOP diff --git a/frameworks/native/netvpnclient/src/ipc/vpn_event_callback_stub.cpp b/frameworks/native/netvpnclient/src/ipc/vpn_event_callback_stub.cpp index d40ab83c..0cd34d8b 100644 --- a/frameworks/native/netvpnclient/src/ipc/vpn_event_callback_stub.cpp +++ b/frameworks/native/netvpnclient/src/ipc/vpn_event_callback_stub.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +// LCOV_EXCL_START #include "vpn_event_callback_stub.h" #include "net_manager_constants.h" #include "netmgr_ext_log_wrapper.h" @@ -46,3 +47,4 @@ int32_t VpnEventCallbackStub::OnRemoteRequest(uint32_t code, MessageParcel &data } } // namespace NetManagerStandard } // namespace OHOS +// LCOV_EXCL_STOP diff --git a/frameworks/native/netvpnclient/src/networkvpn_client.cpp b/frameworks/native/netvpnclient/src/networkvpn_client.cpp index a0333fdd..175912be 100644 --- a/frameworks/native/netvpnclient/src/networkvpn_client.cpp +++ b/frameworks/native/netvpnclient/src/networkvpn_client.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +// LCOV_EXCL_START #include "networkvpn_client.h" #include @@ -336,3 +337,4 @@ void NetworkVpnClient::multiUserSetUpEvent() } } // namespace NetManagerStandard } // namespace OHOS +// LCOV_EXCL_STOP -- Gitee