File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#include <string.h>
22#include "html_parser_assert.h"
3+ #include "html_parser_mem.h"
34#include "html_parser_fmt.h"
4- #include "html_parser_tag_lookup.h"
5+ #include "html_parser_file_reader.h"
6+ #include "html_parser_document_tree.h"
57#include "html_parser_tester.h"
68
79#define T Test_T
810
911/* test data */
1012
1113/* test functions */
14+ static int Test_func(T t, void *, const void *);
1215
1316int main(int argc, const char *argv[])
1417{
1518 T suite;
16-
19+
1720 Fmt_fprint(stderr, "==> Starting %s <==\n", __FILE__);
1821
1922 suite = Test_init();
2023
21- Test_add(suite, <func_name>, (void *) doc,
22- (const void *) pathname);
24+ /*Test_add(suite, Test_func, (void *) dt, (const void *) results);*/
2325
2426 Test_all_run(suite);
2527 Test_print_results(suite);
@@ -28,3 +30,12 @@ int main(int argc, const char *argv[])
2830
2931 return 0;
3032}
33+
34+ static int Test_func(T t, void *s, const void *chk)
35+ {
36+
37+ TEST_FUNC_NAME(t);
38+
39+ return TEST_FAIL;
40+ }
41+
You can’t perform that action at this time.
0 commit comments