#include <criterion/criterion.h>#include "libtest/mock-transport.h"#include "libtest/proto_lib.h"#include "libtest/msg_parse_lib.h"#include "libtest/grab-logging.h"#include "logproto/logproto-text-server.h"#include "ack-tracker/ack_tracker_factory.h"#include <errno.h>
Functions | |
| LogProtoServer * | construct_test_proto (LogTransport *transport) |
| LogProtoServer * | construct_test_proto_with_nuls (LogTransport *transport) |
| LogProtoServer * | construct_test_proto_with_accumulator (gint(*accumulator)(MultiLineLogic *, const guchar *, gsize, const guchar *, gsize), LogTransport *transport) |
| Test (log_proto, test_log_proto_text_server_no_encoding) | |
| Test (log_proto, test_log_proto_text_server_no_eol_before_eof) | |
| Test (log_proto, test_log_proto_text_with_embedded_nuls) | |
| Test (log_proto, test_log_proto_text_server_eol_before_eof) | |
| Test (log_proto, test_log_proto_text_server_io_error_before_eof) | |
| Test (log_proto, test_log_proto_text_server_partial_chars_before_eof) | |
| Test (log_proto, test_log_proto_text_server_invalid_char_with_encoding) | |
| Test (log_proto, test_log_proto_text_server_not_fixed_encoding) | |
| Test (log_proto, test_log_proto_text_server_ucs4) | |
| Test (log_proto, test_log_proto_text_server_iso8859_2) | |
| Test (log_proto, test_log_proto_text_server_invalid_encoding) | |
| Test (log_proto, test_log_proto_text_server_multi_read) | |
| Test (log_proto, test_log_proto_text_server_multi_read_not_allowed,.disabled=true) | |
| Test (log_proto, test_log_proto_text_server_is_not_fetching_input_as_long_as_there_is_an_eol_in_buffer) | |
| Test (log_proto, test_log_proto_text_server_accumulate_line_is_called_for_each_line) | |
| Test (log_proto, test_log_proto_text_server_accumulate_line_can_consume_lines_without_returning_them) | |
| Test (log_proto, test_log_proto_text_server_accumulate_line_can_rewind_lines_if_uninteresting) | |
| Test (log_proto, test_log_proto_text_server_accumulation_terminated_if_input_is_closed) | |
| Test (log_proto, test_log_proto_text_server_accumulation_terminated_if_buffer_full) | |
| Test (log_proto, test_log_proto_text_server_rewinding_the_initial_line_results_in_an_empty_message) | |
| Test (log_proto, test_log_proto_text_server_io_eagain) | |
| Test (log_proto, buffer_split_with_encoding_and_position_tracking) | |
| LogProtoServer* construct_test_proto | ( | LogTransport * | transport | ) |
| LogProtoServer* construct_test_proto_with_accumulator | ( | gint(*)(MultiLineLogic *, const guchar *, gsize, const guchar *, gsize) | accumulator, |
| LogTransport * | transport | ||
| ) |
| LogProtoServer* construct_test_proto_with_nuls | ( | LogTransport * | transport | ) |
| Test | ( | log_proto | , |
| buffer_split_with_encoding_and_position_tracking | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_accumulate_line_can_consume_lines_without_returning_them | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_accumulate_line_can_rewind_lines_if_uninteresting | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_accumulate_line_is_called_for_each_line | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_accumulation_terminated_if_buffer_full | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_accumulation_terminated_if_input_is_closed | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_eol_before_eof | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_invalid_char_with_encoding | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_invalid_encoding | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_io_eagain | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_io_error_before_eof | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_is_not_fetching_input_as_long_as_there_is_an_eol_in_buffer | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_iso8859_2 | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_multi_read | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_multi_read_not_allowed | , | ||
| . | disabled = true |
||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_no_encoding | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_no_eol_before_eof | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_not_fixed_encoding | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_partial_chars_before_eof | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_rewinding_the_initial_line_results_in_an_empty_message | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_server_ucs4 | |||
| ) |
| Test | ( | log_proto | , |
| test_log_proto_text_with_embedded_nuls | |||
| ) |