2 * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
6 * @author Bumjin Im (bj.im@samsung.com)
7 * @author Mariusz Domanski (m.domanski@samsung.com)
9 * @brief Test cases for security server
12 #ifndef SECURITY_SERVER_TESTS_TEST_H
13 #define SECURITY_SERVER_TESTS_TEST_H
19 #define SECURITY_SERVER_TEST_SOCK_PATH "/tmp/.security-server-test"
25 #define LOG_TAG "SEC_SRV_TESTS"
28 void printhex(unsigned char *data, int size)
31 std::ostringstream msg;
32 msg << std::hex << std::setfill('0') << std::uppercase;
35 msg << std::setw(2) << static_cast<int>(data[i]) << " ";
36 if(((i+1) % 16) == 0 && i != 0)
40 LOGD("%s", msg.str().c_str());
43 #endif // SECURITY_SERVER_TESTS_TEST_H