Add test ewk_view_geolocation_permission_callback_set to gypi file
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / unittest / utc_blink_ewk_view_settings_get_func.cpp
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.
4
5 #include "utc_blink_ewk_base.h"
6
7 class utc_blink_ewk_view_settings_get : public utc_blink_ewk_base {
8
9 };
10
11 /**
12  * @brief Positive test case of ewk_view_settings_get().
13  */
14 TEST_F(utc_blink_ewk_view_settings_get, POS_TEST)
15 {
16   Ewk_Settings* settings = ewk_view_settings_get(GetEwkWebView());
17   if (!settings)
18     FAIL();
19 }
20
21 /**
22  * @brief  checking whether function is working when providing NULL value.
23  */
24 TEST_F(utc_blink_ewk_view_settings_get, NEG_TEST)
25 {
26   Ewk_Settings* settings = ewk_view_settings_get(NULL);
27   if (settings)
28     FAIL();
29 }