diff options
Diffstat (limited to 'test/surface-pattern-scale-down.c')
-rw-r--r-- | test/surface-pattern-scale-down.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/test/surface-pattern-scale-down.c b/test/surface-pattern-scale-down.c index fd62a9c8..639019c0 100644 --- a/test/surface-pattern-scale-down.c +++ b/test/surface-pattern-scale-down.c @@ -30,15 +30,6 @@ #define SIZE 200 -static cairo_test_draw_function_t draw; - -static const cairo_test_t test = { - "surface-pattern-scale-down", - "Test scaled-down transformed not-repeated surface patterns", - SIZE, SIZE, - draw -}; - static cairo_test_status_t draw (cairo_t *cr, int width, int height) { @@ -88,8 +79,10 @@ draw (cairo_t *cr, int width, int height) return CAIRO_TEST_SUCCESS; } -int -main (void) -{ - return cairo_test (&test); -} +CAIRO_TEST (surface_pattern_scale_down, + "Test scaled-down transformed not-repeated surface patterns" + "\nFails xlib backend (with argb32) with inexplicable alpha in result", + "transform", /* keywords */ + NULL, /* requirements */ + SIZE, SIZE, + NULL, draw) |