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"
7 class utc_blink_ewk_settings_detect_contents_automatically_set : public utc_blink_ewk_base {
12 * @brief Tests if returns TRUE when initiated with a correct webview and
13 * enabled select word automatically set to TRUE.
15 TEST_F(utc_blink_ewk_settings_detect_contents_automatically_set, POS_TEST1)
17 Ewk_Settings* settings = ewk_view_settings_get(GetEwkWebView());
18 ASSERT_TRUE(settings);
20 ewk_settings_detect_contents_automatically_set(settings, EINA_TRUE);
24 * @brief Tests if returns TRUE when initiated with a correct webview and
25 * enabled detect content automatically set to FALSE.
27 TEST_F(utc_blink_ewk_settings_detect_contents_automatically_set, POS_TEST2)
29 Ewk_Settings* settings = ewk_view_settings_get(GetEwkWebView());
30 ASSERT_TRUE(settings);
32 ewk_settings_detect_contents_automatically_set(settings, EINA_FALSE);
36 * @brief Tests if returns FALSE when initiated with NULL webview.
38 TEST_F(utc_blink_ewk_settings_detect_contents_automatically_set, NEG_TEST)
40 ewk_settings_detect_contents_automatically_set(NULL, EINA_FALSE);