1 // Copyright 2014 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "utc_blink_ewk_base.h"
6 #include "ewk_autofill_profile.h"
8 class utc_blink_ewk_autofill_profile_id_get : public utc_blink_ewk_base
12 TEST_F(utc_blink_ewk_autofill_profile_id_get, NullArg)
14 ASSERT_EQ(0, ewk_autofill_profile_id_get(NULL));
17 TEST_F(utc_blink_ewk_autofill_profile_id_get, POS_TEST)
19 Ewk_Autofill_Profile* const m_profile0 = ewk_autofill_profile_new();
20 Ewk_Autofill_Profile* const m_profile1 = ewk_autofill_profile_new();
22 EXPECT_NE(ewk_autofill_profile_id_get(m_profile0), ewk_autofill_profile_id_get(m_profile1));
23 EXPECT_NE(0, ewk_autofill_profile_id_get(m_profile1));
25 ewk_autofill_profile_delete(m_profile1);
26 ewk_autofill_profile_delete(m_profile0);