Exclude unittest directory 92/317092/1 accepted/tizen_9.0_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.234327 accepted/tizen/unified/20240904.172722 accepted/tizen/unified/dev/20240910.111529 accepted/tizen/unified/toolchain/20241004.102140 accepted/tizen/unified/x/20240905.023713 accepted/tizen/unified/x/asan/20241014.000549 tizen_9.0_m2_release
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 4 Sep 2024 02:11:33 +0000 (11:11 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 4 Sep 2024 02:11:33 +0000 (11:11 +0900)
Change-Id: Ie5251546ef7c124489f2f21de63fd5640d9a19b0
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
tests/src/autofill_client_unittests.cpp
tests/src/autofill_common_unittests.cpp
tests/src/autofill_manager_denied_unittest.cpp
tests/src/autofill_manager_unittest.cpp
tests/src/autofill_service_unittests.cpp
tests/src/cynara_mock.cpp
tests/src/main.cpp

index 323c9650e44c2594cea469441297f2d7ad0b07f6..0e425e05df3f7fda75b4fb20e04ec591ea0254d9 100644 (file)
@@ -47,7 +47,6 @@ void error_info_cb(autofill_h ah, autofill_error_info_h error_info, void *user_d
 {
 
 }
-//LCOV_EXCL_STOP
 
 static void connect_status_changed_cb(autofill_h ah, autofill_connection_status_e status, void* user_data)
 {
@@ -474,3 +473,4 @@ TEST_F(AutofillClientTest, utc_autofill_commit_n3)
 }
 
 } // namespace
+//LCOV_EXCL_STOP
index d4519b65977f50c5e24a4cb56c1451f1ee575062..3b34110ca00f896627eae1476cece35fe506d41a 100644 (file)
@@ -26,6 +26,7 @@
 
 #define VIEW_ID "login"
 
+//LCOV_EXCL_START
 namespace {
 
 static bool view_info_item_cb_result = false;
@@ -3451,3 +3452,4 @@ TEST_F(AutofillCommonTest, utc_autofill_error_info_get_error_code_n)
 }
 
 } // namespace
+//LCOV_EXCL_STOP
\ No newline at end of file
index 6fff89311568d38fc3e91888dfb70f4dd66d0d8c..23f073de559d38af01dd090ffc27b97e450cc09b 100644 (file)
@@ -24,6 +24,7 @@
 
 static autofill_manager_h g_amh = NULL;
 
+//LCOV_EXCL_START
 class AutofillManagerDeniedTest : public testing::Test {
     public:
         virtual void SetUp() {
@@ -122,3 +123,4 @@ TEST_F(AutofillManagerDeniedTest, utc_autofill_manager_denied_set_autofill_servi
     int ret = autofill_manager_set_autofill_service(NULL, NULL);
     EXPECT_EQ(ret, AUTOFILL_ERROR_PERMISSION_DENIED);
 }
+//LCOV_EXCL_STOP
\ No newline at end of file
index f1ee54ea28e1a97e4a7e62a9cac8e50f79cad07b..0bcaa8a3ed94d66778b685d5b9167c918687d009 100644 (file)
@@ -25,6 +25,7 @@
 
 static autofill_manager_h g_amh = NULL;
 
+//LCOV_EXCL_START
 static bool autofill_service_info_cb(const char* app_id, void* user_data)
 {
     app_info_h app_h;
@@ -192,4 +193,5 @@ TEST_F(AutofillManagerTest, utc_autofill_manager_set_autofill_service_n2)
 {
     int ret = autofill_manager_set_autofill_service(g_amh, "org.tizen.autofill-service");
     EXPECT_EQ(ret, AUTOFILL_ERROR_OPERATION_FAILED);
-}
\ No newline at end of file
+}
+//LCOV_EXCL_STOP
\ No newline at end of file
index 0a41134078affda54c2be58dc7d6d4563cd9d15b..6cb0d2ecde0d03e680a6fc75dd1ddfad5e63406e 100644 (file)
@@ -25,9 +25,9 @@
 
 #include <autofill_service.h>
 
+//LCOV_EXCL_START
 namespace {
 
-//LCOV_EXCL_START
 static void auth_info_requested_cb(int context_id, autofill_view_info_h vi, void *user_data)
 {
 
@@ -52,7 +52,6 @@ static void terminate_received_cb(void *user_data)
 {
 
 }
-//LCOV_EXCL_STOP
 
 class AutofillServiceTest : public testing::Test {
     public:
@@ -277,3 +276,4 @@ TEST_F(AutofillServiceTest, utc_autofill_service_unset_terminate_received_cb_p)
 }
 
 } // namespace
+//LCOV_EXCL_STOP
\ No newline at end of file
index ff6e88fe23fd50ae31bceb76b92db2665d8d4e16..8b49f1ba5896bee0d48820a34a5330cbc692e8ce 100644 (file)
@@ -5,6 +5,7 @@
 
 static int check_result = CYNARA_API_ACCESS_ALLOWED;
 
+//LCOV_EXCL_START
 void cynara_check_set_result(int result)
 {
     check_result = result;
@@ -32,3 +33,4 @@ EXPORT_API char *__wrap_cynara_session_from_pid(pid_t pid)
 {
     return strdup("session");
 }
+//LCOV_EXCL_STOP
\ No newline at end of file
index a37d67159460949fac524bca53cff7aa536d3c6b..dfdeda19cb7439e703caeb27b2b55ba54f33f799 100644 (file)
@@ -1,7 +1,9 @@
 #include <gtest/gtest.h>
 #include <gmock/gmock.h>
 
+//LCOV_EXCL_START
 int main(int argc, char** argv) {
     testing::InitGoogleTest(&argc, argv);
     return RUN_ALL_TESTS();
 }
+//LCOV_EXCL_STOP
\ No newline at end of file