gtk2/testsuite/reftests
Benjamin Otte 1b553478f6 cssimageradial: Handle "partial" gradients correctly
When the first/last color stop is not at 0%/100%, we need to start the
repeating at their offsets and not at 0%/100%.

Attached reftest demonstrates the problem.
2016-12-20 18:01:12 +01: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
animation-direction.c reftests: Add a message to the test output 2016-01-31 14:11:01 -05:00
animation-direction.css reftests: Add a reftest for 'animation-direction' 2014-07-07 20:06:47 +02:00
animation-direction.ref.ui reftests: Make animation-direction test more reliable 2016-01-31 13:51:54 -05:00
animation-direction.ui Fix animation-direction reftest 2014-08-10 19:11:38 -04:00
animation-fill-mode-iteration-count.css cssanimation: Compute progress correctly 2016-03-11 16:39:34 +01:00
animation-fill-mode-iteration-count.ref.ui cssanimation: Compute progress correctly 2016-03-11 16:39:34 +01:00
animation-fill-mode-iteration-count.ui cssanimation: Compute progress correctly 2016-03-11 16:39:34 +01:00
background-area.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-area.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-area.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-blend-mode-clip-interaction.css css: An opaque background does not allow omitting push_group 2016-12-20 18:01:10 +01:00
background-blend-mode-clip-interaction.ref.ui css: An opaque background does not allow omitting push_group 2016-12-20 18:01:10 +01:00
background-blend-mode-clip-interaction.ui css: An opaque background does not allow omitting push_group 2016-12-20 18:01:10 +01:00
background-color-transparent.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-color-transparent.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-color-transparent.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-image-multiple.css Stop using one-stop gradients in reftests 2016-07-26 07:25:01 -04:00
background-image-multiple.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-image-multiple.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-origin.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-origin.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-origin.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-position-repeat-bg.png
background-position-repeat.css
background-position-repeat.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-position-repeat.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-position-simple.css
background-position-simple.ref.ui
background-position-simple.ui
background-position.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-position.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-position.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-positioning-area-empty.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-positioning-area-empty.ui Fix unittests 2016-10-18 00:34:41 +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 reftests: Remove GtkMisc properties from now non-misc widgets 2016-10-16 18:17:21 +02:00
background-repeat.ui
background-size-keywords.css
background-size-keywords.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-size-keywords.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-size-zero.css Stop using one-stop gradients in reftests 2016-07-26 07:25:01 -04:00
background-size-zero.ref.ui
background-size-zero.ui
background-size.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-size.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-size.ui Fix unittests 2016-10-18 00:34:41 +02:00
background-window-transparent.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-window-transparent.ref.ui
background-window-transparent.ui
bad-color-names.css
bad-color-names.ref.ui
bad-color-names.ui
border-color-default.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-color-default.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-color-default.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-corner-zero-width-rendering.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-corner-zero-width-rendering.ref.ui roundedbox: Treat path segments differently 2015-01-22 16:25:54 +01:00
border-corner-zero-width-rendering.ui roundedbox: Treat path segments differently 2015-01-22 16:25:54 +01:00
border-half-pixel.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-half-pixel.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-half-pixel.ui Fix unittests 2016-10-18 00:34:41 +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
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
border-image-ball-green.png
border-image-ball-red.png
border-image-ball-yellow.png
border-image-balls.png
border-image-excess-size.css Fix the border-image-excess-size reftest 2016-01-30 21:50:00 -05:00
border-image-excess-size.ref.ui
border-image-excess-size.ui
border-image-gradient.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-image-gradient.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-image-gradient.ui Fix unittests 2016-10-18 00:34:41 +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 Fix unittests 2016-10-18 00:34:41 +02:00
border-image-url-scaled.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-image-url.css
border-image-url.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-image-url.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-radius-clamp.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-radius-clamp.ref.ui
border-radius-clamp.ui
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 reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-style-none.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-style-none.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-style.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-style.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
border-style.ui Fix unittests 2016-10-18 00:34:41 +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-order.css reftests: Add a reftest for box sibling ordering 2015-03-18 15:23:31 +01:00
box-order.ref.ui reftests: Add a reftest for box sibling ordering 2015-03-18 15:23:31 +01:00
box-order.ui reftests: Add a reftest for box sibling ordering 2015-03-18 15:23:31 +01:00
box-packing.css
box-packing.ref.ui
box-packing.ui
box-pseudo-classes.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
box-pseudo-classes.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
box-pseudo-classes.ui Fix unittests 2016-10-18 00:34:41 +02:00
box-shadow-changes-modify-clip.css reftests: add a test for animated box shadow updating clip 2016-03-03 16:14:39 -08:00
box-shadow-changes-modify-clip.ref.ui reftests: add a test for animated box shadow updating clip 2016-03-03 16:14:39 -08:00
box-shadow-changes-modify-clip.ui reftests: add a test for animated box shadow updating clip 2016-03-03 16:14:39 -08: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
box-shadow-spec-inset.ui
box-shadow-spread.css roundedbox: Only grow border-radius if there is one 2014-08-21 00:54:07 +02:00
box-shadow-spread.ref.ui roundedbox: Only grow border-radius if there is one 2014-08-21 00:54:07 +02:00
box-shadow-spread.ui roundedbox: Only grow border-radius if there is one 2014-08-21 00:54:07 +02:00
box-shadow-with-blend-mode.css reftests: Add reftest for the last 2 fixes 2016-11-08 02:32:39 +01:00
box-shadow-with-blend-mode.ref.ui reftests: Add reftest for the last 2 fixes 2016-11-08 02:32:39 +01:00
box-shadow-with-blend-mode.ui reftests: Add reftest for the last 2 fixes 2016-11-08 02:32:39 +01:00
button-wrapping.ref.ui reftests: Remove GtkMisc properties from now non-misc widgets 2016-10-16 18:17:21 +02:00
button-wrapping.ui reftests: Remove GtkMisc properties from now non-misc widgets 2016-10-16 18:17:21 +02:00
color-transition.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
color-transition.ref.ui cssvalue: Change color transitions to run premultiplied 2015-06-26 21:12:50 +02:00
color-transition.ui cssvalue: Change color transitions to run premultiplied 2015-06-26 21:12:50 +02:00
css-currentcolor-alpha.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01: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-em-label-size.css reftests: test em size 2016-04-12 16:59:40 -07:00
css-em-label-size.ref.ui reftests: test em size 2016-04-12 16:59:40 -07:00
css-em-label-size.ui reftests: test em size 2016-04-12 16:59:40 -07:00
css-match-class.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-class.ref.ui
css-match-class.ui
css-match-descendant-later.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-descendant-later.ref.ui
css-match-descendant-later.ui
css-match-exact.css
css-match-exact.ref.ui
css-match-exact.ui
css-match-import-import.css Fix reftests 2015-10-27 20:06:24 -04:00
css-match-import.css Fix reftests 2015-10-27 20:06:24 -04:00
css-match-import.ref.ui
css-match-import.ui
css-match-inherit-different-state.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-inherit-different-state.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
css-match-inherit-different-state.ui Fix unittests 2016-10-18 00:34:41 +02:00
css-match-inherit.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-inherit.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
css-match-inherit.ui Fix unittests 2016-10-18 00:34:41 +02:00
css-match-name.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-name.ref.ui
css-match-name.ui
css-match-siblings.css Fix reftests 2015-10-27 20:06:24 -04:00
css-match-siblings.ref.ui
css-match-siblings.ui
css-match-type.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-type.ref.ui
css-match-type.ui
css-multi-state.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-multi-state.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
css-multi-state.ui Fix unittests 2016-10-18 00:34:41 +02:00
css-rem-label-size.css reftests: test rem size 2016-04-12 16:59:40 -07:00
css-rem-label-size.ref.ui reftests: test rem size 2016-04-12 16:59:40 -07:00
css-rem-label-size.ui reftests: test rem size 2016-04-12 16:59:40 -07:00
expand-expander.c Add an expander reftest 2014-06-02 22:36:01 -04:00
expander.ref.ui Fix some reftests under wayland 2016-01-30 21:11:12 -05:00
expander.ui Fix some reftests under wayland 2016-01-30 21:11:12 -05: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
font-sizes-names.ref.ui
font-sizes-names.ui
frame-inhibitor.c reftests: rename util file frame-inhibitor 2016-03-03 16:09:13 -08:00
green-20x20.png
grid-empty-with-spacing.ref.ui
grid-empty-with-spacing.ui
grid-expand.css
grid-expand.ref.ui
grid-expand.ui
grid-homogeneous.css
grid-homogeneous.ref.ui
grid-homogeneous.ui
grid-spacing1.ref.ui
grid-spacing1.ui
grid-spacing2.ref.ui
grid-spacing2.ui
grid-spacing3.css
grid-spacing3.ref.ui
grid-spacing3.ui
grid-wfh.ref.ui
grid-wfh.ui
gtk-icontheme-sizing.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
gtk-icontheme-sizing.ref.ui reftest: Add reftest for CSS sizing fix 2014-07-23 18:51:26 +02:00
gtk-icontheme-sizing.ui reftest: Add reftest for CSS sizing fix 2014-07-23 18:51:26 +02:00
gtk-image-effect-inherit.css css: Rename -gtk-image-effect to -gtk-icon-effect 2015-12-02 00:29:31 +01: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 cssprovider: Return void, not TRUE 2016-10-17 17:41:03 +02:00
gtk-reftest.h reftest: Split our more functionality 2014-09-21 18:58:45 +02:00
icon-effect-missing.css reftests: Add test for missing-image handling 2015-12-04 17:44:51 +01:00
icon-effect-missing.ref.ui reftests: Add test for missing-image handling 2015-12-04 17:44:51 +01:00
icon-effect-missing.ui reftests: Add test for missing-image handling 2015-12-04 17:44:51 +01:00
icon-shadow-no-transform.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01: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: Fix test on HighContrast theme 2015-03-16 15:44:42 +01: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 Use an GtkImage instead of GtkArrow 2016-01-29 13:21:01 -05:00
icon-vfuncs.ref.ui reftests: get icon-vfuncs test almost working again 2016-01-29 13:10:03 -05:00
icon-vfuncs.ui reftests: Remove GtkMisc properties from now non-misc widgets 2016-10-16 18:17:21 +02:00
iconview-empty.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
iconview-empty.ref.ui Fix iconview-empty reftest 2013-06-15 21:31:41 -04:00
iconview-empty.ui
image-icon-name-use-fallback.ref.ui reftests: Rename reftest 2015-10-08 14:44:19 +02:00
image-icon-name-use-fallback.ui reftests: Rename reftest 2015-10-08 14:44:19 +02:00
image-icon-shadow-clipping.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
image-icon-shadow-clipping.ref.ui image: Implement clipping support for icon-shadow 2014-10-03 06:18:04 +02:00
image-icon-shadow-clipping.ui image: Implement clipping support for icon-shadow 2014-10-03 06:18:04 +02:00
image-load-from-file.css
image-load-from-file.ref.ui
image-load-from-file.ui
image-recording-surface.c iconhelper: Improve size determination for surfaces 2015-12-02 00:29:29 +01:00
image-recording-surface.ref.ui iconhelper: Improve size determination for surfaces 2015-12-02 00:29:29 +01:00
image-recording-surface.ui iconhelper: Improve size determination for surfaces 2015-12-02 00:29:29 +01:00
info-bar-message-types.css
info-bar-message-types.ref.ui
info-bar-message-types.ui API: container: Remove gtk_container_set_border_width() 2016-10-16 18:18:58 +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 Fix unittests 2016-10-18 00:34:41 +02:00
inherit-and-initial.ui Fix unittests 2016-10-18 00:34:41 +02: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
label-attribute-preference.ui
label-background.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
label-background.ref.ui reftests: Add test for latest fix 2014-07-12 07:13:28 +02:00
label-background.ui reftests: Add test for latest fix 2014-07-12 07:13:28 +02:00
label-box-shadow-clip.css label: Respect box-shadow when computing clip 2014-08-21 00:54:07 +02:00
label-box-shadow-clip.ref.ui label: Respect box-shadow when computing clip 2014-08-21 00:54:07 +02:00
label-box-shadow-clip.ui label: Respect box-shadow when computing clip 2014-08-21 00:54:07 +02:00
label-clipping.css Fix reftests 2015-10-27 20:06:24 -04:00
label-clipping.ref.ui reftests: Add test for the recent label changes 2014-07-10 18:56:35 +02:00
label-clipping.ui reftests: Add test for the recent label changes 2014-07-10 18:56:35 +02:00
label-ellipsize-small.ref.ui
label-ellipsize-small.ui
label-ellipsize-with-big.ref.ui
label-ellipsize-with-big.ui
label-shadows.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
label-shadows.ref.ui reftests: Remove GtkMisc properties from now non-misc widgets 2016-10-16 18:17:21 +02:00
label-shadows.ui reftests: Remove GtkMisc properties from now non-misc widgets 2016-10-16 18:17:21 +02:00
label-sizing.css Properly declare the font CSS property 2016-07-28 17:13:15 +02:00
label-sizing.ref.ui Drop support for offscreen GdkWindows 2016-10-25 09:54:37 +02:00
label-sizing.ui Drop support for offscreen GdkWindows 2016-10-25 09:54:37 +02:00
label-small-ellipsized.ref.ui
label-small-ellipsized.ui
label-text-shadow-changes-modify-clip.css Fix reftests 2015-10-27 20:06:24 -04:00
label-text-shadow-changes-modify-clip.ref.ui css: Queue resize for properties that affect clip 2014-10-03 06:18:04 +02:00
label-text-shadow-changes-modify-clip.ui reftests: Make label-text-shadow-changes-modify-clip test more reliable 2016-01-31 14:11:01 -05:00
label-text-shadow-clipping.css Fix reftests 2015-10-27 20:06:24 -04:00
label-text-shadow-clipping.ref.ui label: Don't clip text shadows 2014-07-31 17:50:24 +02:00
label-text-shadow-clipping.ui label: Don't clip text shadows 2014-07-31 17:50:24 +02:00
label-width-chars-dont-shrink.ref.ui
label-width-chars-dont-shrink.ui
label-wrap-justify.ref.ui
label-wrap-justify.ui
letter-spacing.c label: add support for CSS letter-spacing property 2015-07-06 00:04:05 +02:00
letter-spacing.css label: add support for CSS letter-spacing property 2015-07-06 00:04:05 +02:00
letter-spacing.ref.ui label: add support for CSS letter-spacing property 2015-07-06 00:04:05 +02:00
letter-spacing.ui label: add support for CSS letter-spacing property 2015-07-06 00:04:05 +02:00
linear-gradient-transition-to-other.css Don't use one-stop gradients 2016-07-28 17:12:25 +02:00
linear-gradient-transition-to-other.ref.ui Remove GtkActionGroup 2016-10-18 00:34:41 +02:00
linear-gradient-transition-to-other.ui Remove GtkActionGroup 2016-10-18 00:34:41 +02:00
linear-gradient.css
linear-gradient.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
linear-gradient.ui Fix unittests 2016-10-18 00:34:41 +02:00
link-coloring.css reftests: Fix underlines in link-coloring reftest 2015-07-21 02:28:53 +02: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 cssimageradial: Handle "partial" gradients correctly 2016-12-20 18:01:12 +01:00
marble.xpm
messagedialog-secondarytext.ref.ui API: container: Remove gtk_container_set_border_width() 2016-10-16 18:18:58 +02:00
messagedialog-secondarytext.ui API: container: Remove gtk_container_set_border_width() 2016-10-16 18:18:58 +02:00
named-colors.css
named-colors.ref.ui
named-colors.ui
no-colors.css
no-colors.ref.ui
no-colors.ui
nonresizable-size.ref.ui
nonresizable-size.ui
notebook-childproperties.css
notebook-childproperties.ref.ui
notebook-childproperties.ui
notebook-tab-position.css notebook: set tab position style class on the main frame 2014-06-14 21:37:07 +02:00
notebook-tab-position.ref.ui notebook: set tab position style class on the main frame 2014-06-14 21:37:07 +02:00
notebook-tab-position.ui notebook: set tab position style class on the main frame 2014-06-14 21:37:07 +02:00
nth-child.css
nth-child.ref.ui Fix some reftests under wayland 2016-01-30 21:11:12 -05:00
nth-child.ui Fix some reftests under wayland 2016-01-30 21:11:12 -05:00
opacity-initial.css Fix reftests 2015-10-27 20:06:24 -04:00
opacity-initial.ref.ui widget: Don't assume opacity is 100% 2014-09-07 01:57:10 +02:00
opacity-initial.ui widget: Don't assume opacity is 100% 2014-09-07 01:57:10 +02:00
opacity.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
opacity.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
opacity.ui Fix unittests 2016-10-18 00:34:41 +02:00
overlay-no-main-widget.ref.ui overlay: Handle overlays when no main widget exists 2014-09-07 01:57:09 +02:00
overlay-no-main-widget.ui overlay: Handle overlays when no main widget exists 2014-09-07 01:57:09 +02:00
paned-undersized.css
paned-undersized.ref.ui
paned-undersized.ui
pseudoclass-on-box.css reftests: Update for :active => :checked change 2014-08-16 20:41:32 +02:00
pseudoclass-on-box.ref.ui reftests: Add a reftest for recent widget path fix 2014-07-22 03:06:04 +02:00
pseudoclass-on-box.ui reftests: Add a reftest for recent widget path fix 2014-07-22 03:06:04 +02:00
pseudoclass-on-parent.css reftests: Update for :active => :checked change 2014-08-16 20:41:32 +02:00
pseudoclass-on-parent.ref.ui reftests: Add reftest for new pseudoclass support 2014-07-21 01:03:47 +02:00
pseudoclass-on-parent.ui reftests: Add reftest for new pseudoclass support 2014-07-21 01:03:47 +02:00
quit-mnemonic.css
quit-mnemonic.ref.ui
quit-mnemonic.ui
README
reference-background-origin.png
reftest-compare.c reftest: Split out some functionality into own file 2014-09-21 18:58:45 +02:00
reftest-compare.h reftest: Split out some functionality into own file 2014-09-21 18:58:45 +02:00
reftest-module.c Fix reftests for builddir != srcdir 2014-08-10 19:11:39 -04:00
reftest-module.h gtk-reftest: Allow loading code for reftests 2014-05-31 05:19:41 +02:00
reftest-snapshot.c reftest: Make screenshot code work without GDK 2016-11-20 11:20:34 +01:00
reftest-snapshot.h reftest: Split our more functionality 2014-09-21 18:58:45 +02:00
reftests-dark.test.in Use TAP output for installed tests 2016-01-30 11:04:22 -05:00
reftests-hc.test.in Use TAP output for installed tests 2016-01-30 11:04:22 -05:00
reftests-hci.test.in Use TAP output for installed tests 2016-01-30 11:04:22 -05:00
reftests.test.in Use TAP output for installed tests 2016-01-30 11:04:22 -05:00
repeating-radial-gradient-at-beginning.css cssimageradial: Handle "partial" gradients correctly 2016-12-20 18:01:12 +01:00
repeating-radial-gradient-at-beginning.ref.ui cssimageradial: Handle "partial" gradients correctly 2016-12-20 18:01:12 +01:00
repeating-radial-gradient-at-beginning.ui cssimageradial: Handle "partial" gradients correctly 2016-12-20 18:01:12 +01:00
reset-to-defaults.css reftests: Drop deprecated style properties 2016-01-08 18:11:07 -05: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
rotated-layout.ui
separator-size.css reftests: Make separator-size test pass in HighContrastInverse 2016-01-31 16:54:48 -05:00
separator-size.ref.ui Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
separator-size.ui reftests: Improve workaround for GtkGrid bug 2014-07-10 18:56:34 +02: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
shadow-clip-rounding.css css: Round shadow extents properly 2014-08-21 00:54:07 +02:00
shadow-clip-rounding.ref.ui css: Round shadow extents properly 2014-08-21 00:54:07 +02:00
shadow-clip-rounding.ui css: Round shadow extents properly 2014-08-21 00:54:07 +02:00
shorthand-entry-border.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
shorthand-entry-border.ref.ui
shorthand-entry-border.ui
sibling-pseudoclasses.css reftests: Update for :active => :checked change 2014-08-16 20:41:32 +02:00
sibling-pseudoclasses.ref.ui css: Match state in siblings properly 2014-08-13 16:51:16 +02:00
sibling-pseudoclasses.ui css: Match state in siblings properly 2014-08-13 16:51:16 +02:00
simple.ref.ui Remove GtkActionGroup 2016-10-18 00:34:41 +02:00
simple.ui Remove GtkActionGroup 2016-10-18 00:34:41 +02:00
sizegroups-basics.css Fix reftests 2015-10-27 20:06:24 -04:00
sizegroups-basics.ref.ui
sizegroups-basics.ui API: sizegroup: Remove gtk_size_group_set_ignore_hidden() 2016-10-16 18:18:58 +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 API: sizegroup: Remove gtk_size_group_set_ignore_hidden() 2016-10-16 18:18:58 +02:00
sizegroups-get-preferred-null.ref.ui
sizegroups-get-preferred-null.ui
statusbar-remove-all.c reftests: Add reftest for statusbar fix 2014-08-14 19:52:59 +02:00
statusbar-remove-all.ref.ui widget: Remove deprecated margin-left/right properties 2016-10-16 18:17:21 +02:00
statusbar-remove-all.ui widget: Remove deprecated margin-left/right properties 2016-10-16 18:17:21 +02:00
style-context-save-inheritance.css Fix reftests 2015-10-27 20:06:24 -04:00
style-context-save-inheritance.ref.ui stylecontext: Use correct parent style for lookups 2015-01-07 14:26:48 +01:00
style-context-save-inheritance.ui stylecontext: Use correct parent style for lookups 2015-01-07 14:26:48 +01:00
style-properties-nth-child.css
style-properties-nth-child.ref.ui Fix unittests 2016-10-18 00:34:41 +02:00
style-properties-nth-child.ui Fix unittests 2016-10-18 00:34:41 +02:00
style-properties-only-child.css
style-properties-only-child.ref.ui
style-properties-only-child.ui
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 Fix symbolic-icon-translucent-color reftest 2014-08-12 15:51:36 +02:00
symbolic-icon-translucent-color.ui Fix symbolic-icon-translucent-color reftest 2014-08-12 15:51:36 +02:00
textview-border-windows.c TextView: render the background of border windows 2014-06-15 18:57:06 +02:00
textview-border-windows.css Add a TextView reftests checking border-windows 2014-06-15 18:56:30 +02:00
textview-border-windows.ref.ui Add a TextView reftests checking border-windows 2014-06-15 18:56:30 +02:00
textview-border-windows.ui TextView: render the background of border windows 2014-06-15 18:57:06 +02:00
textview-margins.css TextView margin reftest 2014-06-15 18:15:43 +02:00
textview-margins.ref.ui Fix the textview-margins reftest 2016-03-11 16:46:52 -05:00
textview-margins.ui Fix the textview-margins reftest 2016-03-11 16:46:52 -05:00
textview-tags.c Add some reftests related to textview tags 2015-03-11 22:04:29 -04:00
textview-tags.css Add some reftests related to textview tags 2015-03-11 22:04:29 -04:00
textview-tags.ref.ui Remove some deprecated GdkColor style properties 2016-10-16 18:17:21 +02:00
textview-tags.ui Remove some deprecated GdkColor style properties 2016-10-16 18:17:21 +02:00
toplevel-vs-popup.ref.ui
toplevel-vs-popup.ui gtkwindow: Remove resize grips 2014-07-03 12:58:41 -04:00
treeview-crash-too-wide.ref.ui treeview: Don't create an overly large pixel cache 2015-02-05 18:57:29 +01:00
treeview-crash-too-wide.ui treeview: Don't create an overly large pixel cache 2015-02-05 18:57:29 +01:00
treeview-fixed-height.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
treeview-fixed-height.ref.ui
treeview-fixed-height.ui
treeview-headers-hidden.ref.ui
treeview-headers-hidden.ui
unresolvable.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
unresolvable.ref.ui
unresolvable.ui
window-border-width.ref.ui API: container: Remove gtk_container_set_border_width() 2016-10-16 18:18:58 +02:00
window-border-width.ui API: container: Remove gtk_container_set_border_width() 2016-10-16 18:18:58 +02:00
window-default-size.ref.ui
window-default-size.ui
window-height-for-width.ref.ui API: container: Remove gtk_container_set_border_width() 2016-10-16 18:18:58 +02:00
window-height-for-width.ui API: container: Remove gtk_container_set_border_width() 2016-10-16 18:18:58 +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