diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-10-17 15:25:29 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-10-17 15:25:29 (GMT) |
commit | a62a72569befa24bccfc2ef198be80f3cb1e94e9 (patch) | |
tree | 5b80188ca040ec1942d235792ffc4905cd2ecf27 /tkhtml1/src/htmltest.h | |
parent | 9967eb08e8dd098ffec7e70fa72549e5f7dc1e42 (diff) | |
parent | 333069975324629e46636ca439dc7edb838449a3 (diff) | |
download | blt-a62a72569befa24bccfc2ef198be80f3cb1e94e9.zip blt-a62a72569befa24bccfc2ef198be80f3cb1e94e9.tar.gz blt-a62a72569befa24bccfc2ef198be80f3cb1e94e9.tar.bz2 |
Merge commit '333069975324629e46636ca439dc7edb838449a3' as 'tkhtml1'
Diffstat (limited to 'tkhtml1/src/htmltest.h')
-rw-r--r-- | tkhtml1/src/htmltest.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tkhtml1/src/htmltest.h b/tkhtml1/src/htmltest.h new file mode 100644 index 0000000..060508f --- /dev/null +++ b/tkhtml1/src/htmltest.h @@ -0,0 +1,44 @@ +/* This file was automatically generated. Do not edit! */ +void HtmlTestPointDump(const char *filename); +#define DEBUG 1 +#if defined(DEBUG) +extern int HtmlDepth; +#define HtmlPop HtmlDepth-=2 +#endif +#if !(defined(DEBUG)) +#define HtmlPop +#endif +#if defined(DEBUG) +#define HtmlPush HtmlDepth+=2 +#endif +#if !(defined(DEBUG)) +#define HtmlPush +#endif +void HtmlTPCantHappen(const char *zFile,int line); +#if defined(COVERAGE_TEST) +# define HtmlVerifyLock(H) if((H)->locked==0)HtmlTPCantHappen(__FILE__,__LINE__) +#endif +#if !(defined(COVERAGE_TEST)) +# define HtmlVerifyLock(H) +#endif +#if defined(COVERAGE_TEST) +# define CANT_HAPPEN HtmlTPCantHappen(__FILE__,__LINE__) +#endif +#if !(defined(COVERAGE_TEST)) +# define CANT_HAPPEN +#endif +void HtmlTPUntested(const char *zFile,int line); +#if defined(COVERAGE_TEST) +# define UNTESTED HtmlTPUntested(__FILE__,__LINE__) +#endif +#if !(defined(COVERAGE_TEST)) +# define UNTESTED +#endif +#if defined(COVERAGE_TEST) +extern int HtmlTPArray[2000]; +# define TestPoint(X) {extern int HtmlTPArray[]; HtmlTPArray[X]++;} +#endif +#if !(defined(COVERAGE_TEST)) +# define TestPoint(X) +#endif +#define INTERFACE 0 |