Benjamin Otte
0eb62c1629
reftests: Fix icon-vfuncs reftest
...
The reftest broke when font size lead to labels > 16px.
2014-05-22 22:35:08 +02:00
Jasper St. Pierre
76e18de811
reftests: Remove the css-match-style-property-order test
...
It was testing -GtkWidget-focus-line-width, which is a dead property
we don't use anymore.
2014-05-22 14:47:55 -04:00
Jasper St. Pierre
845f29ccf5
reftests: Fix some more easy GtkButton shadow cases
2014-05-22 11:46:07 -04:00
Benjamin Otte
b1a7aa49b3
reftests: Fix background-area test
...
The test should include reset-to-defaults.css but apparently it is older
than that file. So it broke when buttons started using shadows.
2014-05-22 17:38:50 +02:00
Marc-André Lureau
a3d0b8d7f4
tests: add clipboard set_with_data test
...
https://bugzilla.gnome.org/show_bug.cgi?id=730183
2014-05-22 12:44:10 +02:00
Matthias Clasen
8f7dceda3c
Update treeview tests for focus changes
...
The treeview is not using focus-pad here anymore, so update
the tests to not expect it.
2014-05-22 06:15:12 -04:00
Benjamin Otte
b90802f7e4
css: Actually break at end of the string
...
Introduced in 65c4c1555d
.
Found by gnome-continuous running the testsuite.
Includes fixing a broken test in the testsuite.
2014-05-22 02:13:49 +02:00
Matthias Clasen
f750f70c7d
tests: Make icontheme test installable
...
To make the icontheme test run successfully when installed,
we need to use the correct test-framework-provided location,
and we need to install the test theme without stripping its
subdirectory structure.
2014-05-21 13:46:49 -04:00
Benjamin Otte
0f788ab1be
testsuite: Add rtl icontheme tests
2014-05-14 04:55:11 +02:00
Matthias Clasen
0f5814aa33
icontheme: Add a test for lookup order
...
Add tests that verify the expected lookup order between -symbolic,
-rtl/-ltr and generic fallback.
2014-05-14 04:28:36 +02:00
Matthias Clasen
26c2975007
testsuite: Add icontheme tests for generic fallback
2014-05-14 04:28:36 +02:00
Benjamin Otte
77a9539e07
icontheme: Do a failed lookup at the beginning
...
Do this to catch the g_warning() that the icontheme code emits the first
time a lookup fails.
2014-05-14 04:28:36 +02:00
Benjamin Otte
5f794773aa
testsuite: Add more icontheme tests
...
Check that the lookup order works properly when forcing either symbolic
or regular icons.
2014-05-14 04:28:36 +02:00
Benjamin Otte
5ba4a085e2
testsuite: Add a basic icontheme test
...
Most of the work here is creating the infrastructure to have a custom
icon theme to add icons to and run tests against.
2014-05-14 04:28:35 +02:00
Benjamin Otte
5e07b80854
reftests: Add a test for recent commits
...
Check that icon-shadow is not affected by -gtk-icon-transform.
2014-05-14 04:28:35 +02:00
Benjamin Otte
59b6dee480
reftest: Add tests for the new vfuncs
...
This test is a bit brittle because it doesn't properly rely on CSS
properties but needs to use widget style properties to turn of extra
sizing from widgets.
It might break in the future when porting widgets to draw properly.
2014-05-14 04:28:35 +02:00
Benjamin Otte
f0a5cebe23
reftests: Add a reftest for -gtk-icon-style
2014-05-14 04:28:34 +02:00
Matthias Clasen
ce0325207e
Add a test for the previous fix
2014-05-13 11:56:29 -04:00
Benjamin Otte
0e462f0d2d
css: Implement "all" shorthand
...
Here's the spec:
http://dev.w3.org/csswg/css-cascade/#all-shorthand
Also use it in the reset-to-defaults CSS where a bunch of properties had
been missing.
2014-05-11 03:23:55 +02:00
Benjamin Otte
3a72e2fb24
css: Implement "unset"
...
Quoting the spec:
If the cascaded value of a property is the unset keyword,
then if it is an inherited property, this is treated as
inherit, and if it is not, this is treated as initial.
Spec in question:
http://dev.w3.org/csswg/css-cascade/
Also use unset in the reset-to-defaults.css we use to reset css in
reftests.
2014-05-11 03:23:55 +02:00
Benjamin Otte
f2258cb05c
reftests: Create the surface after running the main loop
...
Running the main loop may cause resizes, so creating the surface based
on the size before running it seems wrong.
2014-05-11 03:23:55 +02:00
Cosimo Cecchi
ce8846521e
reftests: never set interior-focus
2014-05-09 11:02:42 -07:00
Benjamin Otte
3aa357bcab
tests: Add test for latest patch
...
This tesst infloops without it.
2014-05-05 15:48:02 +02:00
Matthias Clasen
70a5e66d2f
a11y tests: Avoid deprecation warnings
...
We can't drop the index-based AtkTable methods unless we change
the output format, so just ignore the deprecations for now.
2014-05-02 20:59:00 -04:00
Matthias Clasen
1bf6ad314d
a11y tests: Update expected output
...
The new AtkValue interface aways returns doubles, which causes
the range to be printed out with decimals.
2014-05-02 20:53:02 -04:00
Matthias Clasen
4fc256de8a
a11y tests: Use the new AtkValue interface
...
The old interface is deprecated, and we just implemented the
new one, so lets test it.
2014-05-02 20:52:56 -04:00
Juan Pablo Ugarte
49fa04212b
GtkBuilder: improved parsing error report for invalid properties and signals.
...
Added GTK_BUILDER_ERROR_INVALID_PROPERTY and GTK_BUILDER_ERROR_INVALID_SIGNAL
error codes
ObjectInfo: Use a GType instead of a char * for the class name.
PropertyInfo: Use a GParamSpec instead of a char * for the property name.
SignalInfo: Use signal id and detail quark instead of a detailed signal name string.
This not only save us a few malloc in each case but lets us simplify the code
and report unknown properties and signals as a parsing error instead of just
printing a warning.
2014-05-01 17:59:53 -03:00
Benjamin Otte
f0ebb15dab
reftests: Add test for latest commit
...
Check that the label gets linebroken properly.
2014-04-29 19:36:26 +02:00
Juan Pablo Ugarte
9753f9f55f
Added template test case to builder test.
2014-04-29 12:29:18 -03:00
Matthias Clasen
a2fb74c375
Update output of a11y tests
...
These are all affected by the addition of the action_box in
GtkDialog or by the switch to popovers in GtkMenuButton.
2014-04-28 22:55:44 -04:00
Juan Pablo Ugarte
887fc60cce
Added bindings support to GtkBuilder by introducing 3 new <property> attributes "bind-source" to specify the source object of the binding "bind-property" to specify the source property and "bind-flags" to specify the binding flags (optional)
...
Binding an object sensitive property with a check button active property will look like this:
<object class="GtkButton" id="button">
<property name="sensitive" bind-source="checkbutton" bind-property="active"/>
</object>
This is based on the original work done by Denis Washington for his GSoC project
This closes Bug 654417 "[GSoC] Add <binding> element to GtkBuilder syntax"
2014-04-18 18:59:14 -03:00
Sébastien Wilmet
704a178abb
tests textiter: test word boundaries
...
- As the tests show, some of the functions have a strange and
inconsistent behavior for corner cases.
- Rename test_full_buffer() -> test_search_full_buffer() because
textiter.c is used for other GtkTextIter unit tests.
https://bugzilla.gnome.org/show_bug.cgi?id=727908
2014-04-13 14:04:10 -07:00
Matthias Clasen
14ce8025ca
listbox: Add tests for multi-selection
...
This was forgotten when the multi-selection API was added,
and it was promptly broken in some places.
2014-04-13 14:04:09 -07:00
Matthias Clasen
85855da946
Update expected output for assistant a11y test
...
The headerbar and its content now shows up, as it should.
2014-04-10 15:50:51 -07:00
Matthias Clasen
1685877635
Minor update of a11y test output
2014-03-24 20:17:21 -04:00
Matthias Clasen
8a9dab8e29
Update a11y test output
2014-03-17 18:14:53 -04:00
Matthias Clasen
1779789f65
Update a11y test output
...
These harmless changes are a consequence of
66fae0330c
.
2014-03-12 23:43:28 -04:00
Carlos Garnacho
faa6db8485
testsuite: Update a11y/menubutton3.ui test expectations
...
Popover is now minimally accessible.
https://bugzilla.gnome.org/show_bug.cgi?id=725864
2014-03-10 23:02:23 +01:00
Benjamin Otte
01fe1282fc
reftests: Remove unused argument from function
2014-03-05 21:03:36 +01:00
Matthias Clasen
cabf0badfa
Update messagedialog a11y test
2014-03-03 23:37:53 -05:00
Matthias Clasen
8520282f75
Fix up builder test
...
Dialogs now report two children. Thats alright, adapt
the test to deal with it.
2014-03-03 23:31:48 -05:00
Benjamin Otte
2dd3226c67
reftests: Add a test for a widget stacking regression
...
GTK 3.10 fails to obey the stacking order when drawing widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=725089
2014-02-28 03:08:11 +01:00
William Jon McCann
905a6aa2e8
about-dialog: link directly to the 3.0 version of GPL licenses
...
In the unlikely case that there is another GPL released in the future
it would be best if we link directly to the 3.0 version of the
license description instead of the alias to the latest
version.
2014-02-27 08:12:56 -05:00
Benjamin Otte
947cac2b85
testsuite: Don't leak in test runner
2014-02-23 15:40:46 +01:00
Benjamin Otte
7a603c6909
reftests: Add reftest for last commit
...
https://bugzilla.gnome.org/show_bug.cgi?id=724999
2014-02-23 15:40:46 +01:00
Matthias Clasen
71e46a0b0e
a11y tests: Add a tests for menu buttons with popovers
...
This shows that popovers currently lack accessibility.
2014-02-22 12:51:11 -05:00
Matthias Clasen
349376f48f
a11y tests: Add a test for menubuttons with model
2014-02-22 12:31:19 -05:00
Matthias Clasen
ac50e4e9df
a11y tests: Add a test for GtkActionBar
2014-02-22 12:31:18 -05:00
Matthias Clasen
493ce0e291
a11y tests: add image buttons
2014-02-22 12:31:18 -05:00
Benjamin Otte
118969e70a
reftests: Add a reftest for the latest fix
...
https://bugzilla.gnome.org/show_bug.cgi?id=724742
2014-02-20 02:10:07 +01:00