diff options
Diffstat (limited to 'test/smask-image-mask.c')
-rw-r--r-- | test/smask-image-mask.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/test/smask-image-mask.c b/test/smask-image-mask.c index 1f250d1a..14187217 100644 --- a/test/smask-image-mask.c +++ b/test/smask-image-mask.c @@ -25,15 +25,6 @@ #include "cairo-test.h" -static cairo_test_draw_function_t draw; - -static const cairo_test_t test = { - "smask-image-mask", - "Test the support of \"soft\" masks with a secondary image mask", - 60, 60, - draw -}; - static cairo_test_status_t draw (cairo_t *cr, int width, int height) { @@ -84,8 +75,9 @@ draw (cairo_t *cr, int width, int height) return CAIRO_TEST_SUCCESS; } -int -main (void) -{ - return cairo_test (&test); -} +CAIRO_TEST (smask_image_mask, + "Test the support of \"soft\" masks with a secondary image mask", + "smask, image", /* keywords */ + NULL, /* requirements */ + 60, 60, + NULL, draw) |