#include <criterion/criterion.h>#include "libtest/cr_template.h"#include "apphook.h"#include "plugin.h"#include "cfg.h"#include "logmsg/logmsg.h"#include <stdarg.h>
Macros | |
| #define | _EXPECT_CEF_RESULT(...) _expect_cef_result_va(__VA_ARGS__, NULL) |
| #define | _EXPECT_DROP_MESSAGE(...) _expect_cef_result_va("", __VA_ARGS__, NULL) |
| #define | _EXPECT_SKIP_BAD_PROPERTY(...) _expect_skip_bad_property_va(__VA_ARGS__, NULL) |
| #define | _EXPECT_CEF_RESULT_FORMAT(X, ...) _expect_cef_result_format_va(X, __VA_ARGS__, NULL); |
Functions | |
| void | setup (void) |
| void | teardown (void) |
| TestSuite (format_cef,.init=setup,.fini=teardown) | |
| Test (format_cef, test_null_in_value) | |
| Test (format_cef, test_filter) | |
| Test (format_cef, test_multiple_properties_with_space) | |
| Test (format_cef, test_multiple_properties) | |
| Test (format_cef, test_drop_property) | |
| Test (format_cef, test_drop_message) | |
| Test (format_cef, test_empty) | |
| Test (format_cef, test_inline) | |
| Test (format_cef, test_space) | |
| Test (format_cef, test_charset) | |
| Test (format_cef, test_escaping) | |
| Test (format_cef, test_prefix) | |
| Test (format_cef, test_macro_parity) | |
| #define _EXPECT_CEF_RESULT | ( | ... | ) | _expect_cef_result_va(__VA_ARGS__, NULL) |
| #define _EXPECT_CEF_RESULT_FORMAT | ( | X, | |
| ... | |||
| ) | _expect_cef_result_format_va(X, __VA_ARGS__, NULL); |
| #define _EXPECT_DROP_MESSAGE | ( | ... | ) | _expect_cef_result_va("", __VA_ARGS__, NULL) |
| #define _EXPECT_SKIP_BAD_PROPERTY | ( | ... | ) | _expect_skip_bad_property_va(__VA_ARGS__, NULL) |
| void setup | ( | void | ) |
| void teardown | ( | void | ) |
| Test | ( | format_cef | , |
| test_charset | |||
| ) |
| Test | ( | format_cef | , |
| test_drop_message | |||
| ) |
| Test | ( | format_cef | , |
| test_drop_property | |||
| ) |
| Test | ( | format_cef | , |
| test_empty | |||
| ) |
| Test | ( | format_cef | , |
| test_escaping | |||
| ) |
| Test | ( | format_cef | , |
| test_filter | |||
| ) |
| Test | ( | format_cef | , |
| test_inline | |||
| ) |
| Test | ( | format_cef | , |
| test_macro_parity | |||
| ) |
| Test | ( | format_cef | , |
| test_multiple_properties | |||
| ) |
| Test | ( | format_cef | , |
| test_multiple_properties_with_space | |||
| ) |
| Test | ( | format_cef | , |
| test_null_in_value | |||
| ) |
| Test | ( | format_cef | , |
| test_prefix | |||
| ) |
| Test | ( | format_cef | , |
| test_space | |||
| ) |