Merge branch 'move-text-history-tests' into 'master'

Move text history tests

See merge request GNOME/gtk!3597
This commit is contained in:
Matthias Clasen 2021-05-26 12:01:58 +00:00
commit 24f0ae1d39
3 changed files with 4 additions and 2 deletions

View File

@ -114,7 +114,6 @@ gtk_tests = [
['testtexture'],
['testwindowdrag'],
['testinhibitshortcuts'],
['testtexthistory', ['../gtk/gtktexthistory.c']],
['testzoom']
]

View File

@ -117,6 +117,7 @@ internal_tests = [
{ 'name': 'propertylookuplistmodel' },
{ 'name': 'rbtree' },
{ 'name': 'timsort' },
{ 'name': 'texthistory' },
]
# Tests that are expected to fail

View File

@ -582,7 +582,8 @@ int
main (int argc,
char *argv[])
{
g_test_init (&argc, &argv, NULL);
(g_test_init) (&argc, &argv, NULL);
g_test_add_func ("/Gtk/TextHistory/test1", test1);
g_test_add_func ("/Gtk/TextHistory/test2", test2);
g_test_add_func ("/Gtk/TextHistory/test3", test3);
@ -596,5 +597,6 @@ main (int argc,
g_test_add_func ("/Gtk/TextHistory/test11", test11);
g_test_add_func ("/Gtk/TextHistory/test12", test12);
g_test_add_func ("/Gtk/TextHistory/test13", test13);
return g_test_run ();
}