diff options
author | 13:28:02 Tim Janik <timj@imendio.com> | 2008-01-11 12:29:29 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2008-01-11 12:29:29 +0000 |
commit | 1d0392c558c6014914f9f53b846f352c9af43628 (patch) | |
tree | 9323226768b9ae5366dbb22442326b310533c45a /gtk/tests | |
parent | 7fc21d35d757f5f1c974b8c82bcdd1bb5eb72e07 (diff) | |
download | gtk+-1d0392c558c6014914f9f53b846f352c9af43628.tar.gz |
removed old testutils special casing so test widgets are always queues for
2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
special casing so test widgets are always queues for destruction
during teardown.
* gtk/tests/testing.c: removed bits left-over from testing without
gtestutils.h.
svn path=/trunk/; revision=19352
Diffstat (limited to 'gtk/tests')
-rw-r--r-- | gtk/tests/testing.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/tests/testing.c b/gtk/tests/testing.c index 22cb861726..a7b43d5bd4 100644 --- a/gtk/tests/testing.c +++ b/gtk/tests/testing.c @@ -41,7 +41,6 @@ test_button_clicks (void) while (gtk_events_pending ()) gtk_main_iteration (); g_assert (a == 0 && b > 0 && c == 0); - gtk_widget_destroy (window); // FIXME: use generic teardown } static void @@ -64,7 +63,6 @@ test_button_keys (void) while (gtk_events_pending ()) gtk_main_iteration (); g_assert (a == 0 && b > 0 && c == 0); - gtk_widget_destroy (window); // FIXME: use generic teardown } static void @@ -89,7 +87,6 @@ test_slider_ranges (void) while (gtk_events_pending ()) gtk_main_iteration (); g_assert (gtk_test_slider_get_value (hscale) == +50.0); - gtk_widget_destroy (window); // FIXME: use generic teardown } static void @@ -119,8 +116,6 @@ test_text_access (void) g_assert (strcmp (text, "") == 0); g_free (text); } - for (i = 0; i < N_WIDGETS; i++) - gtk_widget_destroy (widgets[i]); // FIXME: use generic teardown } static void @@ -166,7 +161,6 @@ test_xserver_sync (void) } g_timer_destroy (gtimer); g_assert (sync_is_slower > 0); - gtk_widget_destroy (window); // FIXME: use generic teardown } static void @@ -212,8 +206,6 @@ test_spin_button_arrows (void) gtk_main_iteration (); oldval = gtk_test_slider_get_value (spinner); g_assert (oldval == 0); - /* shutdown */ - gtk_widget_destroy (window); // FIXME: use generic teardown } int |