From 910d207051d8e2e3052f6a3805b827e6e21db788 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 22 Jun 2020 17:44:05 +0900 Subject: [PATCH] Add exclude section for callback functions Change-Id: I870721cb68ff379271e71f493c71dc010c2b9226 Signed-off-by: Jihoon Kim --- tests/src/autofill_client_unittests.cpp | 2 ++ tests/src/autofill_service_unittests.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/src/autofill_client_unittests.cpp b/tests/src/autofill_client_unittests.cpp index 68a94d7..50c511f 100644 --- a/tests/src/autofill_client_unittests.cpp +++ b/tests/src/autofill_client_unittests.cpp @@ -28,6 +28,7 @@ namespace { +//LCOV_EXCL_START void auth_info_cb(autofill_h ah, autofill_auth_info_h auth_info, void *user_data) { @@ -42,6 +43,7 @@ void error_info_cb(autofill_h ah, autofill_error_info_h error_info, void *user_d { } +//LCOV_EXCL_STOP class AutofillClientTest : public testing::Test { public: diff --git a/tests/src/autofill_service_unittests.cpp b/tests/src/autofill_service_unittests.cpp index 522c67d..9142c8f 100644 --- a/tests/src/autofill_service_unittests.cpp +++ b/tests/src/autofill_service_unittests.cpp @@ -27,6 +27,7 @@ namespace { +//LCOV_EXCL_START static void auth_info_requested_cb(int context_id, autofill_view_info_h vi, void *user_data) { @@ -51,6 +52,7 @@ static void terminate_received_cb(void *user_data) { } +//LCOV_EXCL_STOP class AutofillServiceTest : public testing::Test { public: -- 2.7.4