{
}
-//LCOV_EXCL_STOP
static void connect_status_changed_cb(autofill_h ah, autofill_connection_status_e status, void* user_data)
{
}
} // namespace
+//LCOV_EXCL_STOP
#define VIEW_ID "login"
+//LCOV_EXCL_START
namespace {
static bool view_info_item_cb_result = false;
}
} // namespace
+//LCOV_EXCL_STOP
\ No newline at end of file
static autofill_manager_h g_amh = NULL;
+//LCOV_EXCL_START
class AutofillManagerDeniedTest : public testing::Test {
public:
virtual void SetUp() {
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
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;
{
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
#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)
{
{
}
-//LCOV_EXCL_STOP
class AutofillServiceTest : public testing::Test {
public:
}
} // namespace
+//LCOV_EXCL_STOP
\ No newline at end of file
static int check_result = CYNARA_API_ACCESS_ALLOWED;
+//LCOV_EXCL_START
void cynara_check_set_result(int result)
{
check_result = result;
{
return strdup("session");
}
+//LCOV_EXCL_STOP
\ No newline at end of file
#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