syslog-ng source
test_timestamp_serialize.c File Reference
#include <criterion/criterion.h>
#include "logmsg/logmsg.h"
#include "logmsg/timestamp-serialize.h"
#include "apphook.h"
Include dependency graph for test_timestamp_serialize.c:

Functions

 Test (template_timestamp, test_normal_working)
 
 Test (template_timestamp, test_derializing_injured_timestamp)
 
 TestSuite (template_timestamp,.init=setup,.fini=teardown)
 

Variables

SerializeArchive * sa = NULL
 
GString * stream = NULL
 
UnixTime input_timestamps [LM_TS_MAX]
 
UnixTime output_timestamps [LM_TS_MAX]
 

Function Documentation

◆ Test() [1/2]

Test ( template_timestamp  ,
test_derializing_injured_timestamp   
)

◆ Test() [2/2]

Test ( template_timestamp  ,
test_normal_working   
)

◆ TestSuite()

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

Variable Documentation

◆ input_timestamps

UnixTime input_timestamps[LM_TS_MAX]

◆ output_timestamps

UnixTime output_timestamps[LM_TS_MAX]

◆ sa

SerializeArchive* sa = NULL

◆ stream

GString* stream = NULL