CMSIS-Driver Validation  Version 1.0
Driver Validation
 All Files Functions Variables Macros Groups Pages
DV_Report.c File Reference
#include "DV_Report.h"

Macros

#define TAS   (&test_report.assertions) /* Total assertions */
 
#define CAS   (&current_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
 

Macro Definition Documentation

#define CAS   (&current_assertions) /* Current assertions */
#define FLUSH ( )    MsgFlush()
#define PRINT (   x)    MsgPrint x
#define TAS   (&test_report.assertions) /* Total assertions */

Function Documentation

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 
)
BOOL As_File_Dbgi ( TC_RES  res,
const char *  fn,
uint32_t  ln,
char *  desc 
)
static
BOOL As_File_Result ( TC_RES  res)
static
void MsgFlush ( void  )
static
void MsgPrint ( const char *  msg,
  ... 
)
static
BOOL StatCount ( TC_RES  res)
static
uint8_t * tc_Eval ( void  )
static
BOOL tc_File_Close ( void  )
BOOL tc_File_Open ( uint32_t  num,
const char *  fn 
)
BOOL tc_Init ( void  )
static
uint8_t * tr_Eval ( void  )
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 
)
BOOL tr_Init ( void  )
static

Variable Documentation

AS_STAT current_assertions
uint32_t current_result
uint8_t Failed[] = "FAILED"
static
uint8_t NotExe[] = "NOT EXECUTED"
static
uint8_t Passed[] = "PASSED"
static
REPORT_ITF ritf
TC_ITF tcitf
Initial value:
TEST_REPORT test_report
uint8_t Warning[] = "WARNING"
static