cosms-core/tests/unit/file.h

30 lines
No EOL
953 B
C

/*
* Copyright (C) Tristan Franssen, <tristanfranssen@strawhats.nl>.
*
* This software is licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License in the file LICENSE or at
* http://www.apache.org/licenses/LICENSE-2.0
*/
#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