22 lines
457 B
C
22 lines
457 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include "cjson/cJSON.h"
|
|
|
|
struct test_result_validator;
|
|
|
|
struct test_result_validator *test_result_validator_new(const char *expect_json_path);
|
|
void test_result_validator_free(struct test_result_validator *para);
|
|
|
|
int test_result_validator_compare(struct test_result_validator *para);
|
|
|
|
int test_result_validator_add_actual(struct test_result_validator *param, cJSON *json);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |