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_view_contents_set : public utc_blink_ewk_base
12 * @brief Positive test case of ewk_view_contents_set(),testing results whether contents are set or not.
14 TEST_F(utc_blink_ewk_view_contents_set, POS_TEST)
16 Eina_Bool results = ewk_view_contents_set(GetEwkWebView(), "This is Plain Text", 20, 0, 0, 0);
17 utc_check_eq(results, EINA_TRUE);
21 * @brief checking whether function is working when providing NULL value.
23 TEST_F(utc_blink_ewk_view_contents_set, NEG_TEST)
25 utc_check_eq(ewk_view_contents_set(NULL, "This is Plain Text", 0, 0, 0, 0), EINA_FALSE);