#include <criterion/criterion.h>#include "libtest/msg_parse_lib.h"#include "geoip-parser.h"#include "apphook.h"#include "scratch-buffers.h"
Functions | |
| void | setup (void) |
| void | teardown (void) |
| Test (geoip2, template_is_mandatory) | |
| Test (geoip2, set_prefix) | |
| Test (geoip2, empty_prefix) | |
| Test (geoip2, test_basic) | |
| TestSuite (geoip2,.init=setup,.fini=teardown) | |
Variables | |
| GlobalConfig * | cfg |
| LogParser * | geoip_parser |
| void setup | ( | void | ) |
| void teardown | ( | void | ) |
| Test | ( | geoip2 | , |
| empty_prefix | |||
| ) |
| Test | ( | geoip2 | , |
| set_prefix | |||
| ) |
| Test | ( | geoip2 | , |
| template_is_mandatory | |||
| ) |
| Test | ( | geoip2 | , |
| test_basic | |||
| ) |
| GlobalConfig* cfg |
| LogParser* geoip_parser |