diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:35:16 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:35:16 (GMT) |
commit | 09e487f0e296d4f8b4d8f52913e0853cd6267ab1 (patch) | |
tree | 0d20544277d73cbc522f7e5bc577b29069bed661 /tkhtml1/src/htmltest.h | |
parent | 488dcf87e8e9f24a6d0e7955b7be56d972480ca4 (diff) | |
parent | cea0772af197e912bd0ce13a6ec5b7d936ec077d (diff) | |
download | blt-09e487f0e296d4f8b4d8f52913e0853cd6267ab1.zip blt-09e487f0e296d4f8b4d8f52913e0853cd6267ab1.tar.gz blt-09e487f0e296d4f8b4d8f52913e0853cd6267ab1.tar.bz2 |
Merge commit 'cea0772af197e912bd0ce13a6ec5b7d936ec077d' 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 |