#include "python-module.h"#include <criterion/criterion.h>#include "python-helpers.h"#include "python-types.h"#include "python-logmsg.h"#include "python-logtemplate.h"#include "python-logtemplate-options.h"#include "python-main.h"#include "python-startup.h"#include "apphook.h"#include "logmsg/logmsg.h"#include "syslog-format.h"#include "timeutils/format.h"#include "cfg.h"#include "scratch-buffers.h"#include "python-integerpointer.h"
Functions | |
| void | setup (void) |
| void | teardown (void) |
| TestSuite (python_log_logtemplate,.init=setup,.fini=teardown) | |
| void | assert_format (gchar *expected, PyLogTemplate *template, PyLogMessage *msg) |
| Test (python_log_logtemplate, test_python_template) | |
| Test (python_log_logtemplate, test_no_template_options_via_either_constructor_or_format_causes_an_exception) | |
| Test (python_log_logtemplate, format_all_parameters) | |
| Test (python_log_logtemplate, test_logtemplate_exception) | |
| Test (python_log_logtemplate, test_py_is_log_template_options) | |
| Test (python_log_logtemplate, test_integerpointer) | |
Variables | |
| LogTemplateOptions | log_template_options |
| PyObject * | py_template_options |
| void assert_format | ( | gchar * | expected, |
| PyLogTemplate * | template, | ||
| PyLogMessage * | msg | ||
| ) |
| void setup | ( | void | ) |
| void teardown | ( | void | ) |
| Test | ( | python_log_logtemplate | , |
| format_all_parameters | |||
| ) |
| Test | ( | python_log_logtemplate | , |
| test_integerpointer | |||
| ) |
| Test | ( | python_log_logtemplate | , |
| test_logtemplate_exception | |||
| ) |
| Test | ( | python_log_logtemplate | , |
| test_no_template_options_via_either_constructor_or_format_causes_an_exception | |||
| ) |
| Test | ( | python_log_logtemplate | , |
| test_py_is_log_template_options | |||
| ) |
| Test | ( | python_log_logtemplate | , |
| test_python_template | |||
| ) |
| LogTemplateOptions log_template_options |
| PyObject* py_template_options |