![]() |
CMSIS-Driver Validation
Version 1.0
Driver Validation
|
#include "DV_Report.h"
Macros | |
#define | TAS (&test_report.assertions) /* Total assertions */ |
#define | CAS (¤t_assertions) /* Current assertions */ |
#define | PRINT(x) MsgPrint x |
#define | FLUSH() MsgFlush() |
Functions | |
static BOOL | tr_Init (void) |
static BOOL | tc_Init (void) |
static uint8_t * | tr_Eval (void) |
static uint8_t * | tc_Eval (void) |
static BOOL | StatCount (TC_RES res) |
static void | MsgPrint (const char *msg,...) |
static void | MsgFlush (void) |
static BOOL | As_File_Result (TC_RES res) |
static BOOL | As_File_Dbgi (TC_RES res, const char *fn, uint32_t ln, char *desc) |
BOOL | tr_File_Init (void) |
BOOL | tr_File_Open (const char *title, const char *date, const char *time, const char *fn) |
BOOL | tr_File_Close (void) |
BOOL | tc_File_Open (uint32_t num, const char *fn) |
BOOL | tc_File_Close (void) |
uint32_t | __set_result (const char *fn, uint32_t ln, TC_RES res, char *desc) |
uint32_t | __assert_true (const char *fn, uint32_t ln, uint32_t cond) |
Variables | |
TEST_REPORT | test_report |
AS_STAT | current_assertions |
uint32_t | current_result |
static uint8_t | Passed [] = "PASSED" |
static uint8_t | Warning [] = "WARNING" |
static uint8_t | Failed [] = "FAILED" |
static uint8_t | NotExe [] = "NOT EXECUTED" |
TC_ITF | tcitf |
REPORT_ITF | ritf |
#define CAS (¤t_assertions) /* Current assertions */ |
#define FLUSH | ( | ) | MsgFlush() |
#define PRINT | ( | x | ) | MsgPrint x |
#define TAS (&test_report.assertions) /* Total assertions */ |
uint32_t __assert_true | ( | const char * | fn, |
uint32_t | ln, | ||
uint32_t | cond | ||
) |
uint32_t __set_result | ( | const char * | fn, |
uint32_t | ln, | ||
TC_RES | res, | ||
char * | desc | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
BOOL tc_File_Close | ( | void | ) |
BOOL tc_File_Open | ( | uint32_t | num, |
const char * | fn | ||
) |
|
static |
|
static |
BOOL tr_File_Close | ( | void | ) |
BOOL tr_File_Init | ( | void | ) |
BOOL tr_File_Open | ( | const char * | title, |
const char * | date, | ||
const char * | time, | ||
const char * | fn | ||
) |
|
static |
AS_STAT current_assertions |
uint32_t current_result |
|
static |
|
static |
|
static |
REPORT_ITF ritf |
TC_ITF tcitf |
TEST_REPORT test_report |
|
static |