OpenVAS Scanner 23.23.1
table_driven_lsc_tests.c File Reference
#include "table_driven_lsc.c"
#include <cgreen/cgreen.h>
#include <cgreen/constraint_syntax_helpers.h>
#include <cgreen/mocks.h>
#include <sys/cdefs.h>

Functions

 Describe (lsc)
 BeforeEach (lsc)
 AfterEach (lsc)
 Ensure (lsc, make_pkg_in_json)
 Ensure (lsc, process_resp)
int main (int argc, char **argv)

Variables

static char * resp_str

Function Documentation

◆ AfterEach()

AfterEach ( lsc )

◆ BeforeEach()

BeforeEach ( lsc )

◆ Describe()

Describe ( lsc )

◆ Ensure() [1/2]

Ensure ( lsc ,
make_pkg_in_json  )

◆ Ensure() [2/2]

Ensure ( lsc ,
process_resp  )

◆ main()

int main ( int argc,
char ** argv )

Variable Documentation

◆ resp_str

char* resp_str
static
Initial value:
= "{"
"\"1.3.6.1.4.1.25623.1.1.7.2.2023.0988598199100\": ["
"{"
"\"name\": \"grafana8\","
"\"installed_version\": \"8.5.23\","
"\"fixed_version\": {"
"\"version\": \"8.5.24\","
"\"specifier\": \">=\""
"}"
"},"
"{"
"\"name\": \"grafana9\","
"\"installed_version\": \"9.4.7\","
"\"fixed_version\": {"
"\"start\": \"9.4.0\","
"\"end\": \"9.4.9\""
"}"
"}"
"],"
"\"1.3.6.1.4.1.25623.1.1.7.2.2023.10089729899100\": ["
"{"
"\"name\": \"gitlab-ce\","
"\"installed_version\": \"16.0.1\","
"\"fixed_version\": {"
"\"start\": \"16.0.0\","
"\"end\": \"16.0.7\""
"}"
"}"
"]"
"}"