gtk/tests/reftests
Benjamin Otte 609723b3c1 tests: Add a test for loading images from file
Strictly, this belongs in gdk-pixbuf, but GtkImage should have this
working, too.

https://bugzilla.gnome.org/show_bug.cgi?id=694148
2013-02-19 14:33:39 +01:00
..
align-expand.sh reftests: Add a shell script to create tests 2011-05-13 02:46:15 +02:00
alignment-props.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
alignment-props.ref.ui Add an alignment property test 2011-05-05 22:21:59 -04:00
alignment-props.ui Add an alignment property test 2011-05-05 22:21:59 -04:00
background-area.css css: Implement padding as numbers 2012-02-02 03:14:02 +01:00
background-area.ref.ui Update background-area reftest for background-clip 2011-11-25 16:14:20 +01:00
background-area.ui Update background-area reftest for background-clip 2011-11-25 16:14:20 +01:00
background-color-transparent.css reftests: Add a reftest checking background-color: transparent 2011-09-26 22:34:20 +02:00
background-color-transparent.ref.ui reftests: Add a reftest checking background-color: transparent 2011-09-26 22:34:20 +02:00
background-color-transparent.ui reftests: Add a reftest checking background-color: transparent 2011-09-26 22:34:20 +02:00
background-image-multiple.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
background-image-multiple.ref.ui reftests: add a reftest for multiple background layers 2012-05-15 13:24:40 -04:00
background-image-multiple.ui reftests: add a reftest for multiple background layers 2012-05-15 13:24:40 -04:00
background-origin.css reftests: Fix background-origin reftest for all themes 2012-02-06 20:43:05 +01:00
background-origin.ref.ui Reftest background-origin with various background-clip values 2011-11-25 16:14:20 +01:00
background-origin.ui Reftest background-origin with various background-clip values 2011-11-25 16:14:20 +01:00
background-position-repeat-bg.png reftests: add a reftest for repeating/positioned background patterns 2012-05-30 12:16:11 -04:00
background-position-repeat.css reftests: add a reftest for repeating/positioned background patterns 2012-05-30 12:16:11 -04:00
background-position-repeat.ref.ui reftests: add a reftest for repeating/positioned background patterns 2012-05-30 12:16:11 -04:00
background-position-repeat.ui reftests: add a reftest for repeating/positioned background patterns 2012-05-30 12:16:11 -04:00
background-position-simple.css reftests: Add a simple reftest for background-position 2012-05-30 12:16:11 -04:00
background-position-simple.ref.ui reftests: Add a simple reftest for background-position 2012-05-30 12:16:11 -04:00
background-position-simple.ui reftests: Add a simple reftest for background-position 2012-05-30 12:16:11 -04:00
background-position.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
background-position.ref.ui css: Add reftest for background-position 2012-03-17 05:13:22 +01:00
background-position.ui css: Add reftest for background-position 2012-03-17 05:13:22 +01:00
background-positioning-area-empty.ref.ui reftests: Add reftest for empty area fix 2012-01-11 15:48:54 +01:00
background-positioning-area-empty.ui reftests: Add reftest for empty area fix 2012-01-11 15:48:54 +01:00
background-repeat.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
background-repeat.ref.ui reftests: Mark windows as popups 2011-11-24 18:29:45 +01:00
background-repeat.ui reftests: Mark windows as popups 2011-11-24 18:29:45 +01:00
background-size-keywords.css reftests: Fix reftests for recent changes 2012-04-17 08:59:21 +02:00
background-size-keywords.ref.ui reftests: Add another background-size test 2012-02-02 03:14:02 +01:00
background-size-keywords.ui reftests: Add another background-size test 2012-02-02 03:14:02 +01:00
background-size-zero.css reftests: Add a reftest for recent commit 2012-10-31 11:09:10 +01:00
background-size-zero.ref.ui reftests: Add a reftest for recent commit 2012-10-31 11:09:10 +01:00
background-size-zero.ui reftests: Add a reftest for recent commit 2012-10-31 11:09:10 +01:00
background-size.css reftests: fix background-size reftest 2012-04-30 13:13:46 -04:00
background-size.ref.ui reftests: Add reftest for background-size 2012-02-02 03:14:01 +01:00
background-size.ui reftests: Add reftest for background-size 2012-02-02 03:14:01 +01:00
background-window-transparent.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
background-window-transparent.ref.ui reftests: Add a test for misrendering of transparent windows 2012-02-10 11:46:19 +01:00
background-window-transparent.ui reftests: Add a test for misrendering of transparent windows 2012-02-10 11:46:19 +01:00
border-color-default.css reftests: Add 'px' to all properties 2012-02-02 03:14:02 +01:00
border-color-default.ref.ui reftests: Check that the default border color is the foreground color 2011-06-13 15:01:52 +02:00
border-color-default.ui reftests: Check that the default border color is the foreground color 2011-06-13 15:01:52 +02:00
border-half-pixel.css reftests: Add reftest for fractional border sizes 2012-10-31 11:09:12 +01:00
border-half-pixel.ref.ui reftests: Add reftest for fractional border sizes 2012-10-31 11:09:12 +01:00
border-half-pixel.ui reftests: Add reftest for fractional border sizes 2012-10-31 11:09:12 +01:00
border-image-3-balls-green.png reftests: Add border-image-repeat 2011-06-09 05:51:54 +02:00
border-image-3-balls-yellow.png reftests: Add border-image-repeat 2011-06-09 05:51:54 +02:00
border-image-ball-green.png reftests: Add border-image-repeat 2011-06-09 05:51:54 +02:00
border-image-ball-red.png reftests: Add border-image-repeat 2011-06-09 05:51:54 +02:00
border-image-ball-yellow.png reftests: Add border-image-repeat 2011-06-09 05:51:54 +02:00
border-image-balls.png reftests: Add border-image-repeat 2011-06-09 05:51:54 +02:00
border-image-excess-size.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
border-image-excess-size.ref.ui reftests: ADd test for overlapping border-image slices 2011-06-09 05:51:55 +02:00
border-image-excess-size.ui reftests: ADd test for overlapping border-image slices 2011-06-09 05:51:55 +02:00
border-image-gradient.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
border-image-gradient.ref.ui reftests: add reftests for border-image with gradient and url sources 2011-06-09 05:51:54 +02:00
border-image-gradient.ui reftests: add reftests for border-image with gradient and url sources 2011-06-09 05:51:54 +02:00
border-image-repeat.css reftests: Put border-image-repeat test back 2012-02-02 03:14:01 +01:00
border-image-repeat.ref.ui reftests: Remove unneeded event boxes 2012-05-02 02:00:11 +02:00
border-image-repeat.sh reftests: Put border-image-repeat test back 2012-02-02 03:14:01 +01:00
border-image-repeat.ui reftests: Put border-image-repeat test back 2012-02-02 03:14:01 +01:00
border-image-url.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
border-image-url.ref.ui reftests: add reftests for border-image with gradient and url sources 2011-06-09 05:51:54 +02:00
border-image-url.ui reftests: add reftests for border-image with gradient and url sources 2011-06-09 05:51:54 +02:00
border-radius-clamp.css reftests: Add 'px' to all properties 2012-02-02 03:14:02 +01:00
border-radius-clamp.ref.ui reftests: Add test for border radius clamping 2011-07-21 02:43:54 +02:00
border-radius-clamp.ui reftests: Add test for border radius clamping 2011-07-21 02:43:54 +02:00
border-style-none.css reftests: Add 'px' to all properties 2012-02-02 03:14:02 +01:00
border-style-none.ref.ui Add reftest to test border-style: none 2011-11-25 16:14:10 +01:00
border-style-none.ui Add reftest to test border-style: none 2011-11-25 16:14:10 +01:00
border-style.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
border-style.ref.ui Add reftets for border-style property 2012-01-09 18:37:59 +01:00
border-style.ui Add reftets for border-style property 2012-01-09 18:37:59 +01:00
box-expand.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
box-expand.ref.ui reftests: Add test for box expand handling 2011-05-05 17:33:04 +02:00
box-expand.ui reftests: Add test for box expand handling 2011-05-05 17:33:04 +02:00
box-packing.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
box-packing.ref.ui More box<>grid comparison tests 2011-05-05 17:13:28 -04:00
box-packing.ui More box<>grid comparison tests 2011-05-05 17:13:28 -04:00
box-pseudo-classes.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
box-pseudo-classes.ref.ui reftests: Test new pseudo-class support in GtkBox 2011-06-02 02:03:50 +02:00
box-pseudo-classes.ui reftests: Test new pseudo-class support in GtkBox 2011-06-02 02:03:50 +02:00
box-shadow-spec-inset.css reftests: Fix reftests for recent changes 2012-04-17 08:59:21 +02:00
box-shadow-spec-inset.ref.ui reftests: Add a test for inset box-shadow 2011-06-11 09:29:43 +02:00
box-shadow-spec-inset.ui reftests: Add a test for inset box-shadow 2011-06-11 09:29:43 +02:00
css-match-class.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-match-class.ref.ui reftests: Add a test for matching by class 2011-05-18 22:17:56 +02:00
css-match-class.ui reftests: Add a test for matching by class 2011-05-18 22:17:56 +02:00
css-match-descendant-later.css reftests: Add a test for descendant CSS selectors match 2011-05-18 22:17:56 +02:00
css-match-descendant-later.ref.ui reftests: Add a test for descendant CSS selectors match 2011-05-18 22:17:56 +02:00
css-match-descendant-later.ui reftests: Add a test for descendant CSS selectors match 2011-05-18 22:17:56 +02:00
css-match-exact.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-match-exact.ref.ui reftests: Add a test ensuring selectors don't match children 2011-05-18 22:17:57 +02:00
css-match-exact.ui reftests: Add a test ensuring selectors don't match children 2011-05-18 22:17:57 +02:00
css-match-import-import.css reftests: Add a test for specificity of @import 2012-03-15 02:55:38 +01:00
css-match-import.css reftests: Add a test for specificity of @import 2012-03-15 02:55:38 +01:00
css-match-import.ref.ui reftests: Add a test for specificity of @import 2012-03-15 02:55:38 +01:00
css-match-import.ui reftests: Add a test for specificity of @import 2012-03-15 02:55:38 +01:00
css-match-inherit-different-state.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-match-inherit-different-state.ref.ui reftests: Add a test for a parent in a different state 2012-01-09 18:37:51 +01:00
css-match-inherit-different-state.ui reftests: Add a test for a parent in a different state 2012-01-09 18:37:51 +01:00
css-match-inherit.css reftests: Ensure no explicit colors are set on labels 2012-01-09 18:37:57 +01:00
css-match-inherit.ref.ui reftests: Check that inherited properties work 2011-05-18 22:17:59 +02:00
css-match-inherit.ui reftests: Check that inherited properties work 2011-05-18 22:17:59 +02:00
css-match-name.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-match-name.ref.ui reftests: Add a test for matching by name 2011-05-18 22:17:56 +02:00
css-match-name.ui reftests: Add a test for matching by name 2011-05-18 22:17:56 +02:00
css-match-region-matches-star.css Grr, complete the test removal removals 2012-03-07 03:30:12 +01:00
css-match-region-matches-star.ref.ui Revert "Remove broken css-match-region-matches-star reftest" 2012-03-07 03:21:37 +01:00
css-match-region-matches-star.ui Revert "Remove broken css-match-region-matches-star reftest" 2012-03-07 03:21:37 +01:00
css-match-regions.css Work around a notebook tab rendering bug 2012-03-20 11:19:06 -04:00
css-match-regions.ref.ui reftests: Fix css-match-regions tests 2012-03-07 04:50:33 +01:00
css-match-regions.ui reftests: Fix css-match-regions tests 2012-03-07 04:50:33 +01:00
css-match-siblings.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-match-siblings.ref.ui reftests: Add a rendering test for sibling matching 2012-03-02 02:17:10 +01:00
css-match-siblings.ui reftests: Add a rendering test for sibling matching 2012-03-02 02:17:10 +01:00
css-match-style-property-order.css css: Implement padding as numbers 2012-02-02 03:14:02 +01:00
css-match-style-property-order.ref.ui reftests: Check style property order 2011-05-18 22:17:58 +02:00
css-match-style-property-order.ui reftests: Check style property order 2011-05-18 22:17:58 +02:00
css-match-subtype.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-match-subtype.ref.ui reftests: Add a test for matching by subtype 2011-05-18 22:17:56 +02:00
css-match-subtype.ui reftests: Add a test for matching by subtype 2011-05-18 22:17:56 +02:00
css-match-type.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-match-type.ref.ui reftests: Add test to check that matching by type works 2011-05-18 22:17:56 +02:00
css-match-type.ui reftests: Add test to check that matching by type works 2011-05-18 22:17:56 +02:00
css-multi-state.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
css-multi-state.ref.ui reftests: Add test for pseudo-class matching 2012-01-09 18:37:50 +01:00
css-multi-state.ui reftests: Add test for pseudo-class matching 2012-01-09 18:37:50 +01:00
entry-progress-coloring.css Revert "Remove the broken test for now" 2012-02-21 12:25:06 +01:00
entry-progress-coloring.ref.ui Revert "Remove the broken test for now" 2012-02-21 12:25:06 +01:00
entry-progress-coloring.ui Revert "Remove the broken test for now" 2012-02-21 12:25:06 +01:00
font-sizes-names.css reftests: Add a test for the new font size names 2012-12-01 16:27:45 +01:00
font-sizes-names.ref.ui reftests: Add a test for the new font size names 2012-12-01 16:27:45 +01:00
font-sizes-names.ui reftests: Add a test for the new font size names 2012-12-01 16:27:45 +01:00
green-20x20.png reftests: Add test to check that matching by type works 2011-05-18 22:17:56 +02:00
grid-empty-with-spacing.ref.ui reftests: Add test for empty grid with spacing 2011-12-29 10:03:59 +01:00
grid-empty-with-spacing.ui reftests: Add test for empty grid with spacing 2011-12-29 10:03:59 +01:00
grid-expand.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
grid-expand.ref.ui reftests: Add a test for grid expand flags 2011-05-05 17:33:04 +02:00
grid-expand.ui reftests: Add a test for grid expand flags 2011-05-05 17:33:04 +02:00
grid-homogeneous.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
grid-homogeneous.ref.ui reftests: Add grid-homogeneous test 2011-05-03 15:40:49 +02:00
grid-homogeneous.ui reftests: Add grid-homogeneous test 2011-05-03 15:40:49 +02:00
grid-spacing1.ref.ui Add some reftests comparing aspects of grid and box spacing 2011-05-11 13:48:00 -04:00
grid-spacing1.ui grid: Swap wrong spacing properties 2011-09-05 18:56:23 +02:00
grid-spacing2.ref.ui Add some reftests comparing aspects of grid and box spacing 2011-05-11 13:48:00 -04:00
grid-spacing2.ui grid: Swap wrong spacing properties 2011-09-05 18:56:23 +02:00
grid-spacing3.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
grid-spacing3.ref.ui Another grid spacing reftest 2011-05-11 19:52:33 -04:00
grid-spacing3.ui Another grid spacing reftest 2011-05-11 19:52:33 -04:00
grid-wfh.ref.ui GtkGrid: Fix a size allocation problem 2011-06-07 11:05:50 -04:00
grid-wfh.ui GtkGrid: Fix a size allocation problem 2011-06-07 11:05:50 -04:00
gtk-reftest.c Change FSF Address 2012-02-27 17:06:11 +00:00
iconview-empty.css reftests: Add a reftest for the empty iconview 2012-06-15 02:48:24 +02:00
iconview-empty.ref.ui reftests: Add a reftest for the empty iconview 2012-06-15 02:48:24 +02:00
iconview-empty.ui reftests: Add a reftest for the empty iconview 2012-06-15 02:48:24 +02:00
image-load-from-file.css tests: Add a test for loading images from file 2013-02-19 14:33:39 +01:00
image-load-from-file.ref.ui tests: Add a test for loading images from file 2013-02-19 14:33:39 +01:00
image-load-from-file.ui tests: Add a test for loading images from file 2013-02-19 14:33:39 +01:00
info-bar-message-types.css Fix infobar reftest for label background changes 2012-04-30 21:53:17 +02:00
info-bar-message-types.ref.ui Set infobar css classes permanently 2012-02-24 08:16:55 +01:00
info-bar-message-types.ui Set infobar css classes permanently 2012-02-24 08:16:55 +01:00
inherit-and-initial.css reftests: Add a test comparing inherit and initial 2012-01-09 18:37:51 +01:00
inherit-and-initial.ref.ui reftests: Add a test comparing inherit and initial 2012-01-09 18:37:51 +01:00
inherit-and-initial.ui reftests: Add a test comparing inherit and initial 2012-01-09 18:37:51 +01:00
label-attribute-preference.css reftests: Add a test for latest commit 2012-01-06 05:23:43 +01:00
label-attribute-preference.ref.ui reftests: Add a test for latest commit 2012-01-06 05:23:43 +01:00
label-attribute-preference.ui reftests: Add a test for latest commit 2012-01-06 05:23:43 +01:00
label-ellipsize-small.ref.ui reftests: Add test for recent fix 2012-11-08 23:34:30 +01:00
label-ellipsize-small.ui reftests: Add test for recent fix 2012-11-08 23:34:30 +01:00
label-ellipsize-with-big.ref.ui reftests: Add a reftest for latest fix 2012-11-05 19:34:23 +01:00
label-ellipsize-with-big.ui reftests: Add a reftest for latest fix 2012-11-05 19:34:23 +01:00
label-shadows.css reftests: Fix reftests for recent changes 2012-04-17 08:59:21 +02:00
label-shadows.ref.ui reftests: Add label-shadows test 2011-05-22 05:56:12 +02:00
label-shadows.ui reftests: Add label-shadows test 2011-05-22 05:56:12 +02:00
label-sizing.css reftests: Make label-sizing tests use better CSS 2012-11-04 15:28:42 +01:00
label-sizing.ref.ui label: Redo get_preferred_width/height() 2012-11-04 15:28:43 +01:00
label-sizing.ui reftests: Improve reftest performance 2012-11-04 15:28:42 +01:00
label-small-ellipsized.ref.ui tests: Add a test for small ellipsized labels 2011-05-03 15:40:49 +02:00
label-small-ellipsized.ui tests: Add a test for small ellipsized labels 2011-05-03 15:40:49 +02:00
label-width-chars-dont-shrink.ref.ui reftests: Add a reftest for width-chars not shrinking the allocation 2013-01-20 20:25:58 +01:00
label-width-chars-dont-shrink.ui reftests: Add a reftest for width-chars not shrinking the allocation 2013-01-20 20:25:58 +01:00
label-wrap-justify.ref.ui reftests: Add testcase for label justify fix 2011-05-05 17:33:44 +02:00
label-wrap-justify.ui reftests: Add testcase for label justify fix 2011-05-05 17:33:44 +02:00
linear-gradient.css reftests: Fix linear-gradient reftest (again) 2012-11-20 12:21:03 +01:00
linear-gradient.ref.ui reftests: fix the linear-gradient reftest 2012-10-16 13:12:00 -04:00
linear-gradient.ui reftests: fix the linear-gradient reftest 2012-10-16 13:12:00 -04:00
Makefile.am tests: Add a test for loading images from file 2013-02-19 14:33:39 +01:00
messagedialog-secondarytext.ref.ui reftests: Add test for recent fix 2011-07-19 11:58:22 +02:00
messagedialog-secondarytext.ui reftests: Add test for recent fix 2011-07-19 11:58:22 +02:00
misc-alignment.css reftests: fix misc-alignment reftest 2012-03-05 18:37:00 -05:00
misc-alignment.ref.ui Revert "Remove broken misc-alignment reftest" 2012-03-05 18:36:58 -05:00
misc-alignment.ui Revert "Remove broken misc-alignment reftest" 2012-03-05 18:36:58 -05:00
named-colors.css reftests: Update named colors reftest 2012-11-14 01:55:28 +01:00
named-colors.ref.ui reftests: Add a test for all the color names 2012-11-10 14:25:17 +01:00
named-colors.ui reftests: Add a test for all the color names 2012-11-10 14:25:17 +01:00
no-colors.css reftests: Add 'px' to all properties 2012-02-02 03:14:02 +01:00
no-colors.ref.ui reftests: Add a reftest setting all colors to "none" 2011-06-02 02:03:51 +02:00
no-colors.ui reftests: Add a reftest setting all colors to "none" 2011-06-02 02:03:51 +02:00
nonresizable-size.ref.ui reftests: Test that nonresizable windows get the right size 2011-05-03 15:40:49 +02:00
nonresizable-size.ui reftests: Test that nonresizable windows get the right size 2011-05-03 15:40:49 +02:00
notebook-childproperties.css reftests: Fix a reftest 2012-11-30 20:10:23 +01:00
notebook-childproperties.ref.ui reftests: Add a test for the recent notebook fix 2011-08-27 02:47:52 +02:00
notebook-childproperties.ui reftests: Add a test for the recent notebook fix 2011-08-27 02:47:52 +02:00
nth-child.css reftests: Turns out, green changed color 2012-11-14 01:55:28 +01:00
nth-child.ref.ui reftests: Add a reftest for nth-child 2012-04-17 08:59:08 +02:00
nth-child.ui reftests: Add a reftest for nth-child 2012-04-17 08:59:08 +02:00
opacity.css css: Add opacity reftest 2013-02-07 11:12:21 +01:00
opacity.ref.ui css: Add opacity reftest 2013-02-07 11:12:21 +01:00
opacity.ui css: Add opacity reftest 2013-02-07 11:12:21 +01:00
paned-undersized.css reftests: Add test for undersized children of GtkPaned 2011-05-10 01:39:14 +02:00
paned-undersized.ref.ui reftests: Add test for undersized children of GtkPaned 2011-05-10 01:39:14 +02:00
paned-undersized.ui reftests: Add test for undersized children of GtkPaned 2011-05-10 01:39:14 +02:00
quit-mnemonic.css reftests: fix quit-mnemonic reftest 2012-03-05 18:36:26 -05:00
quit-mnemonic.ref.ui Revert "Remove broken quit-mnemonic reftest" 2012-03-05 18:36:13 -05:00
quit-mnemonic.ui Revert "Remove broken quit-mnemonic reftest" 2012-03-05 18:36:13 -05:00
README Convert the commit message into a README 2011-05-03 19:37:00 -04:00
reference-background-origin.png Fix up background-origin now that we correctly handle the background color 2011-11-25 16:14:20 +01:00
reset-to-defaults.css reftests: Make reset css include new CSS properties 2012-05-02 02:00:10 +02:00
rotated-layout.ref.ui reftests: Add a test for the label fix 2011-05-12 23:40:26 +02:00
rotated-layout.ui reftests: Add a test for the label fix 2011-05-12 23:40:26 +02:00
shorthand-entry-border.css reftests: Add 'px' to all properties 2012-02-02 03:14:02 +01:00
shorthand-entry-border.ref.ui reftests: Add a reftest to check shorthands do work 2011-05-22 05:56:12 +02:00
shorthand-entry-border.ui reftests: Add a reftest to check shorthands do work 2011-05-22 05:56:12 +02:00
simple.ref.ui
simple.ui
sizegroups-basics.css reftests: Add a test for all the recent sizegroup hackery 2012-11-04 15:28:43 +01:00
sizegroups-basics.ref.ui reftests: Mark windows as popup 2012-11-04 17:58:06 +01:00
sizegroups-basics.ui reftests: Mark windows as popup 2012-11-04 17:58:06 +01:00
sizegroups-evolution-identity-page.ref.ui reftests: Mark windows as popup 2012-11-04 17:58:06 +01:00
sizegroups-evolution-identity-page.ui reftests: Mark windows as popup 2012-11-04 17:58:06 +01:00
sizegroups-get-preferred-null.ref.ui reftests: Add test for recent fix 2012-11-04 17:58:18 +01:00
sizegroups-get-preferred-null.ui reftests: Add test for recent fix 2012-11-04 17:58:18 +01:00
style-properties-nth-child.css reftests: Add test for box brokenness 2011-07-02 01:57:27 +02:00
style-properties-nth-child.ref.ui reftests: Add test for box brokenness 2011-07-02 01:57:27 +02:00
style-properties-nth-child.ui reftests: Add test for box brokenness 2011-07-02 01:57:27 +02:00
style-properties-only-child.css reftests: add a reftest for the CSS :only-child selector 2011-10-04 11:48:20 -04:00
style-properties-only-child.ref.ui reftests: add a reftest for the CSS :only-child selector 2011-10-04 11:48:20 -04:00
style-properties-only-child.ui reftests: add a reftest for the CSS :only-child selector 2011-10-04 11:48:20 -04:00
toplevel-vs-popup.ref.ui reftests: Actually add toplevel vs popup testcase 2011-05-09 01:10:13 +02:00
toplevel-vs-popup.ui reftests: Actually add toplevel vs popup testcase 2011-05-09 01:10:13 +02:00
treeview-fixed-height.css reftests: Add reftest for broken fixed height mode 2012-11-26 00:09:35 +01:00
treeview-fixed-height.ref.ui reftests: Add reftest for broken fixed height mode 2012-11-26 00:09:35 +01:00
treeview-fixed-height.ui reftests: Add reftest for broken fixed height mode 2012-11-26 00:09:35 +01:00
treeview-headers-hidden.ref.ui reftests: Add reftest for latest warning fix 2013-01-17 00:45:33 +01:00
treeview-headers-hidden.ui reftests: Add reftest for latest warning fix 2013-01-17 00:45:33 +01:00
unresolvable.css reftests: Fix reftests for recent changes 2012-04-17 08:59:21 +02:00
unresolvable.ref.ui reftests: Add reftest for unresolvable properties 2011-06-11 10:41:17 +02:00
unresolvable.ui reftests: Add reftest for unresolvable properties 2011-06-11 10:41:17 +02:00
window-border-width.ref.ui reftests: Add a test for border-width problems 2012-11-11 20:26:28 +01:00
window-border-width.ui reftests: Add a test for border-width problems 2012-11-11 20:26:28 +01:00

gtk-reftest is a new test runner supposed to do a lot of generic tests.
Run it like this:

./gtk-reftest [OPTIONS] TESTFILE [TESTFILES...]

where FILE is a GtkBuilder ui file to run.

For a general test named "test", you want to have the following files:
1) test.ui
2) test.ref.ui
3) test.css (optional)
The test will then check that test.ui and test.ref.ui are rendered
identically with the provided css.

In detail, for every provided TESTFILE the test runner will:
1) Add the css to the default screen
2) Load the test.ui file and the test.ref.ui file
3) Grab the first GtkWindow subclass widget
4) gtk_widget_show() it and take a snapshot image of its contents into
   a cairo surface.
5) Compare the two images to be bitwise identical. If they are not, a
   diff image will be created hilighting the differences.
6) Save the images as png files to the output directory named:
   - test.out.png (rendering of test.ui)
   - test.ref.png (rendering of test.ref.ui)
   - test.diff.png (optional, differences from step 5)
7) Fail the test if the two images are not bitwise identical

Credit for the idea of reftests goes to Mozilla and in particular David
Baron. For a larger introduction of why reftests are useful, see
http://weblogs.mozillazine.org/roc/archives/2008/12/reftests.html