|
Greenbone Vulnerability Management Libraries 22.32.0
|
#include "../base/nvti.h"#include "vtparser.c"#include <cgreen/assertions.h>#include <cgreen/cgreen.h>#include <cgreen/constraint_syntax_helpers.h>#include <cgreen/internal/c_assertions.h>#include <cgreen/mocks.h>
Go to the source code of this file.
Macros | |
| #define | VT_NAME "Example: Security Advisory for eg (EXAMPLE-2025-cb7b)" |
| #define | VT |
Functions | |
| Describe (vtparser) | |
| BeforeEach (vtparser) | |
| AfterEach (vtparser) | |
| static FILE * | memopen (const gchar *str) |
| Ensure (vtparser, parse_vt_json_parses_a_vt) | |
| int | main (int argc, char **argv) |
| #define VT |
Definition at line 17 of file vtparser_tests.c.
Referenced by Ensure().
| #define VT_NAME "Example: Security Advisory for eg (EXAMPLE-2025-cb7b)" |
Definition at line 15 of file vtparser_tests.c.
Referenced by Ensure().
| AfterEach | ( | vtparser | ) |
Definition at line 72 of file vtparser_tests.c.
| BeforeEach | ( | vtparser | ) |
Definition at line 68 of file vtparser_tests.c.
| Describe | ( | vtparser | ) |
| Ensure | ( | vtparser | , |
| parse_vt_json_parses_a_vt | ) |
Definition at line 84 of file vtparser_tests.c.
References gvm_json_pull_event_cleanup(), gvm_json_pull_event_init(), gvm_json_pull_parser_cleanup(), gvm_json_pull_parser_init(), gvm_json_pull_parser_next(), memopen(), nvti_free(), nvti_name(), nvti_refs(), parse_vt_json(), VT, and VT_NAME.

| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 120 of file vtparser_tests.c.
|
static |
Definition at line 77 of file vtparser_tests.c.
Referenced by Ensure().
