|
VSF Documented
|
#include "../vsf_test.h"#include "vsf_test_port_file.h"#include <stdio.h>#include <string.h>#include "service/trace/vsf_trace.h"Data Structures | |
| struct | vsf_test_file_data_t |
| 测试数据文件结构(二进制格式) More... | |
| struct | vsf_test_file_case_result_t |
| 单个测试用例结果结构(追加在文件末尾) More... | |
Macros | |
| #define | __VSF_TEST_FILE_TRACE_INFO(...) vsf_trace_info(__VA_ARGS__) |
| #define | __VSF_TEST_FILE_TRACE_DEBUG(...) vsf_trace_debug(__VA_ARGS__) |
| #define | __VSF_TEST_FILE_TRACE_ERROR(...) vsf_trace_error(__VA_ARGS__) |
Functions | |
| void | vsf_test_file_data_init (vsf_test_data_t *data) |
| Initialize the file for data synchronization. | |
| void | vsf_test_file_data_sync (vsf_test_data_t *data, vsf_test_data_cmd_t index) |
| Synchronize data via standard file interface (fopen, fread, fwrite, fclose). | |
| bool | vsf_test_file_read_case_result (uint32_t idx, uint32_t *result, char *name, size_t name_size) |
| 公开函数:读取测试用例结果和名字 | |
| #define __VSF_TEST_FILE_TRACE_INFO | ( | ... | ) | vsf_trace_info(__VA_ARGS__) |
| #define __VSF_TEST_FILE_TRACE_DEBUG | ( | ... | ) | vsf_trace_debug(__VA_ARGS__) |
| #define __VSF_TEST_FILE_TRACE_ERROR | ( | ... | ) | vsf_trace_error(__VA_ARGS__) |
| void vsf_test_file_data_init | ( | vsf_test_data_t * | data | ) |
Initialize the file for data synchronization.
| [in] | data | a pointer to structure vsf_test_data_t |
| void vsf_test_file_data_sync | ( | vsf_test_data_t * | data, |
| vsf_test_data_cmd_t | cmd | ||
| ) |
Synchronize data via standard file interface (fopen, fread, fwrite, fclose).
| [in] | data | a pointer to structure vsf_test_data_t |
| [in] | cmd | structure vsf_test_data_cmd_t |