GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V1-0-0
Constituent: trim     Tag: mv2304
#include "test_rim_p.h"
#include "t_lrd_p.h"
#include "t_data_p.h"
#include "t_rim_p.h"
#include "t_map_p.h"
#include "t_record_p.h"
#include "t_latp_p.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for test_rim.c:
Data Structures | |
struct | test |
Structure containing a name of a test a pointer to said test. More... | |
Defines | |
#define | NUMBER_OF_TESTS 6 |
The number of tests to run. | |
Typedefs | |
typedef int(* | pTest )(void *ptr) |
Pointer to a test function. | |
Functions | |
void | setPtr (const char *name, void *ptr) |
Associate a pointer with a test. | |
int | test_rim (const char *testname) |
Iterate over a set of unit tests. | |
Variables | |
static test | t_list [NUMBER_OF_TESTS] |
Static array of tests. |
|
Associate a pointer with a test.
|
|
Iterate over a set of unit tests.
|
|
Initial value: { {"lrd", t_lrd, NULL}, {"data", t_data, NULL}, {"rim", t_rim, NULL}, {"map", t_map, NULL}, {"record", t_record, NULL}, {"latp", t_latp, NULL} }
|