cosms-core/tests/unit/file.h

22 lines
No EOL
612 B
C

#ifndef COSMS_CORE_FILE_TEST
#define COSMS_CORE_FILE_TEST
#include "test.h"
COSMS_CORE_TEST_DEFINE(file_open);
COSMS_CORE_TEST_DEFINE(file_close);
COSMS_CORE_TEST_DEFINE(file_size);
COSMS_CORE_TEST_DEFINE(file_read);
COSMS_CORE_TEST_DEFINE(file_write);
COSMS_CORE_TEST_DEFINE(file_delete);
COSMS_CORE_TEST_EXPORT(file,
COSMS_CORE_TEST_FUNCTION_NAME(file_open),
COSMS_CORE_TEST_FUNCTION_NAME(file_close),
COSMS_CORE_TEST_FUNCTION_NAME(file_size),
COSMS_CORE_TEST_FUNCTION_NAME(file_read),
COSMS_CORE_TEST_FUNCTION_NAME(file_write),
COSMS_CORE_TEST_FUNCTION_NAME(file_delete)
);
#endif