summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-04-14 10:02:58 +0000
committerCarl Worth <cworth@cworth.org>2005-04-14 10:02:58 +0000
commit65209fc39cb0257b2e55e7dfa509be5a5ef65f05 (patch)
tree51c3ce1d9057efb92823bb7bed52256e4ddea4ce /test/cairo-test.h
parentd1eb620a195170ac0761b3376e4cd97d7a46cf02 (diff)
Improve instructions for when to add a test to the XFAIL list.
Print explanations for expected failures.
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index 6bf9111d..27efacc0 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -47,6 +47,11 @@ typedef cairo_test_status_t (*cairo_test_draw_function_t) (cairo_t *cr, int wid
cairo_test_status_t
cairo_test (cairo_test_t *test, cairo_test_draw_function_t draw);
+cairo_test_status_t
+cairo_test_expect_failure (cairo_test_t *test,
+ cairo_test_draw_function_t draw,
+ const char *reason);
+
cairo_pattern_t *
cairo_test_create_png_pattern (cairo_t *cr, const char *filename);