Commit Graph

369 Commits

Author SHA1 Message Date
a13d5aefc3 reftests: Add a reftest for the cell renderer fix
The reftest is a bit flaky because it compares cell renderers with
GtkImage and therefor an icon view with a GtkBox, but it's the best I
can come up with.

https://bugzilla.gnome.org/show_bug.cgi?id=702423
2013-09-05 18:48:47 +02:00
c63799a624 accessible: Fix test runner
This was an obvious typo.
2013-09-03 17:59:19 -04:00
f5ba056e5e Fix up a11y tests again
This change was caused by the recently reverted patch.
2013-08-31 17:06:44 -04:00
1bfd0d82de Fix up a11y tests for recent changes
The fix for child properties made the a11y dump for the assistant
case change. After close inspection, the new output is what the
code intends to produce, so update the expected result.
2013-08-30 22:24:09 -04:00
772aed19f7 testsuite: Add a clipboard test
I'm not sure I like it yet because it deadlocked once and I haven't
figured out why that is.
2013-08-23 13:01:41 +02:00
14fb34c9a9 accessibility-dump: Update expected contents 2013-08-06 11:22:59 +01:00
052640bd3f accessibility-dump: Print diff by default
There's just no reason not to; it makes things less tedious to
run from the command line.
2013-08-06 11:22:59 +01:00
2430496da4 Remove assertions that are no longer true
The GtkBuilder infobar tests were asserting facts about the
internal structure of the widget that are no longer true.
2013-08-03 18:31:09 +02:00
1db773cd9a Update expected output for the infobar a11y test
This changed due to the recent GtkInfoBar revealer changes.
2013-08-03 15:34:46 +02:00
82e5e4b50e Don't use UNIX-specific printer objects on non-UNIX
https://bugzilla.gnome.org/show_bug.cgi?id=704173
2013-07-31 10:17:45 +08:00
45d2f677be tests: Make a11ytests keep going on failure and be verbose 2013-07-26 13:33:40 +02:00
bad6075ec9 testsuite/a11y: Update infobar.txt for latest theme changes 2013-07-26 02:00:33 +01:00
e6c5faed73 testsuite/a11y: Don't check minimum increment
This value is highly sensitive to changes in the theme; we
don't want to have to tweak hardcoded integers in this test case
every time we rev gnome-themes-standard.

Future iterations could do more heuristic matching, but this
is enough for now.

https://bugzilla.gnome.org/show_bug.cgi?id=704747
2013-07-24 02:54:25 +01:00
7b564cd7ed reftests: Fix broken reftest
GtkMenuItem has no accel group.
2013-07-16 00:58:46 +02:00
4e09b56b76 testsuite: Ignore generated .test files 2013-07-11 12:57:06 -04:00
f8e4dbc6f4 Remove debug spew 2013-07-09 20:06:23 -04:00
a71def87c5 tests: Use the new macros for adding instance private data
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
d08a12ae0b reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2 2013-07-05 15:21:55 +02:00
1f9fd5a952 testsuite: Add tests for gtk_list_box_row_get_index
https://bugzilla.gnome.org/show_bug.cgi?id=703618
2013-07-04 15:19:47 +02:00
7702c6a512 Add GtkHeaderBar to the a11y tests 2013-06-30 22:33:12 -04:00
2941196f84 Add GtkStack and GtkStackSwitcher to the a11y tests 2013-06-30 22:33:12 -04:00
e11039a973 Add GtkListBox to the a11y tests 2013-06-30 22:33:12 -04:00
c96a1c4980 Deprecate GtkAction and GtkUIManager
It is recommended to use GAction et al and GtkBuilder.
2013-06-30 11:19:50 -04:00
f0a8d11563 reftests: Add a reftest for the expand change in GtkBox
The change was introduced in 80513aa2c7

See that commit for details.
2013-06-30 03:39:09 +02:00
39f95f1b9b Add a --direction option to gtk-reftest
gtk_test_init() hardcodes the locale to "C", so the --direction
option is useful to check reftests in rtl.
2013-06-29 20:03:29 -04:00
ab7b83d97c typo fix 2013-06-29 19:55:14 -04:00
1bf16944c9 Add a testcase for closing display before exit
It works right now, lets keep it that way.
2013-06-29 19:24:22 -04:00
aef9dca9d5 Deprecate GtkIconFactory, GtkIconSet, GtkIconSource
We want to use GtkIconTheme instead. It is worth noting that
the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
2013-06-26 20:02:27 -04:00
14c78ed667 testsuite: Ignore deprecation warnings 2013-06-26 15:51:32 +02:00
99421916e6 Adjust the a11y testsuite to match expected output 2013-06-25 12:39:19 -04:00
3224e72bc1 Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
ea4e88df86 textiter: bug fix in forward_search() and backward_search()
When the search is case sensitive, g_utf8_normalize() is not called, so
the skip_decomp argument of the function forward_chars_with_skipping()
must be FALSE.

To verify that, when searching "éb", the count parameter of
forward_chars_with_skipping() have a different value:
- case sensitive: count = 2
- case insensitive: count = 3 (g_utf8_normalize() has been called)

The commit adds unit tests that didn't pass before, and that now pass
(without known regression, obviously).

https://bugzilla.gnome.org/show_bug.cgi?id=702977
2013-06-24 20:14:39 +02:00
4c526e602b tests: Ignore deprecations
... for where there's no replacement.
2013-06-24 01:13:44 +02:00
c4a9bb6838 a11y: Include testdata in EXTRA_DIST
Otherwise tests don't work from a tarball release.
2013-06-21 14:05:21 -04:00
53a85c4084 testsuite: Don't use deprecated functions 2013-06-21 02:59:23 +02:00
08d49fdd58 Fix gtk_text_iter_forward_to_tag_toggle() for end iter
The function must return TRUE only if there is a tag toggle _after_ the
iter, not _at_ the iter. So for the end iter, the function must always
return FALSE.

Add also unit tests for gtk_text_iter_forward_to_tag_toggle().

https://bugzilla.gnome.org/show_bug.cgi?id=691266
2013-06-20 20:22:56 +02:00
d1fd74417c Avoid an uninitialized variable access 2013-06-15 23:36:33 -04:00
137e6f4d5f Avoid an uninitialized variable access 2013-06-15 23:36:10 -04:00
945e7a08f3 Fix a small memory leak 2013-06-15 23:35:51 -04:00
da208f89d5 Avoid an uninitialized variable access
https://bugzilla.gnome.org/show_bug.cgi?id=702370
2013-06-15 22:00:51 -04:00
2220845b2b Fix iconview-empty reftest
The reference image for this test was inadvertedly relying
on an incorrect initial icon-size property of GtkImage.
2013-06-15 21:31:41 -04:00
059385b7b8 Remove testing test again
This one fails on the build servers.
2013-06-15 21:18:12 -04:00
c5e241147b Add a few tests back
These were lost in the Makefile cleanup.
2013-06-15 20:23:01 -04:00
fdb983f67e Fix object test 2013-06-15 20:23:01 -04:00
949402ebed Fix defaultvalue test 2013-06-15 20:23:01 -04:00
864ca76bf9 testsuite: Avoid g_test_trap_fork
Fix cellarea tests to use g_test_trap_subprocess instead.
2013-06-15 16:27:04 -04:00
8fbe284c5f Add listbox tests 2013-06-15 16:03:43 -04:00
e4af0e9bed testsuite: clean up build machinery a bit
No point in setting LDADD for every single binary,
when we can do it just once. Also, generate test.in files.
2013-06-15 16:03:19 -04:00
860639e796 reftests: Fix for state propagation changes 2013-06-13 15:31:35 +02:00
154a5e55ab reftests: Switch test type to session-exclusive
The reftests are sensitive to window focus, and will not work reliably
if other concurrently executed tests are creating and closing windows.
2013-05-31 10:34:11 -04:00