summaryrefslogtreecommitdiff
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* Update testsMatthias Clasen2023-05-091-6/+6
|
* Merge branch 'wip/ebassi/gen-version-macros' into 'main'Matthias Clasen2023-05-096-11/+8
|\ | | | | | | | | Generate version and deprecation macros at build time See merge request GNOME/gtk!5945
| * build: Internal tests must set GTK_COMPILATIONEmmanuele Bassi2023-05-094-5/+5
| | | | | | | | | | Otherwise they won't be able to use the appropriate function visibility on Windows.
| * build: Use Meson's gnu_symbol_visibilityEmmanuele Bassi2023-05-093-6/+3
| | | | | | | | | | | | | | | | Instead of injecting `-fvisibility=hidden` depending on a compiler check ourselves, let Meson do it for us. This also avoids us having to filter `-fvisibility=hidden` when reusing the common compiler flags.
* | Merge branch 'wip/otte/sections' into 'main'Matthias Clasen2023-05-096-7/+934
|\ \ | |/ |/| | | | | Add GtkSectionModel See merge request GNOME/gtk!5818
| * listitemmanager: Create header items for sectionsBenjamin Otte2023-05-091-3/+13
| | | | | | | | | | Now, finally, listitemmanager has all the necessary support to make section headers work.
| * listitemmanager: Add GtkListHeaderBase and vfuncsBenjamin Otte2023-05-091-4/+23
| | | | | | | | | | | | This is plumbing for section handling. The vfuncs don't do anything, this is just the infrastructure.
| * listitemmanager: Make sections configurableBenjamin Otte2023-05-091-1/+10
| | | | | | | | | | | | Add a gtk_list_item_manager_set_has_sections() (default: FALSE) that requires explicit turning on for the listitemmanager to gain section support.
| * testsuite: assert widgets are in matched sectionsBenjamin Otte2023-05-091-0/+1
| | | | | | | | | | All widgets that we display should have their sections known, so assert that that is the case.
| * testsuite: Add a print function for the listitemmanagerBenjamin Otte2023-05-091-0/+55
| | | | | | | | This is very useful when debugging.
| * testsuite: Add verbose output to listitemmanager testBenjamin Otte2023-05-091-4/+33
| |
| * listitemmanager: Add section tilesBenjamin Otte2023-05-091-0/+65
| | | | | | | | | | For now, we just have a HEADER at the start and a FOOTER at the end. That's hard enough to get right.
| * testsuite: Improve listitemmanager testBenjamin Otte2023-05-091-14/+117
| | | | | | | | It now has trackers!
| * testsuite: Add tests for sections to filterlistmodelBenjamin Otte2023-05-091-0/+18
| |
| * Add a test for filterlistmodel sectionsMatthias Clasen2023-05-091-1/+90
| |
| * testsuite: Add section tests to sortlistmodel testBenjamin Otte2023-05-091-1/+270
| |
| * Add a test for sortlistmodel sectionsMatthias Clasen2023-05-091-5/+58
| |
| * testsuite: Add a listitemmanager testBenjamin Otte2023-05-092-0/+207
| |
* | Merge branch 'reftest-msvc' into 'main'Matthias Clasen2023-05-091-0/+6
|\ \ | | | | | | | | | | | | reftest-snapshot.c: Fix running reftests on Visual Studio See merge request GNOME/gtk!5937
| * | reftest-snapshot.c: Fix running reftests on Visual StudioChun-wei Fan2023-05-081-0/+6
| |/ | | | | | | | | On Visual Studio-like builds, shove a ".dll" suffix for the reftest module so that we look for the correct DLL when running the tests.
* | testsuite: Handle duplicate enum valuesMatthias Clasen2023-05-081-0/+5
|/ | | | | | | Our notify tests would fall over if there was a duplicate enum value (within the first 10 values). Make it handle that, by skipping the duplicate value.
* Add a test for quick key eventsMatthias Clasen2023-05-061-0/+56
|
* ci: Improve headless test loggingMatthias Clasen2023-05-065-96/+141
|
* ci: Bump timeouts for headless testsMatthias Clasen2023-05-051-4/+4
|
* Add a masked variation to gsk testsMatthias Clasen2023-05-052-1/+86
| | | | This improves test coverage for mask nodes.
* ci: Bump timeouts of headless testsMatthias Clasen2023-05-051-1/+1
|
* Remove a no longer building testMatthias Clasen2023-05-042-251/+0
|
* Skip another failing gsk test with small texturesMatthias Clasen2023-05-041-1/+2
|
* Merge wayland_smalltexture and wayland_glesMatthias Clasen2023-05-042-6/+4
| | | | | | We don't really need to have two full separate test runs for these conditions, so combine them into one test setup.
* ci: Mark headless monitor test as workingMatthias Clasen2023-05-041-1/+1
|
* More debug spewMatthias Clasen2023-05-042-1/+6
| | | | Lets see what MUTTER_DEBUG=screen-cast says.
* Add generous waitsMatthias Clasen2023-05-043-3/+10
| | | | | These tests work in the smae container locally. Perhaps this is down to timing?
* Mark the headless monitor test as failingMatthias Clasen2023-05-031-1/+1
| | | | | | | | This is failing because I can't figure out how to make wireplumber and pipewire work in ci enough to let me add a new monitor :( As usual, the test works fine locally.
* Try to fix dnd testsMatthias Clasen2023-05-031-0/+2
|
* Typo fixMatthias Clasen2023-05-031-1/+1
|
* headless tests: Add debug spewMatthias Clasen2023-05-032-5/+5
| | | | | Trying to track down what is going on with our missing monitors.
* ci: Launch pipewire and wireplumberMatthias Clasen2023-05-032-4/+24
| | | | | The headless tests require pipewire and wireplumber for screencast sessions to work. So launch them.
* Use python3Matthias Clasen2023-05-032-2/+2
| | | | No /usr/bin/python in our CI image :(
* Make the headless input tests workMatthias Clasen2023-05-036-1/+789
| | | | | | | | | These needed some updates and workarounds. They are now part of the testsuite and can be run like this: meson test -Cbuild --suite headless
* Fix scan-build warningMatthias Clasen2023-05-031-0/+1
|
* Skip some tests with small texturesMatthias Clasen2023-05-012-3/+16
| | | | | | When textures are too large, we will scale them down to fit the max texture size, which will cause comparisons to fail.
* Improve test coverageMatthias Clasen2023-05-011-0/+2
| | | | Check that our two rounded rect intersection functions agree.
* gsk: Give up on one testMatthias Clasen2023-05-011-1/+1
| | | | | | The rounded-clip-in-clip-3d test fails in GL when flipped. Given that it was already excluded from cairo, and also fails cairo when flipped, give up on it for now.
* Improve rounded rect intersectionMatthias Clasen2023-05-011-0/+73
| | | | | | | | Move the rounded rect/rect intersection code to gskroundedrect.c, make it more precise, and add tests for it. Update the callers in the GL renderer.
* Add a test for rotated blend nodesMatthias Clasen2023-05-013-0/+14
|
* Add a test for rotated cross-fade nodesMatthias Clasen2023-05-013-0/+15
| | | | | This one checks that we don't apply the modelview transform twice with cross-fades.
* Add another testMatthias Clasen2023-05-013-0/+24
|
* Add another gsk testMatthias Clasen2023-05-011-0/+1
|
* testsuite: Fix gsk testMatthias Clasen2023-05-013-9/+68
| | | | | | | | The repeated tests were not careful enough to produce the correct reference image to match what the repeat node does. With these changes, all cairo tests pass.
* testsuite: Add more gsk testsMatthias Clasen2023-05-011-0/+45
| | | | | | Add separate suites for running the gsk compare-render tests with the --flip, --rotate or --repeat options. A bunch of these fail currently, and need diagnosis.