[cairo-commit] cairo/test .cvsignore, 1.34, 1.35 Makefile.am, 1.60, 1.61 create-for-png-ref.png, 1.1, NONE create-for-png.c, 1.5, NONE create-from-png.c, 1.5, 1.6

Carl Worth commit at pdx.freedesktop.org
Thu Jul 14 11:17:14 PDT 2005


Committed by: cworth

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

Modified Files:
	.cvsignore Makefile.am create-from-png.c 
Removed Files:
	create-for-png-ref.png create-for-png.c 
Log Message:

        * test/.cvsignore:
        * test/Makefile.am:
        * test/create-for-png-ref.png:
        * test/create-for-png.c:
        * test/create-from-png.c: (draw): Rename create-for-png test to
        create-from-png to match the naming of the
        cairo_image_surface_create_from_png function.


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- .cvsignore	20 Jun 2005 16:59:23 -0000	1.34
+++ .cvsignore	14 Jul 2005 18:17:12 -0000	1.35
@@ -5,7 +5,7 @@
 clip-nesting
 clip-twice
 coverage
-create-for-png
+create-from-png
 fill-and-stroke
 fill-rule
 filter-nearest-offset

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- Makefile.am	25 Jun 2005 09:00:17 -0000	1.60
+++ Makefile.am	14 Jul 2005 18:17:12 -0000	1.61
@@ -2,7 +2,7 @@
 TESTS = 			\
 clip-nesting			\
 clip-twice			\
-create-for-png			\
+create-from-png			\
 fill-and-stroke			\
 fill-rule			\
 filter-nearest-offset		\
@@ -52,7 +52,7 @@
 EXTRA_DIST =				\
 clip-nesting-ref.png			\
 clip-twice-ref.png			\
-create-for-png-ref.png			\
+create-from-png-ref.png			\
 fill-and-stroke-ref.png			\
 fill-rule-ref.png			\
 filter-nearest-offset-ref.png		\
@@ -133,7 +133,7 @@
 # from autogen.sh. My, but this is painful...
 clip_nesting_LDADD = $(LDADDS)
 clip_twice_LDADD = $(LDADDS)
-create_for_png_LDADD = $(LDADDS)
+create_from_png_LDADD = $(LDADDS)
 fill_and_stroke_LDADD = $(LDADDS)
 fill_rule_LDADD = $(LDADDS)
 filter_nearest_offset_LDADD = $(LDADDS)

--- create-for-png-ref.png DELETED ---

--- create-for-png.c DELETED ---

Index: create-from-png.c
===================================================================
RCS file: /cvs/cairo/cairo/test/create-from-png.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- create-from-png.c	11 May 2005 03:25:38 -0000	1.5
+++ create-from-png.c	14 Jul 2005 18:17:12 -0000	1.6
@@ -31,7 +31,7 @@
 #define HEIGHT 2
 
 cairo_test_t test = {
-    "create-for-png",
+    "create-from-png",
     "Tests the creation of an image surface from a PNG file",
     WIDTH, HEIGHT
 };
@@ -44,7 +44,7 @@
     cairo_surface_t *surface;
 
     xasprintf (&filename, "%s/%s", srcdir ? srcdir : ".",
-	       "create-for-png-ref.png");
+	       "create-from-png-ref.png");
 
     surface = cairo_image_surface_create_from_png (filename);
     free (filename);




More information about the cairo-commit mailing list