[cairo-commit] cairo/test .cvsignore, 1.10, 1.11 Makefile.am, 1.23, 1.24 buffer-diff.c, 1.1, 1.2 buffer_diff.c, 1.1, NONE buffer_diff.h, 1.1, NONE cairo-test.c, 1.14, 1.15 cairo_test.c, 1.14, NONE cairo_test.h, 1.4, NONE clip-twice.c, 1.2, 1.3 clip_twice-ref.png, 1.3, NONE clip_twice.c, 1.2, NONE coverage.c, 1.3, 1.4 fill-rule.c, 1.3, 1.4 fill_rule-ref.png, 1.3, NONE fill_rule.c, 1.3, NONE get-and-set.c, 1.1, 1.2 get_and_set.c, 1.1, NONE imagediff.c, 1.1, 1.2 leaky-polygon.c, 1.2, 1.3 leaky_polygon-ref.png, 1.2, NONE leaky_polygon.c, 1.2, NONE line-width.c, 1.2, 1.3 line_width-ref.png, 1.2, NONE line_width.c, 1.2, NONE linear-gradient.c, 1.2, 1.3 linear_gradient-ref.png, 1.1, NONE linear_gradient.c, 1.2, NONE move-to-show-surface.c, 1.2, 1.3 move_to_show_surface-ref.png, 1.1, NONE move_to_show_surface.c, 1.2, NONE path-data.c, 1.2, 1.3 path_data-ref.png, 1.1, NONE path_data.c, 1.2, NONE pixman-rotate.c, 1.3, 1.4 pixman_rotate-ref.png, 1.1, NONE pixman_rotate.c, 1.3, NONE read-png.c, 1.2, 1.3 read_png.c, 1.2, NONE read_png.h, 1.1, NONE text-cache-crash.c, 1.5, 1.6 text-rotate.c, 1.4, 1.5 text_cache_crash.c, 1.5, NONE text_rotate.c, 1.4, NONE user_data.c, 1.3, NONE write-png.c, 1.4, 1.5 write_png.c, 1.4, NONE write_png.h, 1.2, NONE

Carl Worth commit at pdx.freedesktop.org
Tue Mar 29 00:02:21 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv16382/test

Modified Files:
	.cvsignore Makefile.am buffer-diff.c cairo-test.c clip-twice.c 
	coverage.c fill-rule.c get-and-set.c imagediff.c 
	leaky-polygon.c line-width.c linear-gradient.c 
	move-to-show-surface.c path-data.c pixman-rotate.c read-png.c 
	text-cache-crash.c text-rotate.c write-png.c 
Removed Files:
	buffer_diff.c buffer_diff.h cairo_test.c cairo_test.h 
	clip_twice-ref.png clip_twice.c fill_rule-ref.png fill_rule.c 
	get_and_set.c leaky_polygon-ref.png leaky_polygon.c 
	line_width-ref.png line_width.c linear_gradient-ref.png 
	linear_gradient.c move_to_show_surface-ref.png 
	move_to_show_surface.c path_data-ref.png path_data.c 
	pixman_rotate-ref.png pixman_rotate.c read_png.c read_png.h 
	text_cache_crash.c text_rotate.c user_data.c write_png.c 
	write_png.h 
Log Message:

        * test/Makefile.am:
        * test/*_*.c: More _/- renames in the test directory.


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- .cvsignore	23 Mar 2005 21:49:33 -0000	1.10
+++ .cvsignore	29 Mar 2005 08:02:19 -0000	1.11
@@ -2,20 +2,20 @@
 .libs
 Makefile
 Makefile.in
-clip_twice
+clip-twice
 coverage
-fill_rule
-get_and_set
+fill-rule
+get-and-set
 imagediff
-leaky_polygon
-line_width
-linear_gradient
-move_to_show_surface
-path_data
-pixman_rotate
-text_cache_crash
-text_rotate
-user_data
+leaky-polygon
+line-width
+linear-gradient
+move-to-show-surface
+path-data
+pixman-rotate
+text-cache-crash
+text-rotate
+user-data
 *-out.png
 *-diff.png
 *.la

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- Makefile.am	14 Mar 2005 19:14:13 -0000	1.23
+++ Makefile.am	29 Mar 2005 08:02:19 -0000	1.24
@@ -1,36 +1,36 @@
 # All new test cases go here
 TESTS = 		\
-clip_twice		\
+clip-twice		\
 coverage		\
-fill_rule		\
-get_and_set		\
-leaky_polygon		\
-line_width		\
-linear_gradient		\
-move_to_show_surface	\
-path_data		\
-pixman_rotate		\
-text_cache_crash	\
-text_rotate		\
-user_data
+fill-rule		\
+get-and-set		\
+leaky-polygon		\
+line-width		\
+linear-gradient		\
+move-to-show-surface	\
+path-data		\
+pixman-rotate		\
+text-cache-crash	\
+text-rotate		\
+user-data
 
 # And all new tests go here too. I really don't like having to repeat
 # this list. Anyone know a good way to avoid it? Can I use a wildcard
 # here?
 EXTRA_DIST =			\
-fill_rule-ref.png		\
-leaky_polygon-ref.png		\
-line_width-ref.png		\
-linear_gradient-ref.png		\
-move_to_show_surface-ref.png	\
+fill-rule-ref.png		\
+leaky-polygon-ref.png		\
+line-width-ref.png		\
+linear-gradient-ref.png		\
+move-to-show-surface-ref.png	\
 coverage-ref.png		\
-clip_twice-ref.png		\
-path_data-ref.png		\
-pixman_rotate-ref.png		\
+clip-twice-ref.png		\
+path-data-ref.png		\
+pixman-rotate-ref.png		\
 romedalen.png
 
-# Once we can draw the text_rotate.c test case correctly, we should
-# create and add text_rotate-ref.png to the list of reference PNGs.
+# Once we can draw the text-rotate.c test case correctly, we should
+# create and add text-rotate-ref.png to the list of reference PNGs.
 
 # This list is only for known bugs (not regressions). We do need to
 # fix these before the next release, but they are expected to fail for
@@ -41,9 +41,9 @@
 # regression bugs that should not be listed here. Instead they should
 # be fixed before the code is committed.
 XFAIL_TESTS =		\
-move_to_show_surface	\
-pixman_rotate		\
-text_rotate
+move-to-show-surface	\
+pixman-rotate		\
+text-rotate
 
 check_PROGRAMS = $(TESTS)
 
@@ -56,14 +56,14 @@
 noinst_LTLIBRARIES = libcairotest.la
 
 libcairotest_la_SOURCES =\
-buffer_diff.c	\
-buffer_diff.h	\
-cairo_test.c	\
-cairo_test.h	\
-read_png.c	\
-read_png.h	\
-write_png.c	\
-write_png.h	\
+buffer-diff.c	\
+buffer-diff.h	\
+cairo-test.c	\
+cairo-test.h	\
+read-png.c	\
+read-png.h	\
+write-png.c	\
+write-png.h	\
 xmalloc.c	\
 xmalloc.h
 

Index: buffer-diff.c
===================================================================
RCS file: /cvs/cairo/cairo/test/buffer-diff.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- buffer-diff.c	25 Jan 2005 22:45:31 -0000	1.1
+++ buffer-diff.c	29 Mar 2005 08:02:19 -0000	1.2
@@ -23,7 +23,7 @@
  *
  * Author: Richard D. Worth <richard at theworths.org> */
 
-#include "buffer_diff.h"
+#include "buffer-diff.h"
 
 /* Image comparison code courttesy of Richard Worth.
  * Returns number of pixels changed.

--- buffer_diff.c DELETED ---

--- buffer_diff.h DELETED ---

Index: cairo-test.c
===================================================================
RCS file: /cvs/cairo/cairo/test/cairo-test.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- cairo-test.c	17 Mar 2005 21:13:58 -0000	1.14
+++ cairo-test.c	29 Mar 2005 08:02:19 -0000	1.15
@@ -30,11 +30,11 @@
 #include <errno.h>
 #include <string.h>
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
-#include "buffer_diff.h"
-#include "read_png.h"
-#include "write_png.h"
+#include "buffer-diff.h"
+#include "read-png.h"
+#include "write-png.h"
 #include "xmalloc.h"
 
 #define CAIRO_TEST_LOG_SUFFIX ".log"

--- cairo_test.c DELETED ---

--- cairo_test.h DELETED ---

Index: clip-twice.c
===================================================================
RCS file: /cvs/cairo/cairo/test/clip-twice.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- clip-twice.c	9 Mar 2005 21:58:20 -0000	1.2
+++ clip-twice.c	29 Mar 2005 08:02:19 -0000	1.3
@@ -23,13 +23,13 @@
  * Author: Kristian Høgsberg <krh at redhat.com>
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 #define WIDTH 64
 #define HEIGHT 64
 
 cairo_test_t test = {
-    "clip_twice",
+    "clip-twice",
     "Verifies that the clip mask is updated correctly when it constructed by setting the clip path twice.",
     WIDTH, HEIGHT
 };

--- clip_twice-ref.png DELETED ---

--- clip_twice.c DELETED ---

Index: coverage.c
===================================================================
RCS file: /cvs/cairo/cairo/test/coverage.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- coverage.c	9 Mar 2005 21:58:20 -0000	1.3
+++ coverage.c	29 Mar 2005 08:02:19 -0000	1.4
@@ -24,7 +24,7 @@
  */
 
 #include <math.h>
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 #define WIDTH 64
 #define HEIGHT 64

Index: fill-rule.c
===================================================================
RCS file: /cvs/cairo/cairo/test/fill-rule.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- fill-rule.c	9 Mar 2005 21:58:20 -0000	1.3
+++ fill-rule.c	29 Mar 2005 08:02:19 -0000	1.4
@@ -61,13 +61,13 @@
  *
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 #define LITTLE_STAR_SIZE 20
 #define BIG_STAR_SIZE    80
 
 cairo_test_t test = {
-    "fill_rule",
+    "fill-rule",
     "Tests cairo_set_full_rule with some star shapes",
     BIG_STAR_SIZE * 2 + 3, BIG_STAR_SIZE + LITTLE_STAR_SIZE + 3
 };

--- fill_rule-ref.png DELETED ---

--- fill_rule.c DELETED ---

Index: get-and-set.c
===================================================================
RCS file: /cvs/cairo/cairo/test/get-and-set.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- get-and-set.c	9 Mar 2005 22:34:26 -0000	1.1
+++ get-and-set.c	29 Mar 2005 08:02:19 -0000	1.2
@@ -23,10 +23,10 @@
  * Author: Carl D. Worth <cworth at cworth.org>
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 cairo_test_t test = {
-    "get_and_set",
+    "get-and-set",
     "Tests calls to the most trivial cairo_get and cairo_set functions",
     0, 0
 };

--- get_and_set.c DELETED ---

Index: imagediff.c
===================================================================
RCS file: /cvs/cairo/cairo/test/imagediff.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- imagediff.c	25 Jan 2005 22:45:31 -0000	1.1
+++ imagediff.c	29 Mar 2005 08:02:19 -0000	1.2
@@ -26,9 +26,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "buffer_diff.h"
-#include "read_png.h"
-#include "write_png.h"
+#include "buffer-diff.h"
+#include "read-png.h"
+#include "write-png.h"
 #include "xmalloc.h"
 
 int 

Index: leaky-polygon.c
===================================================================
RCS file: /cvs/cairo/cairo/test/leaky-polygon.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- leaky-polygon.c	9 Mar 2005 21:58:20 -0000	1.2
+++ leaky-polygon.c	29 Mar 2005 08:02:19 -0000	1.3
@@ -51,13 +51,13 @@
  *
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 #define WIDTH 21
 #define HEIGHT 21
 
 cairo_test_t test = {
-    "leaky_polygon",
+    "leaky-polygon",
     "Exercises a corner case in the trapezoid rasterization in which pixels outside the trapezoids received a non-zero alpha",
     WIDTH, HEIGHT
 };

--- leaky_polygon-ref.png DELETED ---

--- leaky_polygon.c DELETED ---

Index: line-width.c
===================================================================
RCS file: /cvs/cairo/cairo/test/line-width.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- line-width.c	9 Mar 2005 21:58:20 -0000	1.2
+++ line-width.c	29 Mar 2005 08:02:19 -0000	1.3
@@ -23,7 +23,7 @@
  * Author: Carl D. Worth <cworth at cworth.org>
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 #define LINES 5
 #define LINE_LENGTH 10
@@ -31,7 +31,7 @@
 #define IMAGE_HEIGHT ((LINES+4)*LINES)/2 + 2
 
 cairo_test_t test = {
-    "line_width",
+    "line-width",
     "Tests cairo_set_line_width",
     IMAGE_WIDTH, IMAGE_HEIGHT
 };

--- line_width-ref.png DELETED ---

--- line_width.c DELETED ---

Index: linear-gradient.c
===================================================================
RCS file: /cvs/cairo/cairo/test/linear-gradient.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- linear-gradient.c	9 Mar 2005 21:58:20 -0000	1.2
+++ linear-gradient.c	29 Mar 2005 08:02:19 -0000	1.3
@@ -23,7 +23,7 @@
  * Author: Owen Taylor <otaylor at redhat.com>
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 #include "stdio.h"
 
 /* The test matrix is
@@ -55,7 +55,7 @@
 #define HEIGHT N_N_STOPS * N_ROTATE_ANGLES * UNIT_SIZE + (N_N_STOPS * N_ROTATE_ANGLES + 1) * PAD
 
 cairo_test_t test = {
-    "linear_gradient",
+    "linear-gradient",
     "Tests the drawing of linear gradients",
     WIDTH, HEIGHT
 };

--- linear_gradient-ref.png DELETED ---

--- linear_gradient.c DELETED ---

Index: move-to-show-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/test/move-to-show-surface.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- move-to-show-surface.c	9 Mar 2005 21:58:20 -0000	1.2
+++ move-to-show-surface.c	29 Mar 2005 08:02:19 -0000	1.3
@@ -35,10 +35,10 @@
  */
 
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 cairo_test_t test = {
-    "move_to_show_surface",
+    "move-to-show-surface",
     "Tests calls to cairo_show_surface after cairo_move_to",
     2, 2
 };

--- move_to_show_surface-ref.png DELETED ---

--- move_to_show_surface.c DELETED ---

Index: path-data.c
===================================================================
RCS file: /cvs/cairo/cairo/test/path-data.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- path-data.c	18 Mar 2005 22:28:53 -0000	1.2
+++ path-data.c	29 Mar 2005 08:02:19 -0000	1.3
@@ -24,10 +24,10 @@
  */
 
 #include <stdlib.h>
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 cairo_test_t test = {
-    "path_data",
+    "path-data",
     "Tests calls to path_data functions: cairo_copy_path_data, cairo_copy_path_data_flat, and cairo_append_path_data",
     45, 53
 };

--- path_data-ref.png DELETED ---

--- path_data.c DELETED ---

Index: pixman-rotate.c
===================================================================
RCS file: /cvs/cairo/cairo/test/pixman-rotate.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pixman-rotate.c	9 Mar 2005 21:58:20 -0000	1.3
+++ pixman-rotate.c	29 Mar 2005 08:02:19 -0000	1.4
@@ -7,7 +7,7 @@
 #include <cairo-png.h>
 #include <cairo-pdf.h>
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 #define WIDTH	32
 #define HEIGHT	WIDTH
@@ -16,7 +16,7 @@
 #define IMAGE_HEIGHT	IMAGE_WIDTH
 
 cairo_test_t test = {
-    "pixman_rotate",
+    "pixman-rotate",
     "Exposes pixman off-by-one error when rotating",
     IMAGE_WIDTH, IMAGE_HEIGHT
 };

--- pixman_rotate-ref.png DELETED ---

--- pixman_rotate.c DELETED ---

Index: read-png.c
===================================================================
RCS file: /cvs/cairo/cairo/test/read-png.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- read-png.c	27 Jan 2005 19:40:29 -0000	1.2
+++ read-png.c	29 Mar 2005 08:02:19 -0000	1.3
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 #include <png.h>
 
-#include "read_png.h"
+#include "read-png.h"
 #include "xmalloc.h"
 
 static void

--- read_png.c DELETED ---

--- read_png.h DELETED ---

Index: text-cache-crash.c
===================================================================
RCS file: /cvs/cairo/cairo/test/text-cache-crash.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- text-cache-crash.c	9 Mar 2005 21:58:20 -0000	1.5
+++ text-cache-crash.c	29 Mar 2005 08:02:19 -0000	1.6
@@ -60,10 +60,10 @@
  *   fixed the orginal test case.
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 cairo_test_t test = {
-    "text_cache_crash",
+    "text-cache-crash",
     "Test case for bug causing an assertion failure in _cairo_cache_lookup",
     0, 0,
 };

Index: text-rotate.c
===================================================================
RCS file: /cvs/cairo/cairo/test/text-rotate.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- text-rotate.c	9 Mar 2005 21:58:20 -0000	1.4
+++ text-rotate.c	29 Mar 2005 08:02:19 -0000	1.5
@@ -57,7 +57,7 @@
  *   builtin font to cairo for pixel-perfect tests with text.
  */
 
-#include "cairo_test.h"
+#include "cairo-test.h"
 
 #define WIDTH  150
 #define HEIGHT 150
@@ -65,7 +65,7 @@
 #define TEXT_SIZE 12
 
 cairo_test_t test = {
-    "text_rotate",
+    "text-rotate",
     "Tests show_text under various rotations",
     WIDTH, HEIGHT
 };

--- text_cache_crash.c DELETED ---

--- text_rotate.c DELETED ---

--- user_data.c DELETED ---

Index: write-png.c
===================================================================
RCS file: /cvs/cairo/cairo/test/write-png.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- write-png.c	22 Feb 2005 19:32:02 -0000	1.4
+++ write-png.c	29 Mar 2005 08:02:19 -0000	1.5
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 #include <png.h>
 
-#include "write_png.h"
+#include "write-png.h"
 
 static void
 unpremultiply_data (png_structp png, png_row_infop row_info, png_bytep data)

--- write_png.c DELETED ---

--- write_png.h DELETED ---




More information about the cairo-commit mailing list