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_certificate_file_set: public utc_blink_ewk_base
12 * @brief Setting certificate file.
14 TEST_F(utc_blink_ewk_context_certificate_file_set, POS_TEST)
16 bool result = ewk_context_certificate_file_set(
17 ewk_context_default_get(),
18 GetResourcePath("ewk_context/google-cert.pem").c_str());
20 utc_check_true(result);
23 TEST_F(utc_blink_ewk_context_certificate_file_set, NEG_TEST)
25 bool result = ewk_context_certificate_file_set(NULL, NULL);
27 utc_check_false(result);