gtk2/testsuite/gtk
Simon McVittie a4f45483b1 Avoid repeated g_log_set_writer_func in tests
Since GLib 2.73.0 it can only be called once per process.

Based on commit 78c153ae in GTK 4, but combining the icontheme test's
two custom log writers into one log writer that serves both purposes,
to avoid the need for a subprocess.

Co-authored-by: Matthias Clasen <mclasen@redhat.com>
Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/5119
2022-08-20 19:34:05 +01:00
..
file-chooser-test-dir build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
icons testsuite: add a test for non-square symbolic icons 2015-06-12 08:55:23 -07:00
icons2 icon-theme: Test inheritance vs. generic fallback 2014-09-21 16:34:27 -04:00
ui Add some more builder parser tests 2015-10-20 06:14:57 -04:00
accel.c Add some more accelerator / modifier tests 2016-04-17 01:54:43 -04:00
accessible.c accessible: Fix test runner 2013-09-03 17:59:19 -04:00
action.c Add a test for reinserting action groups 2019-06-23 20:49:57 -04:00
adjustment.c testsuite: Add deprecation guards 2015-05-28 16:53:53 +02:00
autotestkeywords.cc Move autotestkeywords to testsuite 2016-03-28 17:56:13 -04:00
bitmask.c bitmask: Fix broken invert_range() implementation 2015-09-07 14:32:09 +02:00
builder.c testsuite/gtk/builder.c: Export the needed symbols 2019-04-11 16:46:22 +02:00
builderparser.c Add a a drop-in test for the GtkBuilder parser 2014-10-18 22:18:59 -04:00
cellarea.c testsuite: Avoid g_test_trap_fork 2013-06-15 16:27:04 -04:00
check-cursor-names.c Update the list of required cursors 2016-01-08 18:11:07 -05:00
check-icon-names.c Avoid some duplicate test names 2015-09-02 07:15:57 -04:00
clipboard.c tests: add clipboard set_with_data test 2014-05-22 12:44:10 +02:00
cssprovider.c cssprovider: Have a section on import error 2015-11-16 17:39:15 +01:00
defaultvalue.c tests: don't overwrite GSETTINGS_SCHEMA_DIR when running under meson 2019-04-11 16:45:36 +02:00
displayclose.c Add a testcase for closing display before exit 2013-06-29 19:24:22 -04:00
entry.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
filtermodel.c Add a test for ::row-changed vs node refs 2018-01-19 16:05:51 +01:00
firefox-stylecontext.c Always pass the right state in style context getters 2015-11-14 19:03:57 -05:00
floating.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
focus.c Add a test for window focus handling 2014-08-02 11:38:44 +02:00
gestures.c testsuite: Don't use deprecated APIs 2016-02-13 06:41:29 +01:00
grid.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
gtk.test.in meson: port installed tests and reftests 2019-11-15 12:52:03 +01:00
gtkmenu.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
gtktreemodelrefcount.c testsuite: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
gtktreemodelrefcount.h build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
icontheme.c Avoid repeated g_log_set_writer_func in tests 2022-08-20 19:34:05 +01:00
keyhash.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
listbox.c GtkListBox: Fix a bug in unselection 2014-10-31 22:34:09 -04:00
liststore.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
Makefile.am meson: port installed tests and reftests 2019-11-15 12:52:03 +01:00
meson.build testsuite: Handle icontheme test better 2020-03-13 16:31:33 +00:00
modelrefcount.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
no-gtk-init.c testsuite: Add a test for functions that work without gtk_init() 2013-09-24 16:42:48 +02:00
notify.c tests: don't overwrite GSETTINGS_SCHEMA_DIR when running under meson 2019-04-11 16:45:36 +02:00
object.c tests: don't overwrite GSETTINGS_SCHEMA_DIR when running under meson 2019-04-11 16:45:36 +02:00
objects-finalize.c tests: don't overwrite GSETTINGS_SCHEMA_DIR when running under meson 2019-04-11 16:45:36 +02:00
papersize.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
rbtree.c testsuite: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
recentmanager.c tests: Ignore deprecations 2013-06-24 01:13:44 +02:00
regression-tests.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
revealer-size.c revealer-size: Fix animation setting 2016-03-03 21:05:37 +01:00
scrolledwindow.c scrolledwindow: Always add other scrollbar size... 2021-04-19 14:43:01 -04:00
sortmodel.c tree model sort: Fix set_sort_column 2018-01-16 18:19:10 -05:00
spinbutton.c Add some spinbutton tests 2014-08-14 00:04:10 -04:00
stylecontext.c testsuite/gtk/stylecontext.c: Declare variables at top-of-block 2019-04-11 16:45:36 +02:00
templates.c tests: don't overwrite GSETTINGS_SCHEMA_DIR when running under meson 2019-04-11 16:45:36 +02:00
textbuffer.c testsuite: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
textiter.c testsuite/gtk/textiter: Add missing assertion 2017-02-18 20:18:05 +00:00
treemodel.c testsuite: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
treemodel.h build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
treepath.c build: Move gtk/tests to testsuite/gtk 2013-05-15 15:37:16 +02:00
treestore.c Avoid repeated g_log_set_writer_func in tests 2022-08-20 19:34:05 +01:00
treeview.c tests: wait for draw before fetching tree view style 2015-05-24 12:08:33 -07:00
typename.c GtkBuilder: Undo the type name heuristic changes 2014-10-03 09:29:45 -04:00
window.c testsuite: Remove a test that isn't valid with csd 2016-03-05 13:47:41 -05:00