diff -r 6a13fe0fc19e -r 6b786cc05b3c test/harness/testcase.h --- a/test/harness/testcase.h Mon Jan 30 00:36:31 2012 +0000 +++ b/test/harness/testcase.h Sun May 26 16:54:06 2013 +0100 @@ -10,10 +10,35 @@ } TestcaseError; typedef struct { + guint line; + guint column; /* or 0 for unspecified */ +} TestcaseLocation; + +typedef struct { + /* + * Does this warning relate to a real problem in the etext + * (eg., error and false-negative). + */ + gboolean is_real; + /* + * Do we "expect" BOOKLOUPE to get this wrong + * (eg., false-negative and false-positive) + */ + gboolean xfail; + /* + * For real problems, the first location should be the + * actual location of the problem. + */ + GSList *locations; + char *text; +} TestcaseWarning; + +typedef struct { char *basename; char *tmpdir; GSList *inputs; char *expected; + GSList *warnings; char *encoding; /* The character encoding to talk to BOOKLOUPE in */ char **options; enum {