#include <criterion/criterion.h>#include "libtest/msg_parse_lib.h"#include "snmptrapd-parser.h"#include "apphook.h"
Classes | |
| struct | TestNameValue |
| struct | TestParserOptions |
Macros | |
| #define | SIZE_OF_ARRAY(array) (sizeof(array) / sizeof((array)[0])) |
Functions | |
| void | setup (void) |
| void | teardown (void) |
| TestSuite (snmptrapd_parser,.init=setup,.fini=teardown) | |
| Test (snmptrapd_parser, test_general_v2_message_with_oids) | |
| Test (snmptrapd_parser, test_general_v1_message_with_oids) | |
| Test (snmptrapd_parser, test_v2_with_symbolic_names_and_various_types) | |
| Test (snmptrapd_parser, test_v1_with_symbolic_names) | |
| Test (snmptrapd_parser, test_v2_with_generated_message) | |
| Test (snmptrapd_parser, test_v2_with_generated_message_escaped) | |
| Test (snmptrapd_parser, test_v2_without_prefix) | |
| Test (snmptrapd_parser, test_v2_key_normalization) | |
| Test (snmptrapd_parser, test_general_v1_message_without_varbindlist) | |
| Test (snmptrapd_parser, test_snmptrapd_debug_message_with_timestamp) | |
| Test (snmptrapd_parser, test_v2_varbindlist_starts_with_tab) | |
| Test (snmptrapd_parser, test_v2_message_with_garbage) | |
| #define SIZE_OF_ARRAY | ( | array | ) | (sizeof(array) / sizeof((array)[0])) |
| void setup | ( | void | ) |
| void teardown | ( | void | ) |
| Test | ( | snmptrapd_parser | , |
| test_general_v1_message_with_oids | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_general_v1_message_without_varbindlist | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_general_v2_message_with_oids | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_snmptrapd_debug_message_with_timestamp | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v1_with_symbolic_names | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v2_key_normalization | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v2_message_with_garbage | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v2_varbindlist_starts_with_tab | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v2_with_generated_message | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v2_with_generated_message_escaped | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v2_with_symbolic_names_and_various_types | |||
| ) |
| Test | ( | snmptrapd_parser | , |
| test_v2_without_prefix | |||
| ) |