Benjamin Otte
e60da87a94
testsuite: Update for screen => display property changes
2017-10-31 19:00:56 +01:00
Benjamin Otte
07164e098a
window: Turn gtk_window_set_screen() into gtk_window_set_display()
...
And have a priv->display instead of a priv->screen.
Includes turning gtk_menu_set_screen() into gtk_menu_set_display(),
because that function just forwards to its window.
2017-10-31 08:25:37 +01:00
Benjamin Otte
9151e0b9f5
stylecontext: Port to use display instead of screen
2017-10-31 03:05:54 +01:00
Chun-wei Fan
5b9177f53b
testsuite/gsk/test-render-nodes.c: Include <stdlib.h>
...
This is so that the compiler won't complain about our use of exit()
https://bugzilla.gnome.org/show_bug.cgi?id=773299
2017-10-25 00:50:21 +08:00
Timm Bäder
9f1716edaa
testsuite: Disable vulkan tests when vulkan isn't available
...
They are always going to fail in that case anyway.
2017-10-23 08:02:57 +02:00
Matthias Clasen
243bd4f0c8
gsk: Tweak cairo node apis
...
Rename the surface getter to peek, following other render
node getters, and make the surface-based constructor private,
since it is not something we want to encourage.
Update all callers.
2017-10-20 13:54:01 +02:00
Matthias Clasen
82e33823a9
Add a test for opacity render nodes
...
This test currently fails with the Vulkan renderer, despite
having its own reference image.
2017-10-18 23:45:43 +02:00
Matthias Clasen
a2aa128178
Fix tools test
2017-10-18 18:52:06 +02:00
Matthias Clasen
c54294e2e1
Add a forgotten file
2017-10-18 18:52:06 +02:00
Matthias Clasen
2f96592e80
Use the cairo renderer for gtk tests for now
...
We haven't tracked down yet why the window size tests
fail with Vulkan, so use cairo for now.
2017-10-18 17:30:20 +02:00
Matthias Clasen
4a22704d82
Fix test environments
2017-10-18 17:30:20 +02:00
Matthias Clasen
f8f94ab329
Install tools tests
...
At the same time, update the expected test output to match
the current tools output, and write diff and ref files in /tmp.
2017-10-18 17:30:20 +02:00
Matthias Clasen
896316a9d1
Install gtk tests
...
Some of these currently fail on my system.
2017-10-18 17:30:20 +02:00
Matthias Clasen
090832c6fa
redo the gdk installed tests
2017-10-18 17:30:20 +02:00
Matthias Clasen
b7098a0ebc
testsuite: be a bit more verbose
...
This may help tracking down some failures.
2017-10-18 17:30:20 +02:00
Matthias Clasen
389307eb2c
Install separate render node test for cairo and vulkan
...
The vulkan test currently fails.
2017-10-18 17:30:20 +02:00
Matthias Clasen
fb22f84059
testsuite: don't write into installed locations
...
Save the output of the render node tests in /tmp.
2017-10-18 17:30:20 +02:00
Matthias Clasen
4c64509b28
Install gdk tests
...
This was missing so far
2017-10-18 17:30:20 +02:00
Matthias Clasen
b0b0095cf8
Test suite cosmetics
...
Reshuffle things a bit more, sort the test files into subdirectories,
and shorten their names.
2017-10-18 17:30:20 +02:00
Matthias Clasen
68503c3e13
Add some backend-specific reference images for render nodes
2017-10-18 17:30:20 +02:00
Matthias Clasen
e9d47e9516
Run the gsk tests for both cairo and vulkan
...
The vulkan tests fail currently.
2017-10-18 17:30:20 +02:00
Matthias Clasen
abe7d8a846
More testsuite cosmetics
...
Unify the test naming some more.
2017-10-18 17:30:20 +02:00
Matthias Clasen
3166dc45e8
Fix the a11y test
2017-10-18 17:30:20 +02:00
Matthias Clasen
cd87b02103
Update expected output of statusbar a11y test
2017-10-18 17:30:20 +02:00
Matthias Clasen
50c8221058
testsuite: Add missing files
2017-10-18 17:30:20 +02:00
Matthias Clasen
2a71a4382a
testsuite: Use the cairo renderer for now
2017-10-18 17:30:20 +02:00
Matthias Clasen
8b63b180d3
Distribute all test files
2017-10-18 17:30:20 +02:00
Matthias Clasen
91497348bf
Update all css parser tests
...
I have not tracked down in detail where all these changes originate,
this commit just gets things back to working again.
2017-10-18 17:30:20 +02:00
Matthias Clasen
6b2eafe1bb
Drop widget style property test
2017-10-18 17:30:20 +02:00
Matthias Clasen
5824d8b5ee
Stop testing deprecated css features
2017-10-18 17:30:20 +02:00
Carlos Garnacho
06b21b4bec
testsuite: Make all gesture test touches happen in the middle of the window
...
The event coordinates are (so far) irrelevant to what we are testing here,
just make all events happen in the middle of the window in order to ensure
all widgets receive it. More importantly, avoid using fixed pixel distances,
since we don't get guarantees about window sizes.
Fixes the gestures testsuite on X11.
2017-10-12 18:32:27 +02:00
Timm Bäder
54ed2d1e63
testsuite: Updated expected GtkSwitch nodes
...
The slider comes last now.
2017-10-12 16:09:31 +02:00
Carlos Garnacho
40a2b91a6c
testsuite: Update gestures test to pointer emulation removal
...
Now all widgets are mandated to handle the real thing, which means no
pointer events are emulated for the pointer emulating touch. The output
of these tests relied on this fact, so update to the tests handling real
touch events.
2017-10-12 14:47:15 +02:00
Carlos Garnacho
ff31bdd334
testsuite: Fix gesture test inconsistencies due to legacy event handling
...
Legacy GtkWidget vmethods are now handled on an event controller, which
due to being the very first controller added to every widget, runs in
a different order than the previously hardcoded.
Probably testing legacy events is not really futurible, specially after
we stop installing this legacy controller by default. I'll leave the
choice to remove these specific tests for later though.
2017-10-12 14:47:15 +02:00
Matthias Clasen
cb19bbba0c
Update the css style test
...
The new font-variant support affected the output here.
2017-10-12 17:23:35 +08:00
Matthias Clasen
18519a7ca0
Make css node and style tests run
...
Just like the previous commit, we need to set G_TEST_SRCDIR.
2017-10-12 16:06:03 +08:00
Matthias Clasen
37f1d180c3
Make css parser tests run
...
We need to set G_TEST_SRCDIR and friends for this to do anything.
Setting it reveals that a bunch of the tests are broken.
2017-10-12 15:58:05 +08:00
Matthias Clasen
9ea8235cc7
Update some a11y tests
2017-10-11 20:09:21 -05:00
Matthias Clasen
f09b5a8953
Fix a typo
2017-10-11 19:59:07 -05:00
Matthias Clasen
eb71cd195a
testsuite: cosmetics
...
Put all tests in a suite, and order them in a nicer way.
This makes the test output look better.
2017-10-11 19:33:43 -05:00
Matthias Clasen
a4deb7e7b4
Reshuffle the css tests a bit
2017-10-10 00:18:21 -04:00
Matthias Clasen
8c41365437
Reshuffle the a11y tests a bit
2017-10-10 00:16:31 -04:00
Matthias Clasen
a45e497fdf
Install css api test again
2017-10-09 23:35:19 -04:00
Matthias Clasen
a2ee124d99
Install css style tests again
...
Reinstate the installed tests for css style.
2017-10-09 23:32:13 -04:00
Matthias Clasen
6c294e6804
Install css parser tests again
...
Reinstate the installed tests for the css parser.
2017-10-09 23:29:10 -04:00
Matthias Clasen
e5aa2021a0
Install css node tests again
...
Reinstate the installed tests for css nodes.
2017-10-09 23:24:23 -04:00
Matthias Clasen
49ab093f26
Add a transform node reftest
2017-10-08 23:19:35 -04:00
Matthias Clasen
4db1a7541a
Add another cross-fade reftest
2017-10-08 22:45:05 -04:00
Matthias Clasen
e3f5a8bd47
Regenerate blendmodes reftest
2017-10-08 21:13:43 -04:00
Matthias Clasen
cd4892c50a
Stop using gsk_cairo_node_new_for_surface
...
Best to avoid handling the surface ourselves.
2017-10-08 20:05:16 -04:00