summaryrefslogtreecommitdiff
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* Remove win32 themeing supportBenjamin Otte2019-03-223-14/+0
| | | | | | It was unused through all of GTK 3, so it is not worth supporting. The best Windows themes do not make use of it at all.
* a11y tests: Clean up the placeholder-text testMatthias Clasen2019-03-161-16/+0
| | | | This was relying on setting has-focus for initial focus.
* a11y tests: Update expected resultsMatthias Clasen2019-03-1632-62/+70
| | | | The changes here are all related to initial focus.
* Update the focus testMatthias Clasen2019-03-161-9/+154
| | | | | | | | | Check that we get the expected sequences of focus change events for the nonlinear, inferior and ancestor cases. It would be nice to do the same checks for crossing events, but we have no gtk_window_set_hover().
* single selection: Skip tests properlyMatthias Clasen2019-03-161-15/+43
| | | | | | Do runtime checks for the GLib version, instead of compiling out tests. This avoids compiler warnings.
* transform: Add perspective()Benjamin Otte2019-03-051-0/+4
| | | | | This commit adds gsk_transform_perspective(), gtk_snapshot_perspective() and support for perspective() in the CSS syntax.
* transform: Redo querying APIBenjamin Otte2019-03-041-9/+9
| | | | | | | | | | | Make the API expect a tranform of the proper category instead of doing the check ourselves and returning TRUE/FALSE. The benefit is that the mai use case is switch (transform->category) statements and in those we know the category and don't need to check TRUE/FALSE. Using the wrong matrix will now cause a g_warning().
* transform: Implement gsk_transform_invert()Benjamin Otte2019-03-041-1/+42
| | | | | | And use it. And test it.
* testsuite: Add a transforms testBenjamin Otte2019-03-042-0/+249
| | | | | | | In particular, check that to_matrix() and to_2d(), to_affine() and to_translate() return the same values. This also requires a recent Graphene version or the tests will fail.
* rendernode: Make the transform node take a GskTransformBenjamin Otte2019-03-041-60/+67
| | | | This is an attempt to push GskTransform deeper into the stack.
* entry, spin button: Drop redundant APIMatthias Clasen2019-02-281-2/+2
| | | | Avoid duplicating GtkEditable APIs. Port existing users.
* testsuite: Stop using grab-focus as a keybinding signalMatthias Clasen2019-02-261-5/+1
| | | | We don't have that signal anymore.
* compare-render: Assert that no error has been setTimm Bäder2019-02-251-0/+1
| | | | | Much better error message than just the one from the node != NULL assertion in the next line.
* a11y tests: Update output for entriesMatthias Clasen2019-02-232-1/+4
|
* Remove css test for key bindingsMatthias Clasen2019-02-2128-56/+0
|
* Merge branch 'nbpage' into 'master'Matthias Clasen2019-02-2116-321/+320
|\ | | | | | | | | Notebook child metas See merge request GNOME/gtk!594
| * tests: Update property testsMatthias Clasen2019-02-212-0/+9
| | | | | | | | The pages property must be skipped.
| * builder test: Update notebooksMatthias Clasen2019-02-211-14/+22
| |
| * css tests: Update ui files for notebooksMatthias Clasen2019-02-2110-280/+262
| |
| * a11y tests: Update ui filesMatthias Clasen2019-02-211-22/+22
| | | | | | | | Notebooks have changed.
| * css tests: Update expected output for entriesMatthias Clasen2019-02-212-5/+5
| | | | | | | | Flat is gone.
* | testsuite/gtk/singleselection.c: Avoid VLA usageChun-wei Fan2019-02-211-1/+1
|/ | | | | It is unfortunate that Visual Studio is unlikely to support VLA usage, so replace it with g_newa().
* a11y text test: Use a GtkText insteadMatthias Clasen2019-02-191-9/+9
|
* a11y tests: Update expected outputMatthias Clasen2019-02-195-15/+11
| | | | GtkText makes an appearance in many places now.
* focus test: Use a GtkText insteadMatthias Clasen2019-02-191-2/+2
| | | | Thats where the focus is nowadays.
* defaultvalue test: Exempt GtkText::bufferMatthias Clasen2019-02-191-1/+8
| | | | It gets created on-demand, so isn't NULL.
* testsuite: update css node testsMatthias Clasen2019-02-192-9/+13
| | | | The entries have changed. Reflect that.
* a11y: Update assistant test outputMatthias Clasen2019-02-171-4/+4
| | | | | This changed as part of the recent cleanup that removed some internal boxing.
* Merge branch 'assistant-cleanup' into 'master'Matthias Clasen2019-02-151-0/+10
|\ | | | | | | | | Assistant cleanup See merge request GNOME/gtk!581
| * singleselection: Make tests build without warningsMatthias Clasen2019-02-151-0/+10
| |
* | simpleselection: Improve items-changedBenjamin Otte2019-02-151-10/+76
| | | | | | | | | | | | | | Make items-changed never emit 2 signals, instead, always emit only one, potentially by extending the range reported in items-changed. And be a lot more exhaustive about autoselect tests.
* | selectionmodel: Change prototype of query_range()Benjamin Otte2019-02-151-2/+7
|/ | | | | | | | | | | | | | | | 1. Do not make position an inout variable The function is meant to return a range for a given position, not modify a position. So it makes no conceptual sense to use an inout variable. 2. Pass the selected state as an out variable Using a boolean return value - in particular in an interface full of boolean return values - makes the return value intuitively feel like a success/failure return. Using an out variable clarifies the usage. 3. Allow passing every position value Define what happens when position >= list.n_items 4. Clarify the docs about how this function should behave In particular, mention the case from point (3) 5. Add more tests Again, (3) needs testing.
* Exempt "pages" properties from defaultvalue testMatthias Clasen2019-02-131-1/+6
| | | | | | | Ironically, these properties are too good - they always give you a proper value, which is unfortunately different from the declared default value, which is NULL. So, don't check these.
* Update check-icon-names testsMatthias Clasen2019-02-121-99/+5
| | | | | Drop icons that are only used by demos, and check for ones that are actually used in gtk.
* testsuite: Consider bookmark-new as required iconMatthias Clasen2019-02-121-0/+1
| | | | This was missing from the list.
* Exclude some tests on too-old glibMatthias Clasen2019-02-101-0/+2
| | | | | | I'm coming to the conclusion that the ci test failures are due to a recently fixed bug in GListStore.
* add more autoselect testsMatthias Clasen2019-02-101-0/+11
|
* Reorder testsMatthias Clasen2019-02-101-4/+4
| | | | Trying to get to the bottom of a ci failure
* selection tests: Plug a memory leakMatthias Clasen2019-02-101-2/+6
|
* a11y tests: Adapt to changesMatthias Clasen2019-02-102-32/+12
| | | | | The buttons in the stack switcher are now toggle buttons, no longer radio buttons. Update expected output for that.
* testsuite: omit some selection propertiesMatthias Clasen2019-02-101-0/+6
| | | | | The selected property of GtkSingleSelection is not freely settable, so omit it from notification tests.
* testsuite: Add selection model testsMatthias Clasen2019-02-102-0/+541
|
* Merge branch 'idle-test-recentmanager' into 'master'Matthias Clasen2019-02-081-16/+29
|\ | | | | | | | | tests: Bulk add recent items in an idle See merge request GNOME/gtk!568
| * tests: Bulk add recent items in an idleEmmanuele Bassi2019-02-081-16/+29
| | | | | | | | | | | | Instead of adding them and waiting for the changed signal to be emitted in the main loop, there might be a race where the change signal is emitted before we have a chance of spinning the loop.
* | a11y tests: Update actionbar outputMatthias Clasen2019-02-081-6/+6
| | | | | | | | This changed with box packing changes.
* | a11y tests: Update dialog-related outputMatthias Clasen2019-02-083-1359/+1386
| | | | | | | | | | There was a change in internal dialog structure that is reflected in this output.
* | a11y tests: Update assistant ui fileMatthias Clasen2019-02-081-17/+16
| | | | | | | | The conversion was done with gtk-builder-tool simplify --3to4.
* | a11y tests: Update stack ui fileMatthias Clasen2019-02-081-18/+14
| | | | | | | | The conversion was done with gtk-builder-tool simplify --3to4.
* | notify test: Omit GtkStackPage::positionMatthias Clasen2019-02-081-0/+4
|/ | | | We can't change positions without a stack.
* Make GtkInvisible privateMatthias Clasen2019-02-061-1/+1
| | | | | We can't quite get rid of its use in the inspector, but we can make it private.