Matthias Clasen
3015f46170
Fix another installed test typo
...
This one was causing us to install invalid .test files and thereby
breaking all continuous tests :-(
2016-03-07 10:50:43 -05:00
Matthias Clasen
8a1da56393
Fix a typo
...
This was causing the tools tests to not be installed and,
consequently, never run on continuous.
2016-03-07 07:30:00 -05:00
Matthias Clasen
5c248bbd79
Make the settings test fail
...
Small thinko: We only get to see the test artifacts in
continuous if the test fails. So make it fail, temporarily.
2016-03-05 15:49:34 -05:00
Matthias Clasen
d69100547c
testsuite: Remove a test that isn't valid with csd
...
With csd, the allocation of the window will be larger than the
default size, since it includes borders and decorations. Just
remove this check.
2016-03-05 13:47:41 -05:00
Matthias Clasen
b2e6ad640d
Add a test that dumps settings
...
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.
2016-03-05 13:41:47 -05:00
Matthias Clasen
8a62a36d2e
Update a11y test output
...
These tests can now assume that the csd header bar will be there.
2016-03-05 10:40:06 -05:00
Matthias Clasen
6ce3c78b7a
Run accessibility tests always with CSD
...
This avoids differences in the output that are caused
by the presence or absence of the header bar.
2016-03-05 10:40:06 -05:00
Matthias Clasen
fa36f34fcf
Update expected output of a11y tests
...
The window type attribute shows up here now.
The caret mode changes also affect some tests.
2016-03-04 23:51:39 -05:00
Matt Watson
d46d50b761
reftests: add a test for animated box shadow updating clip
...
This was just fixed by 3e06942847
2016-03-03 16:14:39 -08:00
Matt Watson
35d9702173
reftests: rename util file frame-inhibitor
...
We'll use the label-text-shadow-changes-modify-clip utils
more generically, lets name the file after its function.
2016-03-03 16:09:13 -08:00
Timm Bäder
8b70115d5e
revealer-size: Fix animation setting
...
Turn animations off before testing, for all test functions containing
"no_animations".
2016-03-03 21:05:37 +01:00
Timm Bäder
1c544e4237
Add GtkRevealer sizing tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=762996
2016-03-03 18:54:08 +01:00
Matthias Clasen
8205a304e8
Add a css node test for comboboxes
2016-03-02 15:20:31 -05:00
Matthias Clasen
444703f2bb
css node tests: Update notebook results
...
This is fallout from changing the tab states.
2016-03-01 23:25:56 -05:00
Matthias Clasen
b1d691dbfd
testsuite: Fix up icontheme test
...
This test was relying on GtkIconTheme using g_print for
debug spew. Adapt it to use g_logv instead.
2016-02-28 21:40:23 -05:00
Matthias Clasen
9dad9a4b59
testsuite: Strip newlines from g_warning and g_error
...
g_logv adds one for us already.
2016-02-28 12:23:12 -05:00
Matthias Clasen
8ff40b5d14
Plug a small memory leak
2016-02-26 15:52:19 -05:00
Benjamin Otte
3056d793a4
cssparser: Make _gtk_css_parser_has_number() a bit smarter
...
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
2016-02-23 04:22:19 +01:00
Matthias Clasen
c30d542a17
Some more CSS node tests for notebooks
2016-02-15 14:20:48 -05:00
Benjamin Otte
d3e8cf87aa
testsuite: Don't use deprecated APIs
2016-02-13 06:41:29 +01:00
Benjamin Otte
0cda3ba3e8
calc: Allow subterms with '(' ')' bracketing
...
Some more tests included.
2016-02-13 04:49:08 +01:00
Benjamin Otte
63d1f80742
css: Add support for '*' and '/' to calc()
...
More tests are included.
2016-02-13 04:49:08 +01:00
Benjamin Otte
4a9fa1e750
css: Add API to handle order when printing calc()
...
Also, add some tests and update old ones to print calc() statements
correctly.
2016-02-13 04:49:08 +01:00
Benjamin Otte
65dd9da44a
css: Add support for sums to calc()
...
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.
2016-02-13 04:49:08 +01:00
Benjamin Otte
cd6dc954f2
css: Add initial support for calc()
...
So far, calc() only supports literals, ie it's completely useless.
2016-02-13 04:49:08 +01:00
Benjamin Otte
f9c2982ddc
testsuite: No warnings on type conversions please
...
long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that.
2016-02-11 03:44:47 +01:00
Matthias Clasen
e0f31ab7bb
Add css node tests for box packing
...
More tests to ensure that CSS node order is always physical
left-to-right.
2016-02-08 09:34:19 +01:00
Matthias Clasen
4a465e6832
Fix levelbar css node tests
...
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.
2016-02-07 11:43:13 +01:00
Matthias Clasen
4d40bd4474
Fix stylecontext tests
...
This was broken by f7ec9c98ef
,
since type names are no longer used at all in CSS matching.
2016-02-06 09:59:48 +01:00
Benjamin Otte
0c12601208
cssimageradial: Only allow at "<position>" after other props
...
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.
2016-02-05 19:31:47 +01:00
Benjamin Otte
982da040b2
cssimageradial: Only emit one error for wrong position
...
Test included.
2016-02-05 19:31:47 +01:00
Matthias Clasen
f2e08d3a9c
css tests: Fix style tests
...
Commit d0fd7990c3
changed
the location of builtin themes, breaking the loading of
the empty theme in test-css-style.
2016-02-05 16:35:43 +01:00
Matthias Clasen
132abb8749
css tests: Fix expected output
...
This is fallout from f7ec9c98ef
.
2016-02-05 16:35:43 +01:00
Matthias Clasen
3446760060
reftests: Make separator-size test pass in HighContrastInverse
...
After neutralizing the stack background, the notebook itself
was peeking through.
2016-01-31 16:54:48 -05:00
Matthias Clasen
6e2c74aaad
Trivial formatting fix
2016-01-31 14:11:01 -05:00
Matthias Clasen
1e0ca71eca
reftests: Make label-text-shadow-changes-modify-clip test more reliable
...
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.
2016-01-31 14:11:01 -05:00
Matthias Clasen
2423eb11e3
reftests: Add a message to the test output
...
Emit a message that ends up in the test output if we are modifying
the test on the fly.
2016-01-31 14:11:01 -05:00
Matthias Clasen
a898dc6e9f
reftests: Rename a source file
...
Easier to keep track of things if the sources are names after
the test they are used in.
2016-01-31 14:11:01 -05:00
Matthias Clasen
5a2feab8c0
reftests: Make animation-direction test more reliable
...
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 reference ui on the fly if we find
that animations are disabled.
2016-01-31 13:51:54 -05:00
Matthias Clasen
a66287a62e
Fix the border-image-excess-size reftest
...
This was failing because the grid is now respecting border
width too. Making the selector more specific so it only
applies to the toolbars fixes this.
2016-01-30 21:50:00 -05:00
Matthias Clasen
27b4bfc1cf
Fix another reftest
...
Make sure the notebook in the separator-size reftest does not
peek through, by giving it a transparent background.
2016-01-30 21:43:49 -05:00
Matthias Clasen
bbfc547b89
Fix some reftests under wayland
...
Tests need to use popup windows, in order to avoid differences
due to CSD.
2016-01-30 21:11:12 -05:00
Matthias Clasen
d400ecca14
Remove entry-progress-coloring reftest
...
We don't recolor text over progress anymore, so this
tests a no longer existing feature.
2016-01-30 11:32:06 -05:00
Matthias Clasen
586522d83c
Use TAP output for installed tests
2016-01-30 11:04:22 -05:00
Matthias Clasen
f375b275c8
Run reftests with HighContrastInverse too
...
For installed tests, we run the reftests with all the builtin
themes (minus platform-specific ones). Add HighContrastInverse
to that list.
2016-01-30 10:10:39 -05:00
Matthias Clasen
f887fec55c
Add a css style test for color names
...
Verify that we support all the css color names, with their expected
rgb values.
2016-01-29 18:23:25 -05:00
Matthias Clasen
8219a6b226
Use an GtkImage instead of GtkArrow
...
GtkArrow is deprecated, and the recommended replacement
is GtkImage.
2016-01-29 13:21:01 -05:00
Matthias Clasen
866193f6af
reftests: get icon-vfuncs test almost working again
...
The remaining difference here is GtkArrow, which is deprecated
and has not been updated to the latest CSS rendering standards.
2016-01-29 13:10:03 -05:00
Matthias Clasen
8cbe309f36
css node tests: Update expected output
...
The entry undershoot change needs to be reflected in the
test output.
2016-01-27 13:23:58 -05:00
Matthias Clasen
d5d6a050c5
Update expected output of a11y tests
...
This is the outcome of a recent fix to default values
for a GtkPaned property.
2016-01-25 16:01:07 -05:00