suricata
util-unittest.c File Reference
#include "suricata-common.h"
#include "runmodes.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "util-time.h"
#include "conf.h"
#include "stream-tcp.h"
#include "stream-tcp-reassemble.h"
Include dependency graph for util-unittest.c:

Go to the source code of this file.

Functions

void UtRegisterTest (const char *name, int(*TestFn)(void))
 Register unit test. More...
 
void UtListTests (const char *regex_arg)
 List all registered unit tests. More...
 
uint32_t UtRunTests (const char *regex_arg)
 Run all registered unittests. More...
 
void UtInitialize (void)
 Initialize unit test list. More...
 
void UtCleanup (void)
 Cleanup unit test list. More...
 
void UtRunModeRegister (void)
 
int UtRunSelftest (const char *regex_arg)
 Run self tests. More...
 

Variables

int unittests_fatal = 0
 

Detailed Description