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_get: public utc_blink_ewk_base
12 * @brief Getting certificate file and comparing with the one which was just set.
14 TEST_F(utc_blink_ewk_context_certificate_file_get, POS_TEST)
16 std::string const certificate_file = GetResourcePath("ewk_context/google-cert.pem");
17 ewk_context_certificate_file_set(
18 ewk_context_default_get(),
19 certificate_file.c_str());
21 EXPECT_STREQ(certificate_file.c_str(), ewk_context_certificate_file_get(ewk_context_default_get()));