[cairo] [PATCH 3/4] test: Space out keywords for clarity

Bryce W. Harrington b.harrington at samsung.com
Thu Sep 12 15:55:02 PDT 2013


As another nitpick, a comma alone is legal for separating keywords, but
most tests use a comma and a space.  Update the few tests that don't,
to make this consistent.

Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
 test/image-bug-710072.c            |    4 ++--
 test/mesh-pattern-accuracy.c       |    2 +-
 test/mesh-pattern-conical.c        |    2 +-
 test/mesh-pattern-control-points.c |    2 +-
 test/mesh-pattern-fold.c           |    2 +-
 test/mesh-pattern-overlap.c        |    2 +-
 test/mesh-pattern-transformed.c    |    2 +-
 test/mesh-pattern.c                |    2 +-
 test/record1414x.c                 |    4 ++--
 9 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/test/image-bug-710072.c b/test/image-bug-710072.c
index 0c9cd8a..9cf0da7 100644
--- a/test/image-bug-710072.c
+++ b/test/image-bug-710072.c
@@ -67,14 +67,14 @@ draw_unaligned (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (image_bug_710072_aligned,
 	    "Tests a bug where we may compute spans greater than bounded extents",
-	    "extents,fill,stroke", /* keywords */
+	    "extents, fill, stroke", /* keywords */
 	    NULL, /* requirements */
 	    15, 15,
 	    NULL, draw_aligned)
 
 CAIRO_TEST (image_bug_710072_unaligned,
 	    "Tests a bug where we may compute spans greater than bounded extents",
-	    "extents,fill,stroke", /* keywords */
+	    "extents, fill, stroke", /* keywords */
 	    NULL, /* requirements */
 	    15, 15,
 	    NULL, draw_unaligned)
diff --git a/test/mesh-pattern-accuracy.c b/test/mesh-pattern-accuracy.c
index 92e1523..d1f60b2 100644
--- a/test/mesh-pattern-accuracy.c
+++ b/test/mesh-pattern-accuracy.c
@@ -93,7 +93,7 @@ draw (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (mesh_pattern_accuracy,
 	    "Paint mesh pattern",
-	    "mesh,pattern", /* keywords */
+	    "mesh, pattern", /* keywords */
 	    NULL, /* requirements */
 	    SIZE, SIZE,
 	    NULL, draw)
diff --git a/test/mesh-pattern-conical.c b/test/mesh-pattern-conical.c
index 8138884..4e87eec 100644
--- a/test/mesh-pattern-conical.c
+++ b/test/mesh-pattern-conical.c
@@ -129,7 +129,7 @@ draw (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (mesh_pattern_conical,
 	    "Paint a conical pattern using a mesh pattern",
-	    "conical,mesh,pattern", /* keywords */
+	    "conical, mesh, pattern", /* keywords */
 	    NULL, /* requirements */
 	    WIDTH, HEIGHT,
 	    NULL, draw)
diff --git a/test/mesh-pattern-control-points.c b/test/mesh-pattern-control-points.c
index 4d59495..057e7a1 100644
--- a/test/mesh-pattern-control-points.c
+++ b/test/mesh-pattern-control-points.c
@@ -108,7 +108,7 @@ draw (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (mesh_pattern_control_points,
 	    "Paint mesh pattern with non default control points",
-	    "mesh,pattern", /* keywords */
+	    "mesh, pattern", /* keywords */
 	    NULL, /* requirements */
 	    WIDTH, HEIGHT,
 	    NULL, draw)
diff --git a/test/mesh-pattern-fold.c b/test/mesh-pattern-fold.c
index 4872bc0..cacd712 100644
--- a/test/mesh-pattern-fold.c
+++ b/test/mesh-pattern-fold.c
@@ -76,7 +76,7 @@ draw (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (mesh_pattern_fold,
 	    "Paint a mesh pattern with complex folds",
-	    "mesh,pattern", /* keywords */
+	    "mesh, pattern", /* keywords */
 	    NULL, /* requirements */
 	    WIDTH, HEIGHT,
 	    NULL, draw)
diff --git a/test/mesh-pattern-overlap.c b/test/mesh-pattern-overlap.c
index 5ecbf9f..969bc73 100644
--- a/test/mesh-pattern-overlap.c
+++ b/test/mesh-pattern-overlap.c
@@ -70,7 +70,7 @@ draw (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (mesh_pattern_overlap,
 	    "Paint a mesh pattern with a simple fold",
-	    "mesh,pattern", /* keywords */
+	    "mesh, pattern", /* keywords */
 	    NULL, /* requirements */
 	    WIDTH, HEIGHT,
 	    NULL, draw)
diff --git a/test/mesh-pattern-transformed.c b/test/mesh-pattern-transformed.c
index a5c20e7..5fe0dc0 100644
--- a/test/mesh-pattern-transformed.c
+++ b/test/mesh-pattern-transformed.c
@@ -100,7 +100,7 @@ draw (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (mesh_pattern_transformed,
 	    "Paint mesh pattern with a transformation",
-	    "mesh,pattern", /* keywords */
+	    "mesh, pattern", /* keywords */
 	    NULL, /* requirements */
 	    WIDTH, HEIGHT,
 	    NULL, draw)
diff --git a/test/mesh-pattern.c b/test/mesh-pattern.c
index 68f1830..eccbd38 100644
--- a/test/mesh-pattern.c
+++ b/test/mesh-pattern.c
@@ -88,7 +88,7 @@ draw (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (mesh_pattern,
 	    "Paint mesh pattern",
-	    "mesh,pattern", /* keywords */
+	    "mesh, pattern", /* keywords */
 	    NULL, /* requirements */
 	    WIDTH, HEIGHT,
 	    NULL, draw)
diff --git a/test/record1414x.c b/test/record1414x.c
index b8adb86..029e5a4 100644
--- a/test/record1414x.c
+++ b/test/record1414x.c
@@ -444,7 +444,7 @@ record_text_transform (cairo_t *cr, int width, int height)
 
 CAIRO_TEST (record1414x_paint,
 	    "Test replayed calls to cairo_paint",
-	    "paint,record", /* keywords */
+	    "paint, record", /* keywords */
 	    NULL, /* requirements */
 	    M_SQRT2*8, M_SQRT2*8,
 	    NULL, record_paint)
@@ -474,7 +474,7 @@ CAIRO_TEST (record1414x_paint_alpha_clip_mask,
 	    NULL, record_paint_alpha_clip_mask)
 CAIRO_TEST (record1414x_fill_alpha,
 	    "Tests using set_rgba();fill()",
-	    "record,fill, alpha", /* keywords */
+	    "record, fill, alpha", /* keywords */
 	    NULL, /* requirements */
 	    M_SQRT2*(2*SIZE + 4*PAD), M_SQRT2*(2*SIZE + 4*PAD),
 	    NULL, record_fill_alpha)
-- 
1.7.9.5


More information about the cairo mailing list