#include <criterion/criterion.h>#include "libtest/cr_template.h"#include "libtest/mock-transport.h"#include "logproto-file-writer.h"#include "logmsg/logmsg.h"#include "apphook.h"
Functions | |
| Test (file_writer, write_single_message_and_flush_is_expected_to_dump_the_payload_to_the_output) | |
| Test (file_writer, batches_of_messages_should_be_flushed_to_the_output) | |
| Test (file_writer, messages_should_be_flushed_automatically_once_we_reach_batch_size) | |
| Test (file_writer, batches_of_messages_are_flushed_even_if_the_underlying_transport_is_accepting_a_few_bytes_per_write) | |
| TestSuite (file_writer,.init=startup,.fini=teardown) | |
| Test | ( | file_writer | , |
| batches_of_messages_are_flushed_even_if_the_underlying_transport_is_accepting_a_few_bytes_per_write | |||
| ) |
| Test | ( | file_writer | , |
| batches_of_messages_should_be_flushed_to_the_output | |||
| ) |
| Test | ( | file_writer | , |
| messages_should_be_flushed_automatically_once_we_reach_batch_size | |||
| ) |
| Test | ( | file_writer | , |
| write_single_message_and_flush_is_expected_to_dump_the_payload_to_the_output | |||
| ) |
| TestSuite | ( | file_writer | , |
| . | init = startup, |
||
| . | fini = teardown |
||
| ) |