Fix & Refactor internal unit tests
[platform/core/security/cert-svc.git] / tests / pkcs12 / test-common.cpp
1 /*
2  * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16
17 #include "test-common.h"
18
19 namespace TestData {
20
21 const std::string ServerPfxWithPassPath    = std::string(TESTAPP_RES_DIR) + "p12/wifiserver.pfx";
22 const std::string ServerPfxWithPass2Path   = std::string(TESTAPP_RES_DIR) + "p12/test.pfx";
23 const std::string ServerPfxWithoutPassPath = std::string(TESTAPP_RES_DIR) + "p12/without_pass.p12";
24 const std::string UserP12WithPassPath      = std::string(TESTAPP_RES_DIR) + "p12/wifiuser.p12";
25 const std::string ServerCertPemPath        = std::string(TESTAPP_RES_DIR) + "p12/wifi-server.pem";
26 const std::string CertCrtPath              = std::string(TESTAPP_RES_DIR) + "p12/Testing.crt";
27 const std::string InvalidCertCrtPath       = std::string(TESTAPP_RES_DIR) + "p12/InvalidCrt.crt";
28 const std::string ServerPfxPass            = "wifi";
29 const std::string ServerPfx2Pass           = "wifi";
30 const std::string UserP12Pass              = "wifi";
31
32 }