| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
So far, gesture behavior on lack/excess of touchpoints is tested, as well
as sequence hand-in between gestures in these situations.
|
| |
|
|
|
|
| |
This reftest doesn't work in rtl.
|
|
|
|
|
|
| |
Some tests don't work in rtl, so add a way to hardcode
the expected text direction. This is in preparation for
running reftests in an rtl locale.
|
|
|
|
|
| |
The behavior of gestures that are kept outside/inside a grab is tested,
to ensure the former are cancelled and the latter remain unchanged.
|
|
|
|
|
|
|
| |
This tests both a sequence being claimed early to be then denied
(and handled deeper in propagation chain), and a sequence being
claimed late in the capture phase (and thus being cancelled deeper
in the propagation chain)
|
|
|
|
|
| |
May be useful to find out which gestures are still being triggered
by a sequence.
|
|
|
|
|
| |
state is preserved for mouse emulation, and up to 10 touchpoints for touch
emulation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change, a sequence being claimed deep in the event propagation
chain would make the sequence go denied on every ancestor, regardless of
previous state.
To make things more consistent, only deny the sequence if it was previously
claimed, so the behavior is the same for gesture groups within the widget
than for those outside the widget.
The gestures testsuite has been updated to reflect this new behavior.
|
|
|
|
|
|
|
|
|
| |
It might happen that a gesture claims a sequence before any other gesture
in its group even handled a single event from that sequence. In that case,
ensure the state is set accordingly right when the sequence is handled in
those.
The "group" gesture testcase has been updated to observe this behavior.
|
| |
|
|
|
|
|
|
| |
Install test files that run the reftests in the
Adwaita:dark and HighConstrast themes. It works,
so why not.
|
|
|
|
| |
This is no longer needed, we found the problem.
|
|
|
|
|
|
|
| |
This test check that resizing the window when expanding
the expander yields the same end result as having the
expander expanded to begin with. The test uses the inhibit
mechanism introduced in the previous commit.
|
|
|
|
|
|
|
|
| |
This adds an inhibit api that code from the reftest module
can use to delay the taking of the snapshot. Also refactor
the code in gtk-reftest to use the inhibit mechanism for
its own delaying of the snapshot until after the first
expose.
|
| |
|
|
|
|
| |
Taking advantage of our new direction flipping ability.
|
|
|
|
| |
Some of these sequences look wrong/questionable to me.
|
| |
|
|
|
|
|
| |
I'm not entirely convinced the test produces the expected
outcome, here.
|
|
|
|
|
| |
Print out sequence state changes, and cancellation, and verify that
claiming a gestures causes the expected state changes.
|
|
|
|
|
| |
They aren't included in GTK_DEP_CFLAGS/LIBS so they need to be added
manually.
|
|
|
|
|
|
| |
Follow the prevailing practice and put the installed tests
into $libdir/installed-tests/$PACKAGE instead of
$pkglibdir/installed-tests.
|
|
|
|
|
| |
Only warn about the --direction argument if the option was
actually specified.
|
|
|
|
|
|
|
|
|
|
| |
This reftest makes use of the new feature to add signal handlers.
It adds a libreftest.so module containing all the code for the reftests.
When adding a test named reftest.ui, please keep code contained in a
source file names reftest.c and add that file to Makefile.am.
https://bugzilla.gnome.org/show_bug.cgi?id=730833
|
|
|
|
|
| |
... and print a proper error message when the parameter is not
recognized.
|
|
|
|
|
|
|
|
|
|
| |
When connecting signal names, gtk-reftest now allows you to use a colon
in the signal handler name like so:
module:function_name
where module is a module loaded from the same directory (or the .libs
subdirectory for compatibility with uninstalled libtool) as the running
test and the function is resolved in that module. Of course, normal
function names work as before.
|
| |
|
| |
|
|
|
|
|
| |
This shows <signal> failing because class_init hasn't been run
yet.
|
|
|
|
|
|
| |
This test starts to assemble tests related to event propagation,
interaction with traditional event signal handlers, claiming of
events, etc.
|
|
|
|
|
| |
Sort the icon list in check-icon-theme.c, and add
comments so we have a chance of keeping the order.
|
|
|
|
| |
These were found in the trash monitor.
|
|
|
|
| |
These were found by looking over the GTK+ sources and ui files.
|
|
|
|
|
| |
These are icons which are used as GtkArrow replacement, and
icons used for the volume button.
|
|
|
|
|
| |
This will hopefully help to track down some hard-to-squash
failures that only happen in gnome-continuous.
|
|
|
|
|
|
|
|
|
|
| |
This test just checks that all the icon names that GTK uses are present
in the default icon theme.
As icon names are not checked programmatically and we do not want to run
into missing-icon icons in the code, this test seems necessary.
For now, it's just a stub that tests stock icons.
|
|
|
|
| |
The reftest broke when font size lead to labels > 16px.
|
|
|
|
|
| |
It was testing -GtkWidget-focus-line-width, which is a dead property
we don't use anymore.
|
| |
|
|
|
|
|
| |
The test should include reset-to-defaults.css but apparently it is older
than that file. So it broke when buttons started using shadows.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=730183
|
|
|
|
|
| |
The treeview is not using focus-pad here anymore, so update
the tests to not expect it.
|
|
|
|
|
|
|
|
| |
Introduced in 65c4c1555d0634c063c3aa354620de260e4aaf7f.
Found by gnome-continuous running the testsuite.
Includes fixing a broken test in the testsuite.
|
|
|
|
|
|
|
| |
To make the icontheme test run successfully when installed,
we need to use the correct test-framework-provided location,
and we need to install the test theme without stripping its
subdirectory structure.
|
| |
|
|
|
|
|
| |
Add tests that verify the expected lookup order between -symbolic,
-rtl/-ltr and generic fallback.
|
| |
|
|
|
|
|
| |
Do this to catch the g_warning() that the icontheme code emits the first
time a lookup fails.
|