summaryrefslogtreecommitdiff
path: root/testsuite/tools
Commit message (Collapse)AuthorAgeFilesLines
* Update testsMatthias Clasen2023-05-091-6/+6
|
* Start 4.12 developmentMatthias Clasen2023-03-141-1/+1
|
* 4.10.04.10.0Matthias Clasen2023-03-041-1/+1
|
* gtk4-builder-tool: Prefer child propertiesMatthias Clasen2023-02-1914-6/+160
| | | | | | | Rewrite <child> elements to use child properties where that is easily possible. Fixes: #5609
* build: Drop the install-tests optionMatthias Clasen2022-12-191-32/+4
| | | | | | We no longer use installed tests in CI, so lets reap the benefit and simplify our build setup for tests.
* Fix expected test outputMatthias Clasen2022-09-281-1/+1
| | | | | | The major.minor version number shows up in the expected output of this test, so it needs to be adjusted at the beginning of every cycle.
* 4.8.04.8.0Matthias Clasen2022-09-061-1/+1
|
* Fix up tests for version bumpMatthias Clasen2022-02-231-1/+1
|
* 4.6.04.6.0Matthias Clasen2021-12-301-1/+1
|
* settings test: Print expected and seen valuesTimm Bäder2021-12-161-3/+6
| | | | | That test breaks locally (and in CI it seems?), so at least print the values we see.
* builder-tool: Don't simplify enums too muchBenjamin Otte2021-11-216-83/+83
| | | | | | | Store the enum nick, not the enum value. That way the file remains human-readable. Updated reftests to new expected output.
* gtk-builder-tool: Simplify moreMatthias Clasen2021-09-2910-184/+184
| | | | | | Simplify enum properties as well. Update affected tests.
* builder-tool: Avoid <style> when convertingMatthias Clasen2021-09-281-3/+1
| | | | | | We can just set the css-classes property instead. Update affected tests.
* Update settings testsMatthias Clasen2021-09-011-1/+1
| | | | | We have a new setting, so the test that is counting settings needs an update.
* Fix up test output for new versionMatthias Clasen2021-08-221-1/+1
| | | | | Annoying that this test has to be touched every time we bump the version.
* 4.4.04.4.0Matthias Clasen2021-08-201-1/+1
|
* testsuite: Set TEST_RESULT_DIR for tools testsMatthias Clasen2021-07-284-3/+10
|
* gtk-builder-tool: Replace can-focus with focusableMatthias Clasen2021-06-052-6/+77
| | | | | | | | | The focusable property has the meaning that can-focus had in GTK 3. Update tests, and mention this in the migration guide. Fixes: #3638
* Bump version to 4.3.0Matthias Clasen2021-05-021-1/+1
| | | | | | We are going to add new API. Fix up affected tests.
* Fix tests for new versionMatthias Clasen2021-03-301-1/+1
|
* builder-tool: Translate GtkImage:pixbufMatthias Clasen2021-01-272-0/+22
| | | | | | The pixbuf property doesn't exist anymore. It is commonly set to a path in ui files, so translate it to the file property.
* Bump version to 4.1Matthias Clasen2021-01-181-1/+1
| | | | | | | master is now open for 4.2 API additions. Includes an update for the one test we have that has the version number in its expected output.
* 3to4: Remove GtkToolbar::toolbar_styleMatthias Clasen2021-01-051-0/+1
| | | | | | | The property was removed (with the rest of the widget), so keeping it around in the ui file makes no sense. Testcase included.
* 3to4: Add test for GtkCheckButton:draw-indicator removalebassi/issue-3492Emmanuele Bassi2020-12-192-0/+36
|
* Update expected test resultsMatthias Clasen2020-12-162-2/+2
| | | | We have one test that expected 3.99 to show up in an error message.
* build: Use a consistent style for Meson filesEmmanuele Bassi2020-12-151-19/+23
|
* Merge branch 'matthiasc/builder-requires' into 'master'Matthias Clasen2020-11-1134-18/+32
|\ | | | | | | | | Matthiasc/builder requires See merge request GNOME/gtk!2806
| * testsuite: Update buildertool testsmatthiasc/builder-requiresMatthias Clasen2020-11-1034-18/+32
| | | | | | | | | | | | | | | | gtk-builder-tool simplify --3to4 now produces a <requires lib="gtk" version="4.0"/>. Adapt for that, and also add some tests that check that we actually verify the requires, and accept 3.99 and 4.0, but not 5.x.
| * Fix tests with regard to GtkBuilder <requires>.arnaudb/requiresArnaud Bonatti2020-11-076-6/+6
| |
* | a11y: Consolidate accessibility environment variablesEmmanuele Bassi2020-11-092-2/+2
|/ | | | | | | | | | | | | Use a single environment variable for everything: - select the ATContext implementation - select the test ATContext - disable ATContext entirely We use the same pattern as GSK_RENDERER, GTK_DEBUG, etc. The documentation needs to be updated to include the environment variable.
* testsuite: Add tests for gtk4-builder-tool validateMatthias Clasen2020-11-0114-1/+70
|
* testsuite: Test GtkFixed rewritingMatthias Clasen2020-11-012-0/+30
|
* testsuite: Test GtkToolbar rewritingMatthias Clasen2020-11-012-0/+51
|
* testsuite: Test GtkActionBar rewritingMatthias Clasen2020-11-012-0/+27
|
* testsuite: Test GtkPaned rewritingMatthias Clasen2020-11-012-0/+39
|
* testsuite: Test GtkOverlay rewritingMatthias Clasen2020-11-012-0/+37
|
* Remove leftover fileMatthias Clasen2020-11-011-10/+0
| | | | This was never used in tests.
* testsuite: More gtk4-builder-tool testsMatthias Clasen2020-11-012-0/+14
|
* testsuite: Test gtk4-builder-tool simplify --replaceMatthias Clasen2020-11-012-2/+30
| | | | | Run all gtk4-builder-tool test with and without --replace. This improves test coverage for gtk4-builder-tool
* tests: Use the test ATContext for every testEmmanuele Bassi2020-10-121-0/+1
| | | | | Otherwise we're going to need a full desktop session in order to run the test suite.
* Use test AT context with installed testsEmmanuele Bassi2020-10-121-1/+1
| | | | | Otherwise we're going to need an AT-SPI service on the session, and the accessibility bus.
* scale: Make draw-value default to FALSEMatthias Clasen2020-10-042-0/+24
| | | | | | | | | | This is rarely what you want, so lets turn it off by default. Update the one place in our demos where we want to draw a value, add support for this to gtk-builder-tool, add a test and mention this change in the migration guide.
* builder-tool: Replace radio buttons by check buttonsMatthias Clasen2020-08-302-2/+26
| | | | | | | For --3to4, replace GtkRadioButton by either GtkCheckButton or GtkToggleButton, depending on the value of :draw-indicator. Update the testsuite to cover this.
* builder-tool: Rewrite GtkBoxJason Francis2020-08-204-23/+1746
| | | | | | | | | | Rewrite expand/fill properties on GtkBox to hexpand/halign/vexpand/valign on the child widget. Rewrite GtkVBox and GtkHBox to GtkBox, setting the orientation property. Added a test for boxes.
* builder-tool: Rewrite top/left-attachMatthias Clasen2020-08-022-32/+32
| | | | | | | Rewrite the GtkGrid:top/left-attach child properties to the GtkGridLayoutChild:row/column layout properties. Update expected test output to match.
* Remove ATKEmmanuele Bassi2020-07-262-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To build a better world sometimes means having to tear the old one down. -- Alexander Pierce, "Captain America: The Winter Soldier" ATK served us well for nearly 20 years, but the world has changed, and GTK has changed with it. Now ATK is mostly a hindrance towards improving the accessibility stack: - it maps to a very specific implementation, AT-SPI, which is Linux and Unix specific - it requires implementing the same functionality in three different layers of the stack: AT-SPI, ATK, and GTK - only GTK uses it; every other Linux and Unix toolkit and application talks to AT-SPI directly, including assistive technologies Sadly, we cannot incrementally port GTK to a new accessibility stack; since ATK insulates us entirely from the underlying implementation, we cannot replace it piecemeal. Instead, we're going to remove everything and then incrementally build on a clean slate: - add an "accessible" interface, implemented by GTK objects directly, which describe the accessible role and state changes for every UI element - add an "assistive technology context" to proxy a native accessibility API, and assign it to every widget - implement the AT context depending on the platform For more information, see: https://gitlab.gnome.org/GNOME/gtk/-/issues/2833
* headerbar: Show title buttons by defaultAlexander Mikhaylenko2020-07-021-1/+0
| | | | | Most of the time show-title-buttons is set to TRUE. Go ahead and make that the default.
* tests: Centralize our test setup a bitMatthias Clasen2020-05-151-5/+1
| | | | | | Put all of the constant environment into the toplevel meson.build file, to reduce repetition and copy-paste errors.
* Add a test for bin child conversionMatthias Clasen2020-05-042-0/+28
|
* builder-tool: Convert former bin childrenMatthias Clasen2020-05-044-8/+8
| | | | | | Convert from <child> elements to <property name="child"> for former GtkBin subclasses. Update test results to match.