2 * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __GTEST_MUSE_SERVER_UNITTEST_H__
18 #define __GTEST_MUSE_SERVER_UNITTEST_H__
29 #include <gmock/gmock.h>
30 #include <gtest/gtest.h>
32 #include <sys/types.h>
34 #include <sys/socket.h>
36 #include "muse_server.h"
37 #include "muse_client.h"
40 #define LOG_TAG "GTEST_MUSED"
43 #define SAMPLE_JSON_FILE_NAME "gtest.input"
44 #define FILE_PATH_LEN 128
45 #define MUSE_MSG_LEN_MAX 128
47 #define GTEST_MUSE_SOCK_FILE0 "/tmp/.gtest_muse_server_socket"
48 #define GTEST_MUSE_SOCK_FILE1 "/tmp/.gtest_muse_server_data_socket"
50 #endif /*__GTEST_MUSE_SERVER_UNITTEST_H__*/