summaryrefslogtreecommitdiff
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* scale css node test: Adapt to changesMatthias Clasen2016-05-191-3/+3
| | | | The style classes are reflected in the output here.
* Update css node tests for removal of .slider from GtkSwitchMatthias Clasen2016-05-091-2/+2
|
* notify test: Skip GtkFontButton::font-nameMatthias Clasen2016-05-051-0/+8
| | | | This is not freely settable.
* textiter: add unit test for forward_to_line_endPaolo Borelli2016-05-051-0/+33
| | | | Surprisingly we had no unit test for this method
* Add some more accelerator / modifier testsMatthias Clasen2016-04-191-1/+23
|
* test: do not remove files on distcleanOlivier Fourdan2016-04-081-1/+0
| | | | bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764686
* 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
|
* 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.
* Update expected output of a11y testsMatthias Clasen2016-03-0438-4/+41
| | | | | The window type attribute shows up here now. The caret mode changes also affect some tests.
* reftests: add a test for animated box shadow updating clipMatt Watson2016-03-034-0/+79
| | | | This was just fixed by 3e0694284785153944255a0501e84a76c491e4b4
* reftests: rename util file frame-inhibitorMatt Watson2016-03-032-1/+1
| | | | | We'll use the label-text-shadow-changes-modify-clip utils more generically, lets name the file after its function.
* revealer-size: Fix animation settingTimm Bäder2016-03-031-3/+3
| | | | | Turn animations off before testing, for all test functions containing "no_animations".
* Add GtkRevealer sizing testsTimm Bäder2016-03-032-0/+154
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=762996
* Add a css node test for comboboxesMatthias Clasen2016-03-023-0/+73
|
* css node tests: Update notebook resultsMatthias Clasen2016-03-0110-10/+10
| | | | This is fallout from changing the tab states.
* testsuite: Fix up icontheme testMatthias Clasen2016-02-281-5/+7
| | | | | This test was relying on GtkIconTheme using g_print for debug spew. Adapt it to use g_logv instead.
* testsuite: Strip newlines from g_warning and g_errorMatthias Clasen2016-02-284-14/+14
| | | | g_logv adds one for us already.
* Plug a small memory leakMatthias Clasen2016-02-261-0/+2
|
* cssparser: Make _gtk_css_parser_has_number() a bit smarterBenjamin Otte2016-02-233-0/+14
| | | | | | | | Previously we just checked the first character. And if that was a "-" as in "-gtk-some-special-value", we assumed it was a number. Which it clearly wasn't. Test included
* Some more CSS node tests for notebooksMatthias Clasen2016-02-155-0/+119
|
* testsuite: Don't use deprecated APIsBenjamin Otte2016-02-131-9/+9
|
* calc: Allow subterms with '(' ')' bracketingBenjamin Otte2016-02-134-0/+52
| | | | Some more tests included.
* css: Add support for '*' and '/' to calc()Benjamin Otte2016-02-136-0/+85
| | | | More tests are included.
* css: Add API to handle order when printing calc()Benjamin Otte2016-02-133-1/+33
| | | | | Also, add some tests and update old ones to print calc() statements correctly.
* css: Add support for sums to calc()Benjamin Otte2016-02-132-0/+8
| | | | | | | | | | This requires adding code to do math on number values: gtk_css_number_value_multiply() and gtk_css_number_value_try_add() were added to achieve that. Some tests are included.
* css: Add initial support for calc()Benjamin Otte2016-02-133-0/+74
| | | | So far, calc() only supports literals, ie it's completely useless.
* testsuite: No warnings on type conversions pleaseBenjamin Otte2016-02-111-2/+2
| | | | long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that.
* Add css node tests for box packingMatthias Clasen2016-02-085-0/+90
| | | | | More tests to ensure that CSS node order is always physical left-to-right.
* Fix levelbar css node testsMatthias Clasen2016-02-074-30/+60
| | | | | | These were affected by the recent change to level offset handling. At the same time, make the test files more realistic by updating the level offsets when we set a custom range.
* Fix stylecontext testsMatthias Clasen2016-02-061-14/+16
| | | | | This was broken by f7ec9c98ef0ef8740c93f96af9d971b0211118c1, since type names are no longer used at all in CSS matching.
* cssimageradial: Only allow at "<position>" after other propsBenjamin Otte2016-02-054-0/+15
| | | | | | | | | | | | | | | Don't allow syntax like at top left circle but follow the spec about requiring the at <position> right before the comma. This is porbably because circle at 10px 10px could be interpreted as circle 10px at 10px with the now disallowed syntax, too. Test included.
* cssimageradial: Only emit one error for wrong positionBenjamin Otte2016-02-054-0/+7
| | | | Test included.
* css tests: Fix style testsMatthias Clasen2016-02-052-2/+2
| | | | | | Commit d0fd7990c3f2c738f86185418ccd76b14da8a776 changed the location of builtin themes, breaking the loading of the empty theme in test-css-style.
* css tests: Fix expected outputMatthias Clasen2016-02-051-2/+2
| | | | This is fallout from f7ec9c98ef0ef8740c93f96af9d971b0211118c1.
* reftests: Make separator-size test pass in HighContrastInverseMatthias Clasen2016-01-311-0/+1
| | | | | After neutralizing the stack background, the notebook itself was peeking through.
* Trivial formatting fixMatthias Clasen2016-01-311-2/+3
|
* reftests: Make label-text-shadow-changes-modify-clip test more reliableMatthias Clasen2016-01-312-0/+19
| | | | | | | This test was failing in continuous, where the tests are running in a VM with disabled animations. Make the test adapt to that situation by changing the rui on the fly if we find that animations are disabled.