#include <criterion/criterion.h>#include "file-opener.h"#include "named-pipe.h"#include "file-specializations.h"#include "messages.h"#include "apphook.h"#include <fcntl.h>#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <sys/stat.h>#include <unistd.h>#include <errno.h>
Macros | |
| #define | CREATE_DIRS 0x01 |
| #define | SRC_FILE 0x02 |
| #define | DST_FILE 0x04 |
Functions | |
| Test (file_opener, test_open_regular_file) | |
| Test (file_opener, test_open_named_pipe) | |
| Test (file_opener, test_spurious_path) | |
| Test (file_opener, test_create_file_in_nonexistent_dir) | |
| Test (file_opener, test_file_flags) | |
| void | teardown (void) |
| TestSuite (file_opener,.init=setup,.fini=teardown) | |
| #define CREATE_DIRS 0x01 |
| #define DST_FILE 0x04 |
| #define SRC_FILE 0x02 |
| void teardown | ( | void | ) |
| Test | ( | file_opener | , |
| test_create_file_in_nonexistent_dir | |||
| ) |
| Test | ( | file_opener | , |
| test_file_flags | |||
| ) |
| Test | ( | file_opener | , |
| test_open_named_pipe | |||
| ) |
| Test | ( | file_opener | , |
| test_open_regular_file | |||
| ) |
| Test | ( | file_opener | , |
| test_spurious_path | |||
| ) |