assertion.h
Go to the documentation of this file.00001 #ifndef __ASSERTION_H__
00002 #define __ASSERTION_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00027 #include <stdio.h>
00028
00029 #include "defines.h"
00030
00031
00033 void assertion_parse( const char* arg );
00034
00036 void assertion_parse_attr(
00037 attr_param* ap,
00038 int line,
00039 const func_unit* funit,
00040 bool exclude
00041 );
00042
00044 void assertion_get_stats(
00045 const func_unit* funit,
00046 unsigned int* hit,
00047 unsigned int* excluded,
00048 unsigned int* total
00049 );
00050
00052 void assertion_report( FILE* ofile, bool verbose );
00053
00055 void assertion_get_funit_summary(
00056 func_unit* funit,
00057 unsigned int* hit,
00058 unsigned int* excluded,
00059 unsigned int* total
00060 );
00061
00063 void assertion_collect(
00064 func_unit* funit,
00065 int cov,
00066 char*** inst_names,
00067 int** excludes,
00068 unsigned int* inst_size
00069 );
00070
00072 void assertion_get_coverage(
00073 const func_unit* funit,
00074 const char* inst_name,
00075 char** assert_mod,
00076 str_link** cp_head,
00077 str_link** cp_tail
00078 );
00079
00080 #endif
00081