syslog-ng source
test_varbindlist_scanner.c File Reference
#include <criterion/criterion.h>
#include "varbindlist-scanner.h"
#include "apphook.h"
#include "scratch-buffers.h"
Include dependency graph for test_varbindlist_scanner.c:

Classes

struct  TestVarBind
 

Macros

#define SIZE_OF_ARRAY(array)   (sizeof(array) / sizeof((array)[0]))
 

Functions

 Test (varbindlist_scanner, test_spaces_as_separator)
 
 Test (varbindlist_scanner, test_tabs_and_spaces_as_separator)
 
 Test (varbindlist_scanner, test_key_representations)
 
 Test (varbindlist_scanner, test_all_varbind_type)
 
 Test (varbindlist_scanner, test_separator_inside_of_quoted_value)
 
 Test (varbindlist_scanner, test_multiline_quouted_value)
 
 TestSuite (varbindlist_scanner,.init=setup,.fini=teardown)
 

Macro Definition Documentation

◆ SIZE_OF_ARRAY

#define SIZE_OF_ARRAY (   array)    (sizeof(array) / sizeof((array)[0]))

Function Documentation

◆ Test() [1/6]

Test ( varbindlist_scanner  ,
test_all_varbind_type   
)

◆ Test() [2/6]

Test ( varbindlist_scanner  ,
test_key_representations   
)

◆ Test() [3/6]

Test ( varbindlist_scanner  ,
test_multiline_quouted_value   
)

◆ Test() [4/6]

Test ( varbindlist_scanner  ,
test_separator_inside_of_quoted_value   
)

◆ Test() [5/6]

Test ( varbindlist_scanner  ,
test_spaces_as_separator   
)

◆ Test() [6/6]

Test ( varbindlist_scanner  ,
test_tabs_and_spaces_as_separator   
)

◆ TestSuite()

TestSuite ( varbindlist_scanner  ,
init = setup,
fini = teardown 
)