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