cairo/test
2006-08-30 15:38:15 -07:00
..
.gitignore Update .gitignore due to recent rename. 2006-08-18 16:09:53 -07:00
.valgrind-suppressions Add a variation of an existing valgrind suppression 2006-08-08 12:48:20 -07:00
6x13.pcf New bitmap-font test with bundled 6x13 font. 2006-06-20 17:48:06 -07:00
a8-mask-ref.png Add a test case for CAIRO_FORMAT_A8 masks that fails with libpixman. 2005-08-05 15:07:45 +00:00
a8-mask.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
bitmap-font-pdf-argb32-ref.png bitmap-font: Add missing pdf-specific reference image 2006-08-18 16:35:27 -07:00
bitmap-font-ref.png Add rotation to bitmap-font to demonstrate failure of bug #7888 2006-08-17 17:50:40 -07:00
bitmap-font-rgb24-ref.png Add rotation to bitmap-font to demonstrate failure of bug #7888 2006-08-17 17:50:40 -07:00
bitmap-font.c bitmap-font: Add cairo_text_path;fill to demonstrate bug #7889 2006-08-17 17:50:41 -07:00
caps-joins-alpha-ref.png Augment tests to do better testing of paths/images with alpha. 2006-04-25 01:56:51 -07:00
caps-joins-alpha-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
caps-joins-alpha.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
caps-joins-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
caps-joins-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
caps-joins.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
caps-sub-paths-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
caps-sub-paths-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
caps-sub-paths.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
clip-all-ref.png Add Radek Doulík. 2005-08-31 09:00:01 +00:00
clip-all.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
clip-fill-rule-pixel-aligned-ref.png Add a couple of tests to improve our coverage (clipping under both fill rules). 2005-10-12 13:37:00 +00:00
clip-fill-rule-pixel-aligned-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
clip-fill-rule-pixel-aligned.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
clip-fill-rule-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
clip-fill-rule-ref.png Add a couple of tests to improve our coverage (clipping under both fill rules). 2005-10-12 13:37:00 +00:00
clip-fill-rule-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
clip-fill-rule.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
clip-nesting-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
clip-nesting-ref.png src/cairo-surface.c src/cairoint.h: Add _cairo_surface_begin/end to save and restore the clip state of a surface. Copy and store clip regions set on a surface so that we can save and restore them. 2005-05-02 13:39:30 +00:00
clip-nesting-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
clip-nesting.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
clip-operator-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
clip-operator-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
clip-operator.c [test] Fix warnings in tests on 64-bit systems 2006-08-13 04:47:11 -04:00
clip-twice-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
clip-twice-ref.png When clipping, update the clip surface to a new surface the size of the intersection of the old clip surface and the extents of the new clip path. 2005-06-03 16:40:15 +00:00
clip-twice-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
clip-twice.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
close-path-ps-argb32-ref.png close-path: New test case to demonstrate corner case discovered by Tim Rowley 2006-08-18 06:32:11 -07:00
close-path-ref.png close-path: New test case to demonstrate corner case discovered by Tim Rowley 2006-08-18 06:32:11 -07:00
close-path.c close-path: New test case to demonstrate corner case discovered by Tim Rowley 2006-08-18 06:32:11 -07:00
composite-integer-translate-over-pdf-argb32-ref.png Add PDF-specific reference image for composite-integer-translate-over 2006-06-30 16:10:53 +02:00
composite-integer-translate-over-ref.png Use XCopyArea when possible, for optimization and bug workaround. 2005-07-15 13:45:19 +00:00
composite-integer-translate-over-repeat-ref.png Use XCopyArea when possible, for optimization and bug workaround. 2005-07-15 13:45:19 +00:00
composite-integer-translate-over-repeat.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
composite-integer-translate-over-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
composite-integer-translate-over.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
composite-integer-translate-source-ref.png Use XCopyArea when possible, for optimization and bug workaround. 2005-07-15 13:45:19 +00:00
composite-integer-translate-source.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
create-for-stream.c Eliminate most compiler warnings from the test suite 2006-08-08 01:16:49 -07:00
create-from-png-ref.png Change type of data parameter from char* to unsigned char*. 2005-04-04 09:47:12 +00:00
create-from-png-stream-ref.png Fix typo that caused cairo_image_surface_create_from_png_stream to segfault. Closes bug #3863 (thanks to Steve Chaplin). 2005-07-27 09:23:29 +00:00
create-from-png-stream.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
create-from-png.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
dash-caps-joins-ps-argb32-ref.png Merge branch 'jrmuizel-stroking-fixes' into cairo 2006-08-18 07:59:20 -07:00
dash-caps-joins-ref.png Test closed dashed paths where the first and last sub-path do not join. 2006-07-15 14:39:26 -04:00
dash-caps-joins.c Test closed dashed paths where the first and last sub-path do not join. 2006-07-15 14:39:26 -04:00
dash-no-dash-ref.png Add dash-no-dash test case to demonstrate PDF failure to turn off dashing. 2006-07-13 10:14:26 -07:00
dash-no-dash.c Add dash-no-dash test case to demonstrate PDF failure to turn off dashing. 2006-07-13 10:14:26 -07:00
dash-offset-negative-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
dash-offset-negative-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
dash-offset-negative.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
dash-scale-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
dash-scale-ref.png New test: dash-scale 2006-05-23 12:13:20 -07:00
dash-scale.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
dash-zero-length-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
dash-zero-length-ref.png Add several more stress tests to test/dash-zero-length 2006-06-29 06:12:48 +02:00
dash-zero-length-rgb24-ref.png Add several more stress tests to test/dash-zero-length 2006-06-29 06:12:48 +02:00
dash-zero-length.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
degenerate-path-ps-argb32-ref.png Merge branch 'jrmuizel-stroking-fixes' into cairo 2006-08-18 07:59:20 -07:00
degenerate-path-ref.png Modify degenerate-path test case to test dashed degenerate paths. 2006-07-15 14:39:32 -04:00
degenerate-path-rgb24-ref.png Modify degenerate-path test case to test dashed degenerate paths. 2006-07-15 14:39:32 -04:00
degenerate-path.c Merge branch 'jrmuizel-stroking-fixes' into cairo 2006-08-18 07:59:20 -07:00
device-offset-positive-ref.png Reference images for new test... 2006-06-19 04:12:39 -04:00
device-offset-positive-rgb24-ref.png Reference images for new test... 2006-06-19 04:12:39 -04:00
device-offset-positive.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
device-offset-ref.png Note the changed semantics of cairo_surface_set_device_offset 2006-05-24 17:24:52 -07:00
device-offset-rgb24-ref.png Note the changed semantics of cairo_surface_set_device_offset 2006-05-24 17:24:52 -07:00
device-offset.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
extend-reflect.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
fallback-resolution.c Eliminate most compiler warnings from the test suite 2006-08-08 01:16:49 -07:00
fill-and-stroke-alpha-add-ref.png Add a couple more group-using tests: fill-and-stroke-alpha[-add] 2006-05-04 21:35:23 -07:00
fill-and-stroke-alpha-add.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
fill-and-stroke-alpha-ref.png Add a couple more group-using tests: fill-and-stroke-alpha[-add] 2006-05-04 21:35:23 -07:00
fill-and-stroke-alpha-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
fill-and-stroke-alpha.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
fill-and-stroke-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
fill-and-stroke-ref.png Mark a couple of items that are now complete. 2005-04-18 05:25:57 +00:00
fill-and-stroke-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
fill-and-stroke.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
fill-rule-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
fill-rule-ref.png Update reference images for new rasterization in libpixman 0.1.3. 2005-01-21 11:27:56 +00:00
fill-rule-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
fill-rule.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
filter-nearest-offset-ref.png Originally 2005-04-20 Carl Worth <cworth@cworth.org> 2005-05-03 08:33:32 +00:00
filter-nearest-offset.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
font-face-get-type.c Remove initial, final, and duplicate blank lines. 2006-06-06 15:50:33 -07:00
font-matrix-translation-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
font-matrix-translation-ref.png Add font-matrix-translation test case. 2006-07-14 14:40:47 -07:00
font-matrix-translation-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
font-matrix-translation.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
ft-font-create-for-ft-face.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
ft-text-antialias-none-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
ft-text-antialias-none-ref.png Turn hinting off to get consistent results for ft-text-antialias-none test case. 2006-06-19 15:55:12 +08:00
ft-text-antialias-none.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
ft-text-vertical-layout-type1-ref.png [test] New torture tests ft-text-vertical-layout-truetype/type1 2006-08-16 14:27:40 -04:00
ft-text-vertical-layout-type1-svg-ref.png [test] New torture tests ft-text-vertical-layout-truetype/type1 2006-08-16 14:27:40 -04:00
ft-text-vertical-layout-type1.c [test] New torture tests ft-text-vertical-layout-truetype/type1 2006-08-16 14:27:40 -04:00
ft-text-vertical-layout-type3-ref.png Rename ft-text-vertical-layout-truetype to ft-text-vertical-layout-type3 2006-08-18 13:08:59 -07:00
ft-text-vertical-layout-type3-svg-ref.png Rename ft-text-vertical-layout-truetype to ft-text-vertical-layout-type3 2006-08-18 13:08:59 -07:00
ft-text-vertical-layout-type3.c Rename ft-text-vertical-layout-truetype to ft-text-vertical-layout-type3 2006-08-18 13:08:59 -07:00
get-and-set.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
get-group-target-ref.png Add new test get-group-target (currently failing with paginated). 2006-06-07 10:37:29 -07:00
get-group-target.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
glyph-cache-pressure-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
glyph-cache-pressure-ref.png Add test/glyph-cache-pressure to demonstrate xlib failure (bug 6955) 2006-06-22 22:05:20 -07:00
glyph-cache-pressure-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
glyph-cache-pressure.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
gradient-alpha-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
gradient-alpha-rgb24-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
gradient-alpha.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
imagediff.c Remove all remaining trailing whitespace. 2006-06-06 15:41:31 -07:00
leaky-dash-ref.png Add missing file leaky-dash-ref.png 2006-04-29 14:28:21 -07:00
leaky-dash.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
leaky-polygon-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
leaky-polygon-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
leaky-polygon.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
line-width-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
line-width-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
line-width-scale-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
line-width-scale-ref.png Codify 1.0 behavior of cairo_set_line_width as a feature, not a bug. 2006-05-23 12:13:19 -07:00
line-width-scale.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
line-width.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
linear-gradient-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
linear-gradient-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
linear-gradient.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
long-lines-ref.png New test for long line bug. 2006-08-14 20:19:15 +02:00
long-lines.c Add long-lines to the XFAIL list, (we're not fixing it before 1.2.4) 2006-08-17 16:14:21 -07:00
make-html.pl test: Add link to test log file in HTML output 2006-08-30 15:38:15 -07:00
Makefile.am Split libcairotest files out from test/ and into boilerplate/ 2006-08-30 15:34:27 -07:00
mask-beos-bitmap-argb32-ref.png [test] Rename beos_bitmap target to beos-bitmap. Same for directfb-bitmap. 2006-08-10 13:53:24 -04:00
mask-beos-bitmap-rgb24-ref.png [test] Rename beos_bitmap target to beos-bitmap. Same for directfb-bitmap. 2006-08-10 13:53:24 -04:00
mask-beos-rgb24-ref.png Updating BeOS reference images, the tests use a black background now. 2006-01-21 11:54:17 +00:00
mask-ctm-ref.png Add two new tests: mask-ctm mask-surface-ctm demonstrating that masks are not currently being modified by the CTM. 2005-07-28 15:55:00 +00:00
mask-ctm-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
mask-ctm-svg-argb32-ref.png SVG: Add reference images for tests failing on 1 digit error on color. 2006-05-01 23:23:02 +02:00
mask-ctm-svg-rgb24-ref.png SVG: Add reference images for tests failing on 1 digit error on color. 2006-05-01 23:23:02 +02:00
mask-ctm.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
mask-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
mask-rgb24-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
mask-surface-ctm-ref.png Add two new tests: mask-ctm mask-surface-ctm demonstrating that masks are not currently being modified by the CTM. 2005-07-28 15:55:00 +00:00
mask-surface-ctm-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
mask-surface-ctm-svg-argb32-ref.png SVG: Add reference images for tests failing on 1 digit error on color. 2006-05-01 23:23:02 +02:00
mask-surface-ctm-svg-rgb24-ref.png SVG: Add reference images for tests failing on 1 digit error on color. 2006-05-01 23:23:02 +02:00
mask-surface-ctm.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
mask-svg-argb32-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
mask-svg-rgb24-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
mask.c Eliminate most compiler warnings from the test suite 2006-08-08 01:16:49 -07:00
move-to-show-surface-ref.png Add initial regression test suite. 2004-10-26 14:38:43 +00:00
move-to-show-surface.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
multi-page.c Eliminate most compiler warnings from the test suite 2006-08-08 01:16:49 -07:00
new-sub-path-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
new-sub-path-ref.png cairo_new_sub_path: Making cairo_arc easier to use and more. 2006-02-23 22:01:07 -08:00
new-sub-path-rgb24-ref.png cairo_new_sub_path: Making cairo_arc easier to use and more. 2006-02-23 22:01:07 -08:00
new-sub-path.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
nil-surface-ref.png Fix for bug #4088: 2005-08-18 23:10:37 +00:00
nil-surface-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
nil-surface.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
operator-clear-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
operator-clear-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
operator-clear.c [test] Fix warnings in tests on 64-bit systems 2006-08-13 04:47:11 -04:00
operator-source-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
operator-source-rgb24-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
operator-source.c [test] Fix warnings in tests on 64-bit systems 2006-08-13 04:47:11 -04:00
paint-ref.png Add test to demonstrate bug in cairo_paint when under a non-identity transformation. 2005-04-26 18:56:37 +00:00
paint-source-alpha-pdf-argb32-ref.png Add PDF-specific reference image for paint-source-alpha 2006-06-30 16:10:54 +02:00
paint-source-alpha-ref.png Augment tests to do better testing of paths/images with alpha. 2006-04-25 01:56:51 -07:00
paint-source-alpha-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
paint-source-alpha.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
paint-with-alpha-ref.png Augment tests to do better testing of paths/images with alpha. 2006-04-25 01:56:51 -07:00
paint-with-alpha-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
paint-with-alpha.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
paint.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
path-data-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
path-data-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
path-data.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
pattern-get-type.c Correct copyright date 2006-02-28 01:31:15 -08:00
pdf-features.c Eliminate most compiler warnings from the test suite 2006-08-08 01:16:49 -07:00
pdf2png.c Bug 5306: test/pdf2png: Add missing include of stdio.h 2006-06-14 04:37:27 -07:00
pdf2svg.c Add pdf2svg utility for manual testing (not used in test suite) 2006-05-03 13:18:40 -07:00
pixman-rotate-ref.png New test case which exposes off-by-one rotation error in pixman. 2005-02-07 09:38:43 +00:00
pixman-rotate-rgb24-ref.png Patch to fix pixman samping location bug (#2488). 2006-06-13 20:10:59 -04:00
pixman-rotate.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
png-flatten.c Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
ps-features.c Eliminate most compiler warnings from the test suite 2006-08-08 01:16:49 -07:00
pthread-show-text.c bug #6890: fix the signature for main() in pthread-show-text 2006-05-10 20:51:53 -07:00
push-group-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
push-group-rgb24-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
push-group-svg-argb32-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
push-group-svg-rgb24-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
push-group.c Fix some memory leaks in a few of the tests. 2006-08-08 12:48:56 -07:00
README More test suite infrastructure improvements: 2006-07-11 22:19:39 -04:00
rectangle-rounding-error-ref.png From Bertram Felgenhauer <int-e@gmx.de>: 2005-08-19 16:37:56 +00:00
rectangle-rounding-error.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
rel-path-ref.png Use correct arguments to compute absolute positions. 2005-05-02 12:36:20 +00:00
rel-path-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
rel-path.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
romedalen.png New test case, covering various combinations of pattern types, drawing operations and clipping. Currently fails, for some combinations, coverage-ref.png is just a placeholder. 2005-01-26 13:41:55 +00:00
scale-source-surface-paint-pdf-argb32-ref.png Update PDF-specific reference image for scale-source-surface-paint 2006-06-30 16:10:54 +02:00
scale-source-surface-paint-ref.png Originally 2005-04-20 Carl Worth <cworth@cworth.org> 2005-05-03 08:33:32 +00:00
scale-source-surface-paint-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
scale-source-surface-paint-svg-argb32-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
scale-source-surface-paint-svg-rgb24-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
scale-source-surface-paint.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
select-font-face-ps-argb32-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
select-font-face-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
select-font-face-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
select-font-face.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
select-font-no-show-text.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
self-copy-ref.png src/cairo-surface.c src/cairoint.h: Add _cairo_surface_begin/end to save and restore the clip state of a surface. Copy and store clip regions set on a surface so that we can save and restore them. 2005-05-02 13:39:30 +00:00
self-copy.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
self-intersecting-ref.png Add self-intersecting test which demonstrates the long-standing bug with stroking self-intersecting paths. 2005-06-01 11:03:50 +00:00
self-intersecting-rgb24-ref.png Add rgb24 surface tests, support per-target reference images and support PS surface testing 2005-09-29 14:31:08 +00:00
self-intersecting.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
set-source-beos-bitmap-rgb24-ref.png [test] Rename beos_bitmap target to beos-bitmap. Same for directfb-bitmap. 2006-08-10 13:53:24 -04:00
set-source-beos-rgb24-ref.png Updating BeOS reference images, the tests use a black background now. 2006-01-21 11:54:17 +00:00
set-source-ref.png Add set-source test in preparation for upcoming cairo_set_source patch. 2005-04-14 09:13:48 +00:00
set-source-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
set-source-svg-argb32-ref.png SVG: Add reference images for tests failing on 1 digit error on color. 2006-05-01 23:23:02 +02:00
set-source-svg-rgb24-ref.png SVG: Add reference images for tests failing on 1 digit error on color. 2006-05-01 23:23:02 +02:00
set-source.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
show-glyphs-many-ref.png test/show-glyphs-many: New test case to demonstrate bug #5528 2006-03-02 10:32:38 -08:00
show-glyphs-many.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
show-text-current-point-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
show-text-current-point-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
show-text-current-point-svg-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
show-text-current-point.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
source-clip-ref.png Harmonize implementations of source-clip and source-clip-scale to make similarities more evident. 2006-08-17 13:35:15 -07:00
source-clip-scale-ref.png Harmonize implementations of source-clip and source-clip-scale to make similarities more evident. 2006-08-17 13:35:15 -07:00
source-clip-scale-svg-ref.png Add SVG-specific reference image for source-clip-scale test 2006-08-17 13:35:16 -07:00
source-clip-scale.c Harmonize implementations of source-clip and source-clip-scale to make similarities more evident. 2006-08-17 13:35:15 -07:00
source-clip.c Harmonize implementations of source-clip and source-clip-scale to make similarities more evident. 2006-08-17 13:35:15 -07:00
source-surface-scale-paint-ref.png src/cairo-gstate.c src/cairo-gstate-private.h: Store the inverse CTM at the time of cairo_gstate_set_source() to "lock" the user space matrix. 2005-08-01 14:39:01 +00:00
source-surface-scale-paint-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
source-surface-scale-paint.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
surface-finish-twice.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
surface-pattern-ref.png Add a test of a repeating surface pattern. 2005-04-18 16:26:14 +00:00
surface-pattern.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
svg-clip.c More test suite infrastructure improvements: 2006-07-11 22:19:39 -04:00
svg-surface.c Eliminate most compiler warnings from the test suite 2006-08-08 01:16:49 -07:00
svg2png.c SVG: Convert SVG file with a resolution of 72 dpi. 2006-05-02 23:37:23 +02:00
testsvg Use the current point to offset just the destination, not the source and destination. With this fix, cairo_show_surface should work with the current point at places other than the origin. 2005-04-02 06:00:32 +00:00
text-antialias-gray-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
text-antialias-gray.c Fix some memory leaks in a few of the tests. 2006-08-08 12:48:56 -07:00
text-antialias-none-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
text-antialias-none.c Fix some memory leaks in a few of the tests. 2006-08-08 12:48:56 -07:00
text-antialias-subpixel-ref.png Split out scaled font code to cairo-scaled-font.c 2005-08-31 15:08:02 +00:00
text-antialias-subpixel.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
text-cache-crash.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
text-pattern-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
text-pattern-rgb24-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
text-pattern-svg-argb32-ref.png Update reference images, mostly PDF and SVG 2006-08-07 23:47:31 -07:00
text-pattern-svg-rgb24-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
text-pattern.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
text-rotate-ref.png [test] text-rotate: Update ref images to make image pass again 2006-08-18 12:04:16 -04:00
text-rotate-rgb24-ref.png [test] text-rotate: Update ref images to make image pass again 2006-08-18 12:04:16 -04:00
text-rotate.c Set font options in the test context and make tests not do that 2006-07-31 15:17:15 -04:00
transforms-ps-argb32-ref.png New PS ref images, matching the recent png16m->pngalpha driver change 2006-08-01 18:21:27 -04:00
transforms-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
transforms.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
translate-show-surface-ref.png Add new test demonstrating bug in the sequence: cairo_translate; cairo_show_surface. 2005-04-11 14:04:56 +00:00
translate-show-surface.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
trap-clip-beos-bitmap-rgb24-ref.png [test] Rename beos_bitmap target to beos-bitmap. Same for directfb-bitmap. 2006-08-10 13:53:24 -04:00
trap-clip-beos-rgb24-ref.png Updating BeOS reference images, the tests use a black background now. 2006-01-21 11:54:17 +00:00
trap-clip-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
trap-clip-rgb24-ref.png Update refefence images due to pattern source shift. 2006-06-14 06:40:36 -07:00
trap-clip-svg-argb32-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
trap-clip-svg-rgb24-ref.png SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
trap-clip.c [test] Fix warnings in tests on 64-bit systems 2006-08-13 04:47:11 -04:00
truetype-tables.c [test] Fix warnings in tests on 64-bit systems 2006-08-13 04:47:11 -04:00
unantialiased-shapes-ref.png Fix for bug #4165: 2005-08-21 11:41:44 +00:00
unantialiased-shapes.c Add prototype for draw in each test file and remove it from the header. 2006-07-13 12:58:24 -04:00
unbounded-operator-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
unbounded-operator-rgb24-ref.png Big change to the test infrastructure and supporting internals. The goal now is to test both a COLOR_ALPHA and a COLOR content for each surface backend, (since the semantics are different and we probably need to support both in each backend. 2006-01-17 16:59:08 +00:00
unbounded-operator.c [test] Fix warnings in tests on 64-bit systems 2006-08-13 04:47:11 -04:00
user-data.c Remove extraneous whitespace from "blank" lines. 2006-06-06 15:25:49 -07:00
xlib-surface.c More test suite infrastructure improvements: 2006-07-11 22:19:39 -04:00
zero-alpha-ref.png Add new zero-alpha test to demonstrate (X server?) bug found by Paul Giblock 2006-06-13 16:13:23 -07:00
zero-alpha.c Fix some memory leaks in a few of the tests. 2006-08-08 12:48:56 -07:00

Regression test suite for cairo.

Using this test should be as simple as running:

	make check

assuming that the cairo distribution in the directory above has been
configured and built. The test suite here goes through some effort to
run against the locally compiled library rather than any installed
version, but those efforts may fall short depending the level of your
libtool madness.

The test suite needs to be run before any code is committed and before
any release. Here are the rules governing the use of the suite:


Tailoring tests running
-----------------------

There are some mechanisms to limit the tests run during "make check".
These come very handy when doing development, but should not be used
to circumvent the "pass" requirements listed below.

To limit the backends that the tests are run against, use the
TARGETS make variable, that can also be passed to make.
It should contain a (space-, comma-, etc-separate) list of backends to test.
To limit the tests run, use the TESTS make variable, which should be a
space-separated list of tests to run.  For example:

  make check TARGETS=image,ps TESTS="zero-alpha"


Before committing
-----------------

All tests should return a result of PASS or XFAIL. The XFAIL results
indicate known bugs. The final message should be one of the following:

	All XX tests behaved as expected (YY expected failures)
	All XX tests passed

If any tests have a status of FAIL, then the new code has caused a
regression error which should be fixed before the code is committed.


When a new bug is found
-----------------------
A new test case should be added by imitating the style of an existing
test. This means adding the following files:

	new-bug.c
	new-bug-ref.png

Where new-bug.c is a minimal program to demonstrate the bug, following
the style of existing tests. The new-bug-ref.png image should contain
the desired result of new-bug.c if the bug were fixed.

Makefile.am should be edited, adding new-bug.c to both the TESTS and
XFAIL_TESTS lists and new-bug-ref.png to EXTRA_DIST, add new-bug to
.gitignore, and last but not least, don't forget to "git add" the new
files.


When a new feature is added
---------------------------
It's important for the regression suite to keep pace with development
of the library. So a new test should be added for each new feature.
The work involved is similar the work described above for new bugs.
The only distinction is that the test is expected to pass so it
should not be added to the XFAIL_TESTS list.


When a bug is fixed
-------------------
The fix should be verified by running the test suite which should
result in an "unexpected pass" for the test of interest. Rejoice as
appropriate, then remove the relevant file name from the XFAIL_TESTS
variable in Makefile.am.


Before releasing
----------------
All tests should return a result of PASS for all supported (those enabled by
default) backends,  meaning all known bugs are fixed, resulting in the happy
message:

	All XX tests passed