diff options
author | Benjamin Otte <otte@redhat.com> | 2015-11-04 05:06:31 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-11-04 05:06:31 +0100 |
commit | 2a6e1498ba96e4710e7e19e2ddffea71f3c941d0 (patch) | |
tree | 618b404cd74d40306366c62f0893663c9e063fbf /gtk/gtktestutils.c | |
parent | 61db7da2efff78f5f61f4285e091fd2fd37c2952 (diff) | |
download | gtk+-2a6e1498ba96e4710e7e19e2ddffea71f3c941d0.tar.gz |
testutils: Deprecate a bunch of ugly functions
We've by now disabled and then remved all of the tests that use these
functions because they never worked properly. So let's depecate these
functions before somebody starts using them.
Diffstat (limited to 'gtk/gtktestutils.c')
-rw-r--r-- | gtk/gtktestutils.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/gtktestutils.c b/gtk/gtktestutils.c index 78bb2586fb..7973b0230f 100644 --- a/gtk/gtktestutils.c +++ b/gtk/gtktestutils.c @@ -219,6 +219,8 @@ gtk_test_widget_send_key (GtkWidget *widget, * Returns: whether all actions neccessary for the button click simulation were carried out successfully. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ gboolean gtk_test_widget_click (GtkWidget *widget, @@ -250,6 +252,8 @@ gtk_test_widget_click (GtkWidget *widget, * Returns: whether all actions neccessary for the button click simulation were carried out successfully. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ gboolean gtk_test_spin_button_click (GtkSpinButton *spinner, @@ -464,6 +468,8 @@ gtk_test_find_widget (GtkWidget *widget, * @percentage argument. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ void gtk_test_slider_set_perc (GtkWidget *widget, @@ -496,6 +502,8 @@ gtk_test_slider_set_perc (GtkWidget *widget, * Returns: gtk_adjustment_get_value (adjustment) for an adjustment belonging to @widget. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ double gtk_test_slider_get_value (GtkWidget *widget) @@ -517,6 +525,8 @@ gtk_test_slider_get_value (GtkWidget *widget) * GtkEditable (entry and text widgets) or GtkTextView. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ void gtk_test_text_set (GtkWidget *widget, @@ -547,6 +557,8 @@ gtk_test_text_set (GtkWidget *widget, * Returns: new 0-terminated C string, needs to be released with g_free(). * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ gchar* gtk_test_text_get (GtkWidget *widget) @@ -583,6 +595,8 @@ gtk_test_text_get (GtkWidget *widget) * Returns: (transfer none): a newly created widget. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. */ GtkWidget* gtk_test_create_widget (GType widget_type, @@ -641,6 +655,8 @@ test_increment_intp (int *intp) * Returns: (transfer full): a widget pointer to the newly created GtkWindow. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ GtkWidget* gtk_test_display_button_window (const gchar *window_title, @@ -683,6 +699,8 @@ gtk_test_display_button_window (const gchar *window_title, * Returns: (transfer none): a widget pointer to the newly created GtkWindow. * * Since: 2.14 + * + * Deprecated: 3.20: This testing infrastructure is phased out in favor of reftests. **/ GtkWidget* gtk_test_create_simple_window (const gchar *window_title, |