mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
436 B
C
25 lines
436 B
C
17 years ago
|
/* Copyright (c) 2008 Victor Julien <victor@inliniac.net> */
|
||
|
|
||
|
#ifndef __UTIL_UNITTEST_H__
|
||
|
#define __UTIL_UNITTEST_H__
|
||
|
|
||
|
typedef struct _UtTest {
|
||
|
|
||
|
char *name;
|
||
|
int(*testfn)(void);
|
||
|
int evalue;
|
||
|
|
||
|
struct _UtTest *next;
|
||
|
|
||
|
} UtTest;
|
||
|
|
||
|
|
||
|
void UtRegisterTest(char *name, int(*testfn)(void), int evalue);
|
||
|
int UtRunTests(void);
|
||
|
void UtInitialize(void);
|
||
|
void UtCleanup(void);
|
||
|
int UtRunSelftest (void);
|
||
|
|
||
|
#endif /* __UTIL_UNITTEST_H__ */
|
||
|
|