cairo/test
2006-04-14 22:53:58 +02:00
..
.gitignore test/show-glyphs-many: New test case to demonstrate bug #5528 2006-03-02 10:32:38 -08:00
.valgrind-suppressions Add suppression for uninitialized data in fbBltOne. 2005-08-23 19:34:20 +00: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-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
a8-mask.c Give reason for failure. 2005-08-06 15:10:36 +00:00
buffer-diff.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
buffer-diff.h 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
cairo-test-beos.cpp Update BeOS test code per the cairo_format_t -> cairo_content_t changes. 2006-01-21 09:46:13 +00:00
cairo-test-beos.h Update BeOS test code per the cairo_format_t -> cairo_content_t changes. 2006-01-21 09:46:13 +00:00
cairo-test-directfb.c New directfb backend for cairo includes test suite and example to run the test is in the comment at the top of cairo-test-directfb.c enable with 2005-12-29 07:17:01 +00:00
cairo-test-directfb.h New directfb backend for cairo includes test suite and example to run the test is in the comment at the top of cairo-test-directfb.c enable with 2005-12-29 07:17:01 +00:00
cairo-test.c SVG: Add documentation for public API. Fix test filenames and add testing of CAIRO_CONTENT_COLOR 2006-04-14 22:53:58 +02:00
cairo-test.h Add printf format attribute to cairo_test_log. 2006-01-09 17:18:12 +00:00
caps-joins-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
caps-joins.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
caps-sub-paths-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
caps-sub-paths.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
clip-all-ref.png Add Radek Doulík. 2005-08-31 09:00:01 +00:00
clip-all-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
clip-all.c Avoid attempting to create a size-0 Pixmap, (to prevent the associated X error). This actually showed up when the clip region is empty. Thanks to Radek Doulík for the bug report. 2005-09-19 17:24:52 +00: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 a couple of tests to improve our coverage (clipping under both fill rules). 2005-10-12 13:37:00 +00:00
clip-fill-rule-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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 a couple of tests to improve our coverage (clipping under both fill rules). 2005-10-12 13:37:00 +00:00
clip-nesting-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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 Remove cairo_set_target_surface and all other backend-specific cairo_set_target functions. Require a cairo_surface_t* to call cairo_create. 2005-05-06 13:23:41 +00: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 Note that PS is now passing all tests except for self-copy. 2005-11-08 17:43:13 +00:00
clip-twice-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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 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
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-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
composite-integer-translate-over-repeat.c Add a function to test whether a cairo_operator_t is bounded (does nothing for 0 src/mask) 2005-08-08 13:46:11 +00:00
composite-integer-translate-over-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
composite-integer-translate-over.c Note some progress. 2005-07-18 08:04:16 +00: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-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
composite-integer-translate-source.c Note some progress. 2005-07-18 08:04:16 +00: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-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
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-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
create-from-png-stream.c Add call to XSynchronize, (the expected clip-all failure isn't occuring without it for some reason). 2005-08-31 19:11:22 +00:00
create-from-png.c Fix so that one of three different error status values will be returned: 2005-07-28 10:41:08 +00:00
dash-caps-joins-ps-argb32-ref.png Add new ps-specific reference image for dash-caps-joins test. 2006-04-10 11:00:26 -07:00
dash-caps-joins-ref.png Update dash-caps-joins test cases to show independent dashing of sub-paths. 2006-04-10 10:54:24 -07:00
dash-caps-joins-rgb24-ref.png Update dash-caps-joins test cases to show independent dashing of sub-paths. 2006-04-10 10:54:24 -07:00
dash-caps-joins.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
dash-offset-negative-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
dash-offset-negative.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
dash-zero-length-ps-argb32-ref.png Add new PS-specific image for dash-zero-length test. 2006-04-14 10:08:31 -07:00
dash-zero-length-ref.png Add test case for dashed lines. 2006-04-13 23:38:02 -04:00
dash-zero-length-rgb24-ref.png Add test case for dashed lines. 2006-04-13 23:38:02 -04:00
dash-zero-length.c Add test case for dashed lines. 2006-04-13 23:38:02 -04:00
extend-reflect.c Add extend-reflect to the 1.2.0 roadmap. Mark dashed splines and clip-all as fixed. 2005-10-12 14:23:11 +00:00
fill-and-stroke-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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 Push fill_path fallbacks down from gstate into the surface where all the other fallbacks are. 2005-10-13 16:55:14 +00:00
fill-rule-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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 and delete: 2005-04-14 14:42:26 +00: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-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
filter-nearest-offset.c Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data). 2005-10-09 13:33:21 +00:00
font-face-get-type.c Add some basic testing of cairo_font_face_get_type and 2006-02-28 02:30:27 -08:00
ft-font-create-for-ft-face.c Add some basic testing of cairo_font_face_get_type and 2006-02-28 02:30:27 -08:00
get-and-set.c Globally rename "operator" to "op", to allow writing backends in C++ 2005-12-16 03:02:35 +00:00
gradient-alpha-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
gradient-alpha-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
gradient-alpha.c Eliminate the following deprecated functions from cairo's interface: 2005-05-06 13:32:53 +00:00
imagediff.c Fix to return non-zero status on error. 2005-04-07 11:18:40 +00:00
leaky-polygon-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
leaky-polygon.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
line-width-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
line-width.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
linear-gradient-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
linear-gradient-rgb24-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
linear-gradient.c Add new cairo_paint function. 2005-04-19 16:29:04 +00:00
make-html.pl Clean up output some; show only images that fail, otherwise just show pass/fail squares. 2006-01-03 07:29:57 +00:00
Makefile.am Add test case for dashed lines. 2006-04-13 23:38:02 -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-beos_bitmap-argb32-ref.png Updating BeOS reference images, the tests use a black background now. 2006-01-21 11:54:17 +00:00
mask-beos_bitmap-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.c Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data). 2005-10-09 13:33:21 +00:00
mask-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
mask-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-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.c Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data). 2005-10-09 13:33:21 +00:00
mask.c Note some progress. 2005-07-18 08:04:16 +00:00
move-to-show-surface-ref.png Add initial regression test suite. 2004-10-26 14:38:43 +00:00
move-to-show-surface-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
move-to-show-surface.c Add includes to get sized-integer types such as uint32_t. 2005-09-01 02:14:31 +00:00
multi-page.c Rip the cairo_content_t argument out of ps/pdf_surface_create as per discussion on cairo mailing list. Instead these surface will behave as if CONTENT_COLOR_ALPHA had been passed (that is, compositing operators will behave as if destination alpha were available). 2006-01-19 17:48:22 +00: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 call to XSynchronize, (the expected clip-all failure isn't occuring without it for some reason). 2005-08-31 19:11:22 +00: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 Implement new equations for CLEAR and SOURCE CLEAR: (mask IN clip) ? 0 : dest SOURCE: (mask IN clip) ? src : dest That behave more like what people expect. 2005-08-18 15:50:36 +00:00
operator-source-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
operator-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
operator-source.c Implement new equations for CLEAR and SOURCE CLEAR: (mask IN clip) ? 0 : dest SOURCE: (mask IN clip) ? src : dest That behave more like what people expect. 2005-08-18 15:50:36 +00: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-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
paint-with-alpha-ref.png Add new test for bug in cairo_paint_with_alpha not transforming the source. 2005-05-12 11:02:35 +00:00
paint-with-alpha-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
paint-with-alpha.c Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data). 2005-10-09 13:33:21 +00:00
paint.c Add test to demonstrate bug in cairo_paint when under a non-identity transformation. 2005-04-26 18:56:37 +00:00
path-data-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
path-data.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
pattern-get-type.c Correct copyright date 2006-02-28 01:31:15 -08:00
pdf2png.c Add checks for poppler and friends which are needed by pdf2png. Set CAIRO_CAN_TEST_PDF_SURFACE as both a #define and an automake conditional. 2005-12-07 16:06:11 +00: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 Add rgb24 surface tests, support per-target reference images and support PS surface testing 2005-09-29 14:31:08 +00:00
pixman-rotate.c No need to include cairo-pdf.h. 2005-08-19 14:42:57 +00: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
pthread-show-text.c Adjust parameters to stress things a bit more, (better exposing another locking bug). 2005-09-13 12:37:45 +00:00
read-png.c Patch from John Ehresman <jpe@wingide.com> to aid win32 compilation: 2005-08-05 07:48:18 +00:00
read-png.h Add initial regression test suite. 2004-10-26 14:38:43 +00:00
README Add paragraph on new features. 2004-10-26 16:31:31 +00:00
rectangle-rounding-error-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07:00
rectangle-rounding-error-ref.png From Bertram Felgenhauer <int-e@gmx.de>: 2005-08-19 16:37:56 +00:00
rectangle-rounding-error-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
rectangle-rounding-error.c From Bertram Felgenhauer <int-e@gmx.de>: 2005-08-19 16:37:56 +00: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 Use correct arguments to compute absolute positions. 2005-05-02 12:36:20 +00: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-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.c Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data). 2005-10-09 13:33:21 +00:00
select-font-no-show-text.c Update to track new CAIRO_OPERATOR names. 2005-05-06 21:19:49 +00: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-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-copy.c Replace nesting-only surface clipping with gstate contained serial-number tracked clipping sets that are loaded into the surface on demand just before each rendering operation. This permits multiple cairo_t contexts to reference a surface without regard to ordering of operations among the contexts. 2005-05-26 11:35:44 +00: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 self-intersecting test which demonstrates the long-standing bug with stroking self-intersecting paths. 2005-06-01 11:03:50 +00: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-beos_bitmap-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.c Add includes to get sized-integer types such as uint32_t. 2005-09-01 02:14:31 +00: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-rgb24-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 test/show-glyphs-many: New test case to demonstrate bug #5528 2006-03-02 10:32:38 -08:00
show-text-current-point-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
show-text-current-point.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
source-clip-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
source-clip-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
source-clip.c Give enum tags an underscore prefix to match the style of the struct tags. Add new cairo_content_t and change cairo_surface_create_similar to accept a cairo_content_t rather than a cairo_format_t. 2005-07-08 10:12:28 +00: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 Make surface image data static to work around a bug in cairo-meta-surface.c (not copying source surface pattern data). 2005-10-09 13:33:21 +00:00
surface-finish-twice.c Remove unused variable. 2005-08-05 10:43:07 +00:00
surface-pattern-ref.png Add a test of a repeating surface pattern. 2005-04-18 16:26:14 +00:00
surface-pattern-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
surface-pattern.c Remove cairo_set_target_surface and all other backend-specific cairo_set_target functions. Require a cairo_surface_t* to call cairo_create. 2005-05-06 13:23:41 +00:00
svg-clip.c add optionnal disabled by default SVG backend. 2005-12-08 13:09:26 +00:00
svg-surface.c add optionnal disabled by default SVG backend. 2005-12-08 13:09:26 +00:00
svg2png.c add missing header. Fix #5544. 2006-01-19 12:44:00 +00: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-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
text-antialias-gray.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
text-antialias-none-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -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-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
text-antialias-none.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
text-antialias-subpixel-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -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-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
text-antialias-subpixel.c Split out scaled font code to cairo-scaled-font.c 2005-08-31 15:08:02 +00:00
text-cache-crash.c Fix for bug #3951: 2005-08-03 10:32:50 +00:00
text-pattern-ref.png 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
text-pattern-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
text-pattern.c Fix memory leak of pattern. 2005-08-23 14:37:09 +00:00
text-rotate-ref.png Add more comments on the improved state of this bug. Commit a reference image generated with cairo_text_path; cairo_fill. (We may not require getting this exact result, but I think it is worth examining the differences closely.) 2005-08-23 10:11:16 +00:00
text-rotate-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
text-rotate.c Add more comments on the improved state of this bug. Commit a reference image generated with cairo_text_path; cairo_fill. (We may not require getting this exact result, but I think it is worth examining the differences closely.) 2005-08-23 10:11:16 +00:00
transforms-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07: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-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
transforms.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
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-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
translate-show-surface.c Add includes to get sized-integer types such as uint32_t. 2005-09-01 02:14:31 +00: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-beos_bitmap-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 2005-10-10 David Reveman <davidr@novell.com> 2006-01-04 17:59:03 +00:00
trap-clip-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
trap-clip.c Note some progress. 2005-07-18 08:04:16 +00:00
unantialiased-shapes-ps-argb32-ref.png Tweak initial erase so it doesn't trigger fallbacks for every PS test case. 2006-04-06 09:43:39 -07:00
unantialiased-shapes-ref.png Fix for bug #4165: 2005-08-21 11:41:44 +00:00
unantialiased-shapes-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
unantialiased-shapes.c Add a new API for disabling antialiasing of shapes drawn by cairo. This is a hint and is not supported by all backends. 2005-08-08 18:35:22 +00: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 Implement new equations for CLEAR and SOURCE CLEAR: (mask IN clip) ? 0 : dest SOURCE: (mask IN clip) ? src : dest That behave more like what people expect. 2005-08-18 15:50:36 +00:00
user-data.c src/cairo.h src/cairo-font.c src/cairoint.h doc/public/cairo-sections.txt: Add cairo_font_face_set/get_user_data(). 2005-04-08 13:14:17 +00:00
write-png.c Change type of data parameter from char* to unsigned char*. 2005-04-04 09:47:12 +00:00
write-png.h Change type of data parameter from char* to unsigned char*. 2005-04-04 09:47:12 +00:00
xlib-surface.c use the newly added buffer_diff_noalpha for comparing buffers of CAIRO_FORMAT_RGB24. 2005-08-05 11:23:51 +00:00
xmalloc.c Removing mucking around with stderr and add a cairo_test_log function instead. 2005-05-10 20:25:38 +00:00
xmalloc.h Add support for testing multiple backends, courtesy of cairo_surface_write_to_png. Currently, only image and xlib backends are fullk hooked-up, but other backends should be quite easy to add for anyone skilled in the appropriate art. 2005-04-27 13:33:25 +00: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.

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:

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.

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 meaning all known bugs are
fixed, resulting in the happy message:

	All XX tests passed