#include <criterion/criterion.h>#include "libtest/queue_utils_lib.h"#include "test_diskq_tools.h"#include "logqueue.h"#include "logqueue-disk.h"#include "logqueue-disk-reliable.h"#include "logqueue-disk-non-reliable.h"#include "diskq.h"#include "qdisk.c"#include "apphook.h"#include "diskq-config.h"#include <stdlib.h>#include <sys/stat.h>#include <math.h>
Classes | |
| struct | TruncateTestParams |
Macros | |
| #define | TEST_DISKQ_SIZE 1100000 |
Functions | |
| Test (diskq_truncate, test_diskq_truncate_with_diskbuffer_used) | |
| Test (diskq_truncate, test_diskq_truncate_without_diskbuffer_used) | |
| Test (diskq_truncate, test_diskq_truncate_on_push) | |
| Test (diskq_truncate, test_diskq_truncate_size_ratio_default_3_x) | |
| Test (diskq_truncate, test_diskq_truncate_size_ratio_0) | |
| Test (diskq_truncate, test_diskq_truncate_short_read) | |
| Test (diskq_truncate, test_diskq_truncate_size_ratio_1) | |
| Test (diskq_truncate, test_diskq_no_truncate_wrap) | |
| Test (diskq_truncate, test_non_reliable_diskq_restart_with_truncation_disabled) | |
| TestSuite (diskq_truncate,.init=setup,.fini=teardown) | |
| #define TEST_DISKQ_SIZE 1100000 |
| Test | ( | diskq_truncate | , |
| test_diskq_no_truncate_wrap | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_diskq_truncate_on_push | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_diskq_truncate_short_read | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_diskq_truncate_size_ratio_0 | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_diskq_truncate_size_ratio_1 | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_diskq_truncate_size_ratio_default_3_x | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_diskq_truncate_with_diskbuffer_used | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_diskq_truncate_without_diskbuffer_used | |||
| ) |
| Test | ( | diskq_truncate | , |
| test_non_reliable_diskq_restart_with_truncation_disabled | |||
| ) |