gtk2/testsuite/reftests
Benjamin Otte bb3174c913 reftests: Fix random failures of reftest
The reftest is testing "transparent" works as expected by drawing a
purple background once with purple and once with transparent and
expecting the same result. This works fine unless anti-aliasing happens
at rounded corners. The overdraw of the 2nd background changes the
antialiased pixels.

Fix this by explicitly setting the border radius to 0.

Also reindent the file to make it more readable.
2014-06-09 19:18:48 +02:00
..
721800-0px-dotted-border.css reftests: Add reftest for 0px border fix 2014-01-14 03:38:04 +01:00
721800-0px-dotted-border.ref.ui reftests: Add reftest for 0px border fix 2014-01-14 03:38:04 +01:00
721800-0px-dotted-border.ui reftests: Add reftest for 0px border fix 2014-01-14 03:38:04 +01:00
actionbar.css Make the action bar reftest reliable 2014-01-14 14:05:37 -05:00
actionbar.ref.ui Adjust action ref test to new realities 2014-02-16 23:03:38 -05:00
actionbar.ui Adjust action ref test to new realities 2014-02-16 23:03:38 -05:00
align-expand.sh build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
alignment-props.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
alignment-props.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
alignment-props.ui Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
background-area.css reftests: Fix background-area test 2014-05-22 17:38:50 +02:00
background-area.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-area.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-color-transparent.css reftests: Fix random failures of reftest 2014-06-09 19:18:48 +02:00
background-color-transparent.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-color-transparent.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-image-multiple.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-image-multiple.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-image-multiple.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-origin.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-origin.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-origin.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position-repeat-bg.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position-repeat.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position-repeat.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position-repeat.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position-simple.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position-simple.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position-simple.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-position.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-positioning-area-empty.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-positioning-area-empty.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-repeat.css reftests: Fix some more easy GtkButton shadow cases 2014-05-22 11:46:07 -04:00
background-repeat.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-repeat.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size-keywords.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size-keywords.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size-keywords.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size-zero.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size-zero.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size-zero.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-size.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-window-transparent.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-window-transparent.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
background-window-transparent.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
bad-color-names.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
bad-color-names.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
bad-color-names.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-color-default.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-color-default.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-color-default.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-half-pixel.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-half-pixel.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-half-pixel.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-3-balls-green-squished.png reftests: Fix rendering issues with border-image reftest 2013-11-19 02:29:48 +01:00
border-image-3-balls-green.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-3-balls-yellow-squished.png reftests: Fix rendering issues with border-image reftest 2013-11-19 02:29:48 +01:00
border-image-3-balls-yellow.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-ball-green.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-ball-red.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-ball-yellow.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-balls.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-excess-size.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-excess-size.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-excess-size.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-gradient.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-gradient.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-gradient.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-url-scaled.css reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2 2013-07-05 15:21:55 +02:00
border-image-url-scaled.ref.ui reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2 2013-07-05 15:21:55 +02:00
border-image-url-scaled.ui reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2 2013-07-05 15:21:55 +02:00
border-image-url.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-url.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-image-url.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-radius-clamp.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-radius-clamp.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-radius-clamp.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-rgb.png reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2 2013-07-05 15:21:55 +02:00
border-rgb@2.png reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2 2013-07-05 15:21:55 +02:00
border-style-none.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-style-none.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-style-none.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-style.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-style.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
border-style.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-child-expand.ref.ui reftests: Add a reftest for the expand change in GtkBox 2013-06-30 03:39:09 +02:00
box-child-expand.ui reftests: Add a reftest for the expand change in GtkBox 2013-06-30 03:39:09 +02:00
box-packing.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-packing.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-packing.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-pseudo-classes.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-pseudo-classes.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-pseudo-classes.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-shadow-spec-inset.css reftests: Fix some more easy GtkButton shadow cases 2014-05-22 11:46:07 -04:00
box-shadow-spec-inset.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
box-shadow-spec-inset.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
button-wrapping.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
button-wrapping.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
cellrenderer-pixbuf-stock-rtl.css reftests: Add a reftest for the cell renderer fix 2013-09-05 18:48:47 +02:00
cellrenderer-pixbuf-stock-rtl.ref.ui reftests: Add a reftest for the cell renderer fix 2013-09-05 18:48:47 +02:00
cellrenderer-pixbuf-stock-rtl.ui reftests: Add a reftest for the cell renderer fix 2013-09-05 18:48:47 +02:00
css-currentcolor-alpha.css reftests: Add test for just fixed Polari crasher 2013-09-06 03:04:44 +02:00
css-currentcolor-alpha.ref.ui reftests: Add test for just fixed Polari crasher 2013-09-06 03:04:44 +02:00
css-currentcolor-alpha.ui reftests: Add test for just fixed Polari crasher 2013-09-06 03:04:44 +02:00
css-match-class.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-class.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-class.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-descendant-later.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-descendant-later.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-descendant-later.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-exact.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-exact.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-exact.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-import-import.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-import.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-import.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-import.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-inherit-different-state.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-inherit-different-state.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-inherit-different-state.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-inherit.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-inherit.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-inherit.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-name.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-name.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-name.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-region-matches-star.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-region-matches-star.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-region-matches-star.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-regions.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-regions.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-regions.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-siblings.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-siblings.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-siblings.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-subtype.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-subtype.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-subtype.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-type.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-type.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-match-type.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
css-multi-state.css reftests: Fix for state propagation changes 2013-06-13 15:31:35 +02:00
css-multi-state.ref.ui reftests: Fix for state propagation changes 2013-06-13 15:31:35 +02:00
css-multi-state.ui reftests: Fix for state propagation changes 2013-06-13 15:31:35 +02:00
entry-progress-coloring.css reftests: never set interior-focus 2014-05-09 11:02:42 -07:00
entry-progress-coloring.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
entry-progress-coloring.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
expand-expander.c Add an expander reftest 2014-06-02 22:36:01 -04:00
expander.ref.ui Add an expander reftest 2014-06-02 22:36:01 -04:00
expander.ui Add an expander reftest 2014-06-02 22:36:01 -04:00
fixed-widget-stacking.ref.ui reftests: Add a test for a widget stacking regression 2014-02-28 03:08:11 +01:00
fixed-widget-stacking.ui reftests: Add a test for a widget stacking regression 2014-02-28 03:08:11 +01:00
flipping-icons.ref.ui Add a reftest for flipping icons 2014-06-02 21:41:32 -04:00
flipping-icons.ui Add a reftest for flipping icons 2014-06-02 21:41:32 -04:00
font-sizes-names.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
font-sizes-names.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
font-sizes-names.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
green-20x20.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-empty-with-spacing.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-empty-with-spacing.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-expand.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-expand.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-expand.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-homogeneous.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-homogeneous.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-homogeneous.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-spacing1.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-spacing1.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-spacing2.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-spacing2.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-spacing3.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-spacing3.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-spacing3.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-wfh.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
grid-wfh.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
gtk-image-effect-inherit.css reftests: I can't count in CSS 2013-09-07 00:23:38 +02:00
gtk-image-effect-inherit.ref.ui reftests: Check that -gtk-image-effect is inherited 2013-09-07 00:21:48 +02:00
gtk-image-effect-inherit.ui reftests: Check that -gtk-image-effect is inherited 2013-09-07 00:21:48 +02:00
gtk-reftest.c Add a way to delay snapshots in reftests 2014-06-02 22:35:59 -04:00
gtk-reftest.h Add a way to delay snapshots in reftests 2014-06-02 22:35:59 -04:00
icon-shadow-no-transform.css reftests: Add a test for recent commits 2014-05-14 04:28:35 +02:00
icon-shadow-no-transform.ref.ui reftests: Add a test for recent commits 2014-05-14 04:28:35 +02:00
icon-shadow-no-transform.ui reftests: Add a test for recent commits 2014-05-14 04:28:35 +02:00
icon-style-basics.css reftests: Add a reftest for -gtk-icon-style 2014-05-14 04:28:34 +02:00
icon-style-basics.ref.ui reftests: Add a reftest for -gtk-icon-style 2014-05-14 04:28:34 +02:00
icon-style-basics.ui reftests: Add a reftest for -gtk-icon-style 2014-05-14 04:28:34 +02:00
icon-vfuncs.css reftests: Fix icon-vfuncs reftest 2014-05-22 22:35:08 +02:00
icon-vfuncs.ref.ui reftests: Fix icon-vfuncs reftest 2014-05-22 22:35:08 +02:00
icon-vfuncs.ui reftests: Fix icon-vfuncs reftest 2014-05-22 22:35:08 +02:00
iconview-empty.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
iconview-empty.ref.ui Fix iconview-empty reftest 2013-06-15 21:31:41 -04:00
iconview-empty.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
image-load-from-file.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
image-load-from-file.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
image-load-from-file.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
info-bar-message-types.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
info-bar-message-types.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
info-bar-message-types.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
inherit-and-initial.css reftests: Use "all" property in inherit-and-inital test 2014-06-03 14:35:00 +02:00
inherit-and-initial.ref.ui Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
inherit-and-initial.ui Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
label-attribute-preference.css reftests: Fix CSS for tests after :link introduction 2013-11-09 16:43:06 +01:00
label-attribute-preference.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-attribute-preference.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-ellipsize-small.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-ellipsize-small.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-ellipsize-with-big.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-ellipsize-with-big.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-shadows.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-shadows.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-shadows.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-sizing.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-sizing.ref.ui label-sizing reftest: Hardcode ltr 2014-06-03 12:28:06 -04:00
label-sizing.ui label-sizing reftest: Hardcode ltr 2014-06-03 12:28:06 -04:00
label-small-ellipsized.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-small-ellipsized.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-width-chars-dont-shrink.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-width-chars-dont-shrink.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-wrap-justify.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
label-wrap-justify.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
linear-gradient-transition-to-other.css reftests: Add test for last 2 commits 2013-05-28 15:24:04 +02:00
linear-gradient-transition-to-other.ref.ui reftests: Add test for last 2 commits 2013-05-28 15:24:04 +02:00
linear-gradient-transition-to-other.ui reftests: Add test for last 2 commits 2013-05-28 15:24:04 +02:00
linear-gradient.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
linear-gradient.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
linear-gradient.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
link-coloring.css reftests: Add test for new :link and :visited 2013-11-04 16:36:11 +01:00
link-coloring.ref.ui reftests: Add test for new :link and :visited 2013-11-04 16:36:11 +01:00
link-coloring.ui reftests: Add test for new :link and :visited 2013-11-04 16:36:11 +01:00
Makefile.am Run reftests repeatedly 2014-06-02 22:46:23 -04:00
marble.xpm build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
messagedialog-secondarytext.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
messagedialog-secondarytext.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
misc-alignment.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
misc-alignment.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
misc-alignment.ui Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
named-colors.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
named-colors.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
named-colors.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
no-colors.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
no-colors.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
no-colors.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
nonresizable-size.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
nonresizable-size.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
notebook-childproperties.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
notebook-childproperties.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
notebook-childproperties.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
nth-child.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
nth-child.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
nth-child.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
opacity.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
opacity.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
opacity.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
paned-undersized.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
paned-undersized.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
paned-undersized.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
quit-mnemonic.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
quit-mnemonic.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
quit-mnemonic.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
README build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
reference-background-origin.png build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
reftest-module.c gtk-reftest: Allow loading code for reftests 2014-05-31 05:19:41 +02:00
reftest-module.h gtk-reftest: Allow loading code for reftests 2014-05-31 05:19:41 +02:00
reftests-dark.test.in Run reftests repeatedly 2014-06-02 22:46:23 -04:00
reftests-hc.test.in Run reftests repeatedly 2014-06-02 22:46:23 -04:00
reftests.test.in Drop debug spew from installed tests 2014-06-02 22:37:29 -04:00
reset-to-defaults.css css: Implement "all" shorthand 2014-05-11 03:23:55 +02:00
revealer-extra-size.ref.ui reftests: Add a reftest for the latest fix 2014-02-20 02:10:07 +01:00
revealer-extra-size.ui reftests: Add a reftest for the latest fix 2014-02-20 02:10:07 +01:00
revealer-wrappable-contents.ref.ui reftests: Add reftest for last commit 2014-02-23 15:40:46 +01:00
revealer-wrappable-contents.ui reftests: Add reftest for last commit 2014-02-23 15:40:46 +01:00
rotated-layout.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
rotated-layout.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
separator-size.ref.ui Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
separator-size.ui Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
set-default-direction.c reftests: Add a way to hardcode text direction 2014-06-03 12:28:06 -04:00
set-default-direction.ref.ui reftests: Add reftest for direction change 2014-05-31 05:19:41 +02:00
set-default-direction.ui reftests: Add reftest for direction change 2014-05-31 05:19:41 +02:00
shorthand-entry-border.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
shorthand-entry-border.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
shorthand-entry-border.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
simple.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
simple.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
sizegroups-basics.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
sizegroups-basics.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
sizegroups-basics.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
sizegroups-evolution-identity-page.ref.ui Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
sizegroups-evolution-identity-page.ui Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
sizegroups-get-preferred-null.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
sizegroups-get-preferred-null.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
style-properties-nth-child.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
style-properties-nth-child.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
style-properties-nth-child.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
style-properties-only-child.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
style-properties-only-child.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
style-properties-only-child.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
symbolic-icon-translucent-color.css reftests: Add a test for the symbolic color fix 2013-10-05 13:57:51 +02:00
symbolic-icon-translucent-color.ref.ui reftests: Add a test for the symbolic color fix 2013-10-05 13:57:51 +02:00
symbolic-icon-translucent-color.ui reftests: Add a test for the symbolic color fix 2013-10-05 13:57:51 +02:00
toplevel-vs-popup.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
toplevel-vs-popup.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
treeview-fixed-height.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
treeview-fixed-height.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
treeview-fixed-height.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
treeview-headers-hidden.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
treeview-headers-hidden.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
unresolvable.css build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
unresolvable.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
unresolvable.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
window-border-width.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
window-border-width.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
window-default-size.ref.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
window-default-size.ui build: Move tests/reftests to testsuite/reftests 2013-05-15 15:37:17 +02:00
window-height-for-width.ref.ui reftests: Add test for latest commit 2014-04-29 19:36:26 +02:00
window-height-for-width.ui reftests: Add test for latest commit 2014-04-29 19:36:26 +02:00
window-show-contents-on-map.ref.ui reftests: Add a reftest with signals 2014-05-31 05:19:40 +02:00
window-show-contents-on-map.ui reftests: Add a reftest with signals 2014-05-31 05:19:40 +02: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