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_context_get : public utc_blink_ewk_base
12 * @brief Tests if returns correct context when initiated with a valid webview.
14 TEST_F(utc_blink_ewk_view_context_get, POS_TEST)
16 Ewk_Context* context = ewk_view_context_get(GetEwkWebView());
22 * @brief Tests if returns NULL context when initiated with a NULL webview.
24 TEST_F(utc_blink_ewk_view_context_get, NEG_TEST)
26 Ewk_Context* context = ewk_view_context_get(NULL);