diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:38:48 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:38:48 (GMT) |
commit | f946ccfb35b2c144c4bb456d5fe9b48c1b8ae524 (patch) | |
tree | 2d357dd61ade976b7beb5bfe9085027d3478bfb3 /tkhtml1/src/htmltest.h | |
parent | 917eac6db5489b4256a4ba42d89df60e80906894 (diff) | |
parent | d24f03b3877861780be79b1a620adae80b942c3c (diff) | |
download | blt-f946ccfb35b2c144c4bb456d5fe9b48c1b8ae524.zip blt-f946ccfb35b2c144c4bb456d5fe9b48c1b8ae524.tar.gz blt-f946ccfb35b2c144c4bb456d5fe9b48c1b8ae524.tar.bz2 |
Merge commit 'd24f03b3877861780be79b1a620adae80b942c3c' 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 |