summaryrefslogtreecommitdiff
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* Stop using one-stop gradients in reftestsMatthias Clasen2016-07-262-6/+6
| | | | This is causing warnings now that make the tests fail.
* reftests: override GSETTINGS_SCHEMA_DIR when running testsCosimo Cecchi2016-07-252-0/+22
| | | | | | | The reftest depends on a schema we install ourselves. Instruct GIO to look in the build directory to avoid a cyclic dep. https://bugzilla.gnome.org/show_bug.cgi?id=768930
* Add a css parser test for background-blend-modeMatthias Clasen2016-07-053-0/+40
|
* Skip GdkDrawingContext in some testsMatthias Clasen2016-06-202-0/+2
| | | | | GdkDrawingContext is not freely constructible, so we need to skip it in the notify and finalize tests.
* style cascade: Allow cascades with more ancestorsPhilip Chimento2016-06-191-0/+230
| | | | | | | | | | | | | | | Previously a style cascade's parent could not have a parent itself. That represented the two levels at which you could add a style provider: at the screen level, with gtk_style_context_add_provider_for_screen(), and at the style context level, with gtk_style_context_add_provider(). This commit changes no functionality, but this change will be necessary for adding style providers in the future that apply to a subtree of the widget tree. It relaxes the requirement that a style cascade's parent must not have a parent, since in the future a style context may be affected by any number of parent widgets' style contexts. https://bugzilla.gnome.org/show_bug.cgi?id=751409
* scrolledwindow test: Check natural width for max content sizeTristan Van Berkom2016-06-091-4/+4
| | | | | | The maximum content size does not increase the minimum request but only ensures that both minimum and natural requests do not exceed the maximum setting.
* Fix buildEmmanuele Bassi2016-06-081-2/+2
| | | | | | | | | | | Commit 023f406c9617284ee3b88727df489f20cd066fd6 has a typo that results in this error: ../../../testsuite/gtk/notify.c: In function 'test_type': ../../../testsuite/gtk/notify.c:679:54: error: expected expression before ')' token (g_str_equal (pspec->name, "max-content-width") ||) ^
* test: Skip GtkScrolledWindow::max-content- propertiesMatthias Clasen2016-06-081-0/+6
| | | | | | | The allowed values for the max-content- properties depend on the value of the min-content- properties, in a way that our simple test is not prepared to deal with. Just skip them for now.
* object test: Also test object type propertiesChristian Dywan2016-06-051-1/+19
| | | | | | | Old patch found in bugzilla, it still applies and doesn't cause the test to fail. https://bugzilla.gnome.org/show_bug.cgi?id=556254
* testsuite: add tests for scrolledwindowGeorges Basile Stavracas Neto2016-06-052-0/+140
| | | | | | | | This patch adds a set of tests for scrolled window sizing, covering both min- and max-content width and height. https://bugzilla.gnome.org/show_bug.cgi?id=742281
* a11y tests: Update expected outputMatthias Clasen2016-06-014-162/+4
| | | | These changes were caused by the introduction of GtkStackAccessible.
* button css node test: Update for switch style changesMatthias Clasen2016-06-011-2/+2
| | | | | We no longer add the redundant .slider style class in GtkSwitch. Update expected results to reflect that.
* css node tests: Update expected resultsMatthias Clasen2016-06-0110-65/+65
| | | | | We were not propagating direction changes in some places, evidently. Now we do.
* scale css node test: Adapt to changesMatthias Clasen2016-05-191-3/+3
| | | | The style classes are reflected in the output here.
* Use upstream gettextJavier Jardón2016-05-161-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=373745
* Update color name css style testMatthias Clasen2016-05-053-27/+31
| | | | Verify rebeccapurple too.
* defaultvalue test: Skip GdkMonitor::geometryMatthias Clasen2016-05-021-0/+5
| | | | | We never return NULL for ::geometry and ::workarea. Just skip these properties.
* label css style test: fix font syntaxMatthias Clasen2016-04-262-6/+2
|
* Remove debug spewMatthias Clasen2016-04-261-4/+0
|
* Fix css parser testsMatthias Clasen2016-04-2613-87/+87
| | | | | These tests were affected by the font and linear-gradient parsing changes.
* notify test: Skip GtkFontButton::font-nameMatthias Clasen2016-04-251-0/+8
| | | | This is not freely settable.
* textiter: add unit test for forward_to_line_endPaolo Borelli2016-04-221-0/+33
| | | | Surprisingly we had no unit test for this method
* Expand css style font testsMatthias Clasen2016-04-183-2/+79
| | | | Test more of the syntax of the font: shorthand.
* Fix the css style font testMatthias Clasen2016-04-182-8/+8
| | | | | | | | | Setting the font: shorthand to something like smaller is not in line with the css spec. Just set the font-size: property for this. Also fix the other font: shorthand to specify size and family according to the css spec.
* Add some more accelerator / modifier testsMatthias Clasen2016-04-171-1/+23
|
* Fix label css testMatt Watson2016-04-142-1/+2
| | | | | | The default font size of 10pt will now properly render as 13.33px, but we shouldn't use the default anyway as that can be controlled by user settings
* reftests: test rem sizeMatt Watson2016-04-123-0/+49
|
* reftests: test em sizeMatt Watson2016-04-124-0/+779
|
* test: do not remove files on distcleanOlivier Fourdan2016-04-081-1/+0
| | | | bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764686
* Add some tests for GdkRectangleMatthias Clasen2016-03-282-0/+83
| | | | | In particular, we're testing corner cases with empty rectangles here.
* Expand visual tests a bitMatthias Clasen2016-03-281-0/+3
|
* Add tests for seat apisMatthias Clasen2016-03-282-0/+121
| | | | These are just some basic sanity tests.
* Move autotestkeywords to testsuiteMatthias Clasen2016-03-282-0/+54
| | | | | All the 'make check' and installed tests are now in testsuite/, and tests/ is just a collection manual test programs.
* Add some more visual testsMatthias Clasen2016-03-261-5/+125
| | | | | These are just basic tests to ensure that the visual implementation of a backend is sound.
* Add a test for the system rgba visualMatthias Clasen2016-03-262-0/+66
| | | | | The main point of this test is to ensure that the pixel_details getters work as expected.
* Add a css node test for scalesMatthias Clasen2016-03-253-0/+158
|
* add a css style test for font: smallerMatthias Clasen2016-03-244-0/+39
|
* Update css node test for GtkSwitch changesMatthias Clasen2016-03-241-1/+1
|
* Revert "add a css style test for font: smaller"Matthias Clasen2016-03-244-39/+0
| | | | | | | This reverts commit a4ed154b037aaf03f8c166a711c326a030225eed. The misparsing that is tested here will not be fixed in 3.20, so keep this test out of the stable branch.
* add a css style test for font: smallerMatthias Clasen2016-03-244-0/+39
|
* Run a11y tests with csd for make checkMatthias Clasen2016-03-221-0/+1
| | | | | I've made this change for installed tests a while ago. It doesn't make sense for distcheck to do it differently.
* Fix the textview-margins reftestMatthias Clasen2016-03-112-2/+4
| | | | | | This test has a word that wouldn't fit in the room we have with a window width of 100, and then we get clipped in the one case but not the other. Make the window a little wider, so it fits.
* cssanimation: Compute progress correctlyBenjamin Otte2016-03-114-0/+2416
| | | | | | | We were computing the wrong progress, in particular when the iteration count was non-integer. Test included.
* Fix another installed test typoMatthias Clasen2016-03-071-1/+1
| | | | | This one was causing us to install invalid .test files and thereby breaking all continuous tests :-(
* Fix a typoMatthias Clasen2016-03-071-1/+1
| | | | | This was causing the tools tests to not be installed and, consequently, never run on continuous.
* Make the settings test failMatthias Clasen2016-03-051-1/+1
| | | | | Small thinko: We only get to see the test artifacts in continuous if the test fails. So make it fail, temporarily.
* testsuite: Remove a test that isn't valid with csdMatthias Clasen2016-03-051-3/+0
| | | | | | With csd, the allocation of the window will be larger than the default size, since it includes borders and decorations. Just remove this check.
* Add a test that dumps settingsMatthias Clasen2016-03-052-3/+27
| | | | | | This is not much of a test, tbh. But it will give us a convenient dump of all GTK+ settings in continuous, which helps with tracking down test failures that might depend on settings.
* Update a11y test outputMatthias Clasen2016-03-057-26/+82
| | | | These tests can now assume that the csd header bar will be there.
* Run accessibility tests always with CSDMatthias Clasen2016-03-051-1/+1
| | | | | This avoids differences in the output that are caused by the presence or absence of the header bar.