Add tests for file IO API
This commit is contained in:
20
tests/file/test_file.h
Normal file
20
tests/file/test_file.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
#ifndef TEST_FILE_H
|
||||
#define TEST_FILE_H
|
||||
|
||||
#include "wapp.h"
|
||||
|
||||
TestFuncResult test_wapp_file_open(void);
|
||||
TestFuncResult test_wapp_file_get_current_position(void);
|
||||
TestFuncResult test_wapp_file_seek(void);
|
||||
TestFuncResult test_wapp_file_get_length(void);
|
||||
TestFuncResult test_wapp_file_read(void);
|
||||
TestFuncResult test_wapp_file_write(void);
|
||||
TestFuncResult test_wapp_file_read_array(void);
|
||||
TestFuncResult test_wapp_file_write_array(void);
|
||||
TestFuncResult test_wapp_file_flush(void);
|
||||
TestFuncResult test_wapp_file_close(void);
|
||||
TestFuncResult test_wapp_file_remove(void);
|
||||
|
||||
#endif // !TEST_FILE_H
|
||||
Reference in New Issue
Block a user