diff -r 6a13fe0fc19e -r 0c7258bf8e4f test/harness/testcase.h --- a/test/harness/testcase.h Mon Jan 30 00:36:31 2012 +0000 +++ b/test/harness/testcase.h Thu Sep 05 22:34:27 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 {