For internal use only.
This file includes the header files necessary for initializing the test suit programs. It also contains the definition of the ev_test_init() macro, which initializes a test program.
Definition in file event-test.h.
#include "test-harness.h"
#include "event_int.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for event-test.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | ev_test_init(test) |
Initialize test program. | |
#define | ev_prog_name(prog, argv) |
Locate program name. | |
#define | ev_lib_init(argc, argv, prog, ctx) |
Set up event library for testing all other functions. |
|
For internal use only. This macro performs the steps necessary to initialize the event library, including calling event_init() (which is why this macro is not used by t_event_init).
Definition at line 98 of file event-test.h. Referenced by main(). |
|
For internal use only.
This macro simply locates the actual program name and sets the
Definition at line 73 of file event-test.h. Referenced by main(). |
|
For internal use only. This macro initializes the test program. It turns on library logging (for later debugging) and issues a log message including the test program name.
Definition at line 56 of file event-test.h. Referenced by main(). |