[cairo-commit] 2 commits - test/long-dashed-lines-ps-ref.png test/Makefile.am test/reflected-stroke-ps-ref.png test/text-zero-len.c test/text-zero-len-ref.png

Carl Worth cworth at kemper.freedesktop.org
Wed Feb 27 16:22:42 PST 2008


 dev/null                          |binary
 test/Makefile.am                  |    3 +++
 test/long-dashed-lines-ps-ref.png |binary
 test/reflected-stroke-ps-ref.png  |binary
 test/text-zero-len.c              |    4 +---
 5 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 0532cb5c03bac394e22ac4200e8bebc3d959b21c
Author: Carl Worth <cworth at cworth.org>
Date:   Wed Feb 27 13:18:39 2008 -0800

    Remove reference images for text-zero-len
    
    This test isn't generating any image output, so it's silly to
    have a 60x60 reference image for that. Not only that, but the
    rgb24 cases have always been failing due to a missing rgb24-
    specific reference image, (but pdiff had been hiding that).

diff --git a/test/Makefile.am b/test/Makefile.am
index ff032c2..f940566 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -549,6 +549,7 @@ REFERENCE_IMAGES = \
 	text-rotate-ref.png	\
 	text-rotate-svg-ref.png	\
 	text-zero-len-ref.png	\
+	text-zero-len-ps-ref.png	\
 	transforms-ref.png	\
 	transforms-ps-ref.png	\
 	translate-show-surface-ref.png	\
diff --git a/test/text-zero-len-ref.png b/test/text-zero-len-ref.png
deleted file mode 100644
index 4bd2d04..0000000
Binary files a/test/text-zero-len-ref.png and /dev/null differ
diff --git a/test/text-zero-len.c b/test/text-zero-len.c
index 6c2a836..fff9783 100644
--- a/test/text-zero-len.c
+++ b/test/text-zero-len.c
@@ -40,8 +40,6 @@
 
 #include "cairo-test.h"
 
-#define WIDTH  60
-#define HEIGHT 60
 #define NUM_TEXT 20
 #define TEXT_SIZE 12
 
@@ -50,7 +48,7 @@ static cairo_test_draw_function_t draw;
 cairo_test_t test = {
     "text-zero-len",
     "Tests show_text and text_path with a zero-sized string",
-    WIDTH, HEIGHT,
+    0, 0,
     draw
 };
 
commit 427a73ab31e2dce9d98820ba921b216176cde182
Author: Carl Worth <cworth at cworth.org>
Date:   Wed Feb 27 12:43:37 2008 -0800

    Add ps-specific reference images for two recently-added tests

diff --git a/test/Makefile.am b/test/Makefile.am
index 5fad9c0..ff032c2 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -394,6 +394,7 @@ REFERENCE_IMAGES = \
 	line-width-scale-ps-ref.png	\
 	line-width-scale-ref.png	\
 	long-dashed-lines-ref.png	\
+	long-dashed-lines-ps-ref.png	\
 	long-lines-ref.png	\
 	mask-alpha-ref.png	\
 	mask-alpha-svg-argb32-ref.png	\
@@ -479,6 +480,7 @@ REFERENCE_IMAGES = \
 	rectilinear-miter-limit-ps-ref.png	\
 	rectilinear-stroke-ref.png	\
 	reflected-stroke-ref.png	\
+	reflected-stroke-ps-ref.png	\
 	rel-path-quartz-ref.png	\
 	rel-path-quartz-rgb24-ref.png	\
 	rel-path-ps-rgb24-ref.png	\
diff --git a/test/long-dashed-lines-ps-ref.png b/test/long-dashed-lines-ps-ref.png
new file mode 100644
index 0000000..82484f4
Binary files /dev/null and b/test/long-dashed-lines-ps-ref.png differ
diff --git a/test/reflected-stroke-ps-ref.png b/test/reflected-stroke-ps-ref.png
new file mode 100644
index 0000000..6290a17
Binary files /dev/null and b/test/reflected-stroke-ps-ref.png differ


More information about the cairo-commit mailing list