#include <criterion/criterion.h>#include "libtest/queue_utils_lib.h"#include "test_diskq_tools.h"#include "messages.h"#include "logqueue-disk.h"#include "logqueue-disk-reliable.h"#include "logqueue-disk-non-reliable.h"#include "apphook.h"#include "plugin.h"#include <stdlib.h>#include <string.h>#include <unistd.h>
Macros | |
| #define | DISKQ_FILENAME_NOT_RELIABLE "test_become_full_not_reliable.qf" |
| #define | DISKQ_FILENAME_RELIABLE "test_become_full_reliable.qf" |
Functions | |
| void | test_diskq_become_full (gboolean reliable, const gchar *filename) |
| Test (diskq_full, diskq_become_full_reliable) | |
| Test (diskq_full, diskq_become_full_non_reliable) | |
| TestSuite (diskq_full,.init=setup,.fini=teardown) | |
| #define DISKQ_FILENAME_NOT_RELIABLE "test_become_full_not_reliable.qf" |
| #define DISKQ_FILENAME_RELIABLE "test_become_full_reliable.qf" |
| Test | ( | diskq_full | , |
| diskq_become_full_non_reliable | |||
| ) |
| Test | ( | diskq_full | , |
| diskq_become_full_reliable | |||
| ) |
| void test_diskq_become_full | ( | gboolean | reliable, |
| const gchar * | filename | ||
| ) |