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_context_additional_plugin_path_set : public utc_blink_ewk_base
10 static const char*const plugin;
13 const char*const utc_blink_ewk_context_additional_plugin_path_set::plugin="/tmp";
16 * @brief Tests if can set additional plugin path.
18 TEST_F(utc_blink_ewk_context_additional_plugin_path_set, POS_TEST)
20 Eina_Bool result = ewk_context_additional_plugin_path_set(ewk_view_context_get(GetEwkWebView()),plugin);
21 utc_check_eq(result, EINA_TRUE);
25 * @brief Tests if returns false which context is null.
27 TEST_F(utc_blink_ewk_context_additional_plugin_path_set, NEG_TEST)
29 Eina_Bool result = ewk_context_additional_plugin_path_set(NULL, NULL);
30 utc_check_ne(result, EINA_TRUE);