summaryrefslogtreecommitdiff
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* Improve test coverage for property lookup modelsMatthias Clasen2023-05-161-1/+8
|
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2023-05-162-14/+177
|\ | | | | | | | | Matthiasc/for main See merge request GNOME/gtk!5975
| * Improve test coverage for sortersMatthias Clasen2023-05-161-14/+162
| |
| * Improve test coverage for GtkPropertyLookupListModelMatthias Clasen2023-05-161-0/+15
| |
* | nodeparser: Move an error checkBenjamin Otte2023-05-164-6/+6
| | | | | | | | By putting the check earlier, it will be emitted for the right token.
* | testsuite: Add crossfade-clip-both-children testBenjamin Otte2023-05-163-0/+19
| | | | | | | | | | | | | | | | | | | | | | This one tests a crossfade between two non-overlapping nodes with a clip region that covers neither of the two nodes. This tests that renderers can deal with clip regions that doesn't overlap nodes in a situation where they will most likely want to create an offscreen. As offscreens are typically clipped to the clip region, this would cause an empty offscreen and that can cause failures.
* | testsuite: Add clip-translate-offscreen testBenjamin Otte2023-05-163-0/+18
| | | | | | | | | | | | | | | | This was an experiment where an offscreen was translated inside an existing clip. Because renderers try to limit offscreens to the clip rect, this is interesting, because they might get the translation wrong.
* | css: Remove crashy resource:// optimizationBenjamin Otte2023-05-163-0/+12
| | | | | | | | | | | | | | | | | | | | | | Using gdk_texture_new_from_resource() is not valid here because we are not sure if the given resource is valid. Plus, the previous optimization is no longer relevant, because we are not using gdk_pixbuf_new_from_resource() anymore - which was what this optimization was about before it was ported to GdkTexture. Test attached.
* | testsuite: Add testcase for z clippingBenjamin Otte2023-05-163-0/+29
|/ | | | | the near and far clipping plane are at -10000 and 10000 respectively. Test that the renderers respect that.
* Improve test coverage for GtkStringSorterMatthias Clasen2023-05-151-0/+6
|
* Fix texture tests with GLESMatthias Clasen2023-05-151-2/+7
| | | | No sync for you if you're using GLES.
* Improve test coverage for GdkGLContextMatthias Clasen2023-05-151-0/+82
|
* Add tests for GdkTextureDownloaderMatthias Clasen2023-05-151-0/+40
|
* Test gltexture update functionalityMatthias Clasen2023-05-152-8/+113
|
* Improve gdk test coverageMatthias Clasen2023-05-151-0/+32
|
* Add more texture load testsMatthias Clasen2023-05-149-21/+809
| | | | | | | | Add some tests for handling of failures. The test data here is taking from gdk-pixbufs tests/test-images/fail directory, excluding anything but png, tiff and jpg images.
* Improve gdk test coverageMatthias Clasen2023-05-141-0/+200
| | | | Test the loadable icon implementation of GdkTexture.
* Improve gdk test coverageMatthias Clasen2023-05-133-0/+118
| | | | | Add tests for GdkToplevvelLayout and GdkPopupLayout.
* Stop using gtk_css_provider_load_from_dataMatthias Clasen2023-05-132-3/+6
|
* Improve css parser test coverageMatthias Clasen2023-05-1315-15/+70
|
* testsuite: CosmeticsMatthias Clasen2023-05-123-58/+20
|
* Test the deprecation supportMatthias Clasen2023-05-121-1/+1
| | | | Test gtk4-builder-tool validate --deprecations
* Add tests for gtk4-builder-tool enumerateMatthias Clasen2023-05-128-1/+12152
|
* Add tests for hsv<>rgb conversionMatthias Clasen2023-05-122-0/+63
|
* Improve test coverage for the css parserMatthias Clasen2023-05-1212-0/+37
|
* css: Improve transition test coverageMatthias Clasen2023-05-121-2/+91
|
* Improve css parser test coverageMatthias Clasen2023-05-1271-0/+202
|
* Improve test coverage for list modelsMatthias Clasen2023-05-113-3/+24
|
* Add a little wait to focus testsMatthias Clasen2023-05-111-10/+21
| | | | | I don't know exactly why, but this seems to help the tests not fail on X11.
* testsuite: Simplify shader testMatthias Clasen2023-05-111-6/+5
| | | | | Simplify the shader to something GLES will successfully compile.
* testsuite: fix another surface unref warningMatthias Clasen2023-05-111-1/+1
|
* gsk: Improve test coverageMatthias Clasen2023-05-103-11/+324
| | | | | Add more tests for gsk transforms, render node and renderer apis.
* testsuite: Close displays in the gsk testsMatthias Clasen2023-05-101-0/+2
| | | | | | This gives us better coverage of the dispose codepath for a driver that has actually been used.
* tests: Don't disable vertex arraysMatthias Clasen2023-05-091-1/+0
| | | | It doesn't work, and that makes tests fail.
* Improve coverage for half-float fallbacksMatthias Clasen2023-05-091-0/+76
|
* tests: Stop copying the tool testsMatthias Clasen2023-05-095-6/+2
| | | | | No point in doing that, and the meson feature we are using here is deprecated.
* 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
| |