TSG-6704 增加mock

This commit is contained in:
彭宣正
2021-05-26 11:10:59 +08:00
parent 4c9a8f89c4
commit 678bb1c6f9
20 changed files with 1949 additions and 642 deletions

14
gtest/CheckHosClient.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef __CHECKHOS_CLIENT_H__
#define __CHECKHOS_CLIENT_H__
#include <aws/external/gtest.h>
#include "../src/hos_client.h"
#include "../src/hos_common.h"
void CheckStructHosConfigT(hos_config_t *actual, hos_config_t *expect);
void CheckStructHosFunc(hos_func_thread_t *actual, hos_func_thread_t *expect);
void CheckStructGHosHandle(hos_client_handle_t *actual, hos_client_handle_t *expect);
void CheckStructGHosFdContext(hos_fd_context_t *actual, hos_fd_context_t *expect);
void CheckHosInstance(hos_instance actual, hos_instance expect);
#endif