gtk2/testsuite/reftests
Alexander Larsson 5059854a2e reftest: Clean up reftest_inhibit_snapshot()
This was done in a weird way where we always call reftest_uninhibit_snapshot()
on paint, and then re-inhibited it if it wasn't inhibited. To make this
work it also started with an extra inhibit.

This is very contorted and based on how this historically worked. This
changes it to just do:

  if (inhibit_count > 0)
    return;

And keep inhibit_count at its initial zero value unless it is actually
inhibited.
2020-06-04 15:45:29 +02:00
..
721800-0px-dotted-border.css
721800-0px-dotted-border.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
721800-0px-dotted-border.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
actionbar.css
actionbar.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
actionbar.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
align-expand.sh reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
animation-direction.c reftests: Add a message to the test output 2016-01-31 14:11:01 -05:00
animation-direction.css
animation-direction.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
animation-direction.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
animation-fill-mode-iteration-count.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-area.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-area.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-area.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04: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 reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-blend-mode-clip-interaction.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-color-transparent.css reftests: Avoid theme influence 2020-04-24 15:19:24 -04:00
background-color-transparent.ref.ui reftests: Avoid decorations 2020-04-24 15:18:02 -04:00
background-color-transparent.ui reftests: Avoid decorations 2020-04-24 15:18:02 -04: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 reftests: Use transform syntax 2020-04-25 12:47:17 -04:00
background-image-multiple.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-origin.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-origin.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-origin.ui reftests: Fix the background-origin test 2020-05-22 10:48:33 -04:00
background-position-repeat-bg.png
background-position-repeat.css
background-position-repeat.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-position-repeat.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-position-simple.css
background-position-simple.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-position-simple.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-position.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-position.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-position.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-positioning-area-empty.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-positioning-area-empty.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-repeat.css
background-repeat.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-repeat.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-size-keywords.css
background-size-keywords.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-size-keywords.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-size-zero.css reftests: Fix background-size-zero test 2019-03-29 09:56:52 +01:00
background-size-zero.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-size-zero.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-size.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-size.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-size.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04: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 reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-window-transparent.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
bad-color-names.css
bad-color-names.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
bad-color-names.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
border-color-default.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-color-default.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-color-default.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04: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 reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-corner-zero-width-rendering.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04: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 reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-half-pixel.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-image-3-balls-green-squished.png
border-image-3-balls-green.png
border-image-3-balls-yellow-squished.png
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 testsuite: Get rid of GtkToolbar 2020-02-07 14:08:08 +01:00
border-image-excess-size.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-image-excess-size.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-image-url-scaled.css
border-image-url-scaled.ref.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
border-image-url-scaled.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
border-image-url.css
border-image-url.ref.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
border-image-url.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04: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 reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
border-radius-clamp.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
border-rgb.png
border-rgb@2.png
border-style-none.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-style-none.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-style-none.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-style.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-style.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-style.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
box-order.css
box-order.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
box-order.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
box-pseudo-classes.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
box-pseudo-classes.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
box-pseudo-classes.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04: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: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
box-shadow-changes-modify-clip.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
box-shadow-spec-inset.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
box-shadow-spec-inset.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
box-shadow-spec-inset.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
box-shadow-spread.css
box-shadow-spread.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
box-shadow-spread.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01: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: Stop using can-focus 2020-04-09 17:50:29 -04:00
box-shadow-with-blend-mode.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
button-wrapping.ref.ui paned: Redo the api 2020-05-11 22:21:33 -04:00
button-wrapping.ui paned: Redo the api 2020-05-11 22:21:33 -04:00
color-transition.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
color-transition.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
color-transition.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
cross-fade-syntax.css reftests: Add a cross-fade syntax-checking reftest 2019-04-12 19:34:28 +02:00
cross-fade-syntax.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
cross-fade-syntax.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-currentcolor-alpha.css reftests: Fix css-currentcolor-alpha.ui test 2019-03-29 09:56:52 +01:00
css-currentcolor-alpha.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-currentcolor-alpha.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01: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: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-em-label-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-image-aspect-ratio.css cssimage: Scale images to contain, not cover 2017-01-13 03:38:36 +01:00
css-image-aspect-ratio.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-image-aspect-ratio.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-image-color-aspect-ratio.css cssimage: Fallback images have no aspect ratio 2017-01-13 03:38:36 +01:00
css-image-color-aspect-ratio.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-image-color-aspect-ratio.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01: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 reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-class.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-descendant-later.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
css-match-descendant-later.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-descendant-later.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-exact.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
css-match-exact.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-exact.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-import-import.css
css-match-import.css
css-match-import.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-import.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
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 reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
css-match-inherit-different-state.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04: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 testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
css-match-inherit.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04: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 reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-name.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-siblings.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
css-match-siblings.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-siblings.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-type.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-type.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-type.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-multi-state.css reftests: Fix css-multi-state test 2019-11-29 20:26:45 +09:00
css-multi-state.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
css-multi-state.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04: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: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-rem-label-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
data-url.css css: Add data URL parsing to images 2019-05-12 17:27:01 +02:00
data-url.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
data-url.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
expand-expander.c
expander.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
expander.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
fixed-widget-stacking.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
fixed-widget-stacking.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
flipping-icons.ref.ui testsuite: Update a testcase 2020-05-04 22:53:08 -04:00
flipping-icons.ui testsuite: Update a testcase 2020-05-04 22:53:08 -04:00
font-sizes-names.css
font-sizes-names.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
font-sizes-names.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
frame-inhibitor.c Use gtk_widget_add/remove_css_class more 2020-04-10 12:09:57 -04:00
green-20x20.png
grid-empty-with-spacing.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-empty-with-spacing.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-expand.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
grid-expand.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-expand.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-homogeneous.css
grid-homogeneous.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-homogeneous.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing1.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing1.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing2.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing2.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing3.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
grid-spacing3.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing3.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-wfh.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-wfh.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
gtk-icontheme-sizing.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
gtk-icontheme-sizing.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
gtk-icontheme-sizing.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
gtk-image-effect-inherit.css gtk: Replace -gtk-icon-effect with -gtk-icon-filter 2016-12-31 02:49:47 +01:00
gtk-image-effect-inherit.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
gtk-image-effect-inherit.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
gtk-reftest.c tests: Allow setting a subdir for output 2020-05-15 14:11:53 -04:00
gtk-reftest.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
icon-effect-missing.css gtk: Replace -gtk-icon-effect with -gtk-icon-filter 2016-12-31 02:49:47 +01:00
icon-effect-missing.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
icon-effect-missing.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +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: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
icon-shadow-no-transform.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
icon-style-basics.css
icon-style-basics.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
icon-style-basics.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
icon-vfuncs.css Use an GtkImage instead of GtkArrow 2016-01-29 13:21:01 -05:00
icon-vfuncs.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
icon-vfuncs.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
iconview-empty.css reftests: Fix iconview-empty test 2019-03-29 09:56:52 +01:00
iconview-empty.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
iconview-empty.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
image-compare.c Add missing includes 2019-07-31 08:04:03 -04:00
image-icon-name-use-fallback.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
image-icon-name-use-fallback.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01: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 reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
image-icon-shadow-clipping.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
image-load-from-file.css
image-load-from-file.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
image-load-from-file.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-attribute-preference.css
label-attribute-preference.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-attribute-preference.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-background.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
label-background.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-background.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-box-shadow-clip.css
label-box-shadow-clip.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-box-shadow-clip.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-clipping.css
label-clipping.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-clipping.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-ellipsize-small.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-ellipsize-small.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-ellipsize-with-big.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-ellipsize-with-big.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-fonts.css Make the newly added test a bit more robust 2019-05-03 02:15:07 +00:00
label-fonts.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-fonts.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-shadows.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
label-shadows.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-shadows.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-sizing.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
label-sizing.ref.ui paned: Redo the api 2020-05-11 22:21:33 -04:00
label-sizing.ui paned: Redo the api 2020-05-11 22:21:33 -04:00
label-small-ellipsized.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-small-ellipsized.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-text-shadow-changes-modify-clip.css
label-text-shadow-changes-modify-clip.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-text-shadow-changes-modify-clip.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-text-shadow-clipping.css
label-text-shadow-clipping.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-text-shadow-clipping.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-width-chars-dont-shrink.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-width-chars-dont-shrink.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-wrap-justify.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-wrap-justify.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
letter-spacing.c
letter-spacing.css
letter-spacing.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
letter-spacing.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01: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 reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
linear-gradient-transition-to-other.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
linear-gradient.css
linear-gradient.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
linear-gradient.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
link-coloring.css
link-coloring.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
link-coloring.ui button: Drop relief 2020-04-17 10:57:36 -04:00
marble.xpm
meson.build testsuite: Re-add the sizegroups-evolution reftest 2020-05-22 17:10:28 -04:00
messagedialog-secondarytext.ref.ui testsuite: Stop using type-hints 2020-03-11 19:36:04 -04:00
messagedialog-secondarytext.ui testsuite: Stop using type-hints 2020-03-11 19:36:04 -04:00
named-colors.css
named-colors.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
named-colors.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
no-colors.css
no-colors.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
no-colors.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
nonresizable-size.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
nonresizable-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
notebook-tab-position.css
notebook-tab-position.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
notebook-tab-position.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
nth-child.css
nth-child.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
nth-child.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
opacity-initial.css
opacity-initial.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
opacity-initial.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
opacity.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
opacity.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
opacity.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
overlay-no-main-widget.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
overlay-no-main-widget.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
paned-undersized.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
paned-undersized.ref.ui paned: Redo the api 2020-05-11 22:21:33 -04:00
paned-undersized.ui paned: Redo the api 2020-05-11 22:21:33 -04:00
partial-rounded-border.css reftests: Add a reftest for rendering failure 2019-04-19 03:39:57 +02:00
partial-rounded-border.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
partial-rounded-border.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
picture-load-invalid-file.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
picture-load-invalid-file.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
pseudoclass-on-box.css
pseudoclass-on-box.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
pseudoclass-on-box.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
pseudoclass-on-parent.css
pseudoclass-on-parent.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
pseudoclass-on-parent.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
quit-mnemonic.css
quit-mnemonic.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
quit-mnemonic.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
README
reference-background-origin.png
reftest-compare.c reftests: Pass common_cflags 2020-05-19 08:32:33 +02:00
reftest-compare.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftest-module.c reftests: Pass common_cflags 2020-05-19 08:32:33 +02:00
reftest-module.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftest-snapshot.c reftest: Clean up reftest_inhibit_snapshot() 2020-06-04 15:45:29 +02:00
reftest-snapshot.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftests-dark.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01:00
reftests-hc.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01:00
reftests-hci.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01:00
reftests.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01: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 reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
repeating-radial-gradient-at-beginning.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +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: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
revealer-extra-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
revealer-wrappable-contents.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
revealer-wrappable-contents.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
rotated-layout.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
rotated-layout.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
separator-size.css reftests: Make separator-size test pass in HighContrastInverse 2016-01-31 16:54:48 -05:00
separator-size.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
separator-size.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
set-default-direction.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
set-default-direction.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
set-default-direction.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
shadow-clip-rounding.css
shadow-clip-rounding.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
shadow-clip-rounding.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
shorthand-entry-border.css reftests: Fix shorthand-entry-border test 2019-03-29 09:56:52 +01:00
shorthand-entry-border.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
shorthand-entry-border.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
sibling-pseudoclasses.css
sibling-pseudoclasses.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
sibling-pseudoclasses.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
simple.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
simple.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
sizegroups-basics.css
sizegroups-basics.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
sizegroups-basics.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
sizegroups-evolution-identity-page.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
sizegroups-evolution-identity-page.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
sizegroups-get-preferred-null.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
sizegroups-get-preferred-null.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
statusbar-remove-all.c
statusbar-remove-all.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
statusbar-remove-all.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
style-context-save-inheritance.css
style-context-save-inheritance.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
style-context-save-inheritance.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
style-properties-only-child.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
style-properties-only-child.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
style-properties-only-child.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
symbolic-icon-translucent-color.css
symbolic-icon-translucent-color.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
symbolic-icon-translucent-color.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
textview-border-windows.c textview: use GtkTextViewChild for border and overlay children 2019-10-04 14:45:43 -07:00
textview-border-windows.css
textview-border-windows.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
textview-border-windows.ui reftests: Avoid text caret from interfering 2020-04-24 18:33:57 -04:00
textview-margins.css Fix textview-margins reftest 2019-03-29 09:56:52 +01:00
textview-margins.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
textview-margins.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
textview-tags.c
textview-tags.css reftests: Fix textview-tags test 2019-03-29 09:56:52 +01:00
textview-tags.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
textview-tags.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
treeview-crash-too-wide.ref.ui reftests: Stop using shadow-type 2020-04-17 11:06:16 -04:00
treeview-crash-too-wide.ui reftests: Stop using shadow-type 2020-04-17 11:06:16 -04:00
treeview-fixed-height.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
treeview-fixed-height.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
treeview-fixed-height.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
treeview-headers-hidden.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
treeview-headers-hidden.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
unresolvable.css reftests: Fix unresolvable.ui test 2019-03-29 09:56:52 +01:00
unresolvable.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
unresolvable.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-border-width.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-border-width.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-default-size.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-default-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-height-for-width.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
window-height-for-width.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
window-show-contents-on-map.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-show-contents-on-map.ui reftests: Fix the window-show-contents-on-map test 2020-04-26 09:16:25 -04: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