aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-empathy-account-assistant.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-08-01 23:33:21 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-22 21:13:12 +0800
commit1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a (patch)
treef37e884c389c9b436c952e7b7dc14e84e1cbf24b /tests/test-empathy-account-assistant.c
parent8bccbdc3d107c019ef858d0ad15c769c31028731 (diff)
downloadgsoc2013-empathy-1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a.tar
gsoc2013-empathy-1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a.tar.gz
gsoc2013-empathy-1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a.tar.bz2
gsoc2013-empathy-1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a.tar.lz
gsoc2013-empathy-1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a.tar.xz
gsoc2013-empathy-1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a.tar.zst
gsoc2013-empathy-1b1ba53e2b64a4e5b3f9e27a54b3b863f5be0d4a.zip
Add a test for the assistant
Diffstat (limited to 'tests/test-empathy-account-assistant.c')
-rw-r--r--tests/test-empathy-account-assistant.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/test-empathy-account-assistant.c b/tests/test-empathy-account-assistant.c
new file mode 100644
index 000000000..bdcbe6c69
--- /dev/null
+++ b/tests/test-empathy-account-assistant.c
@@ -0,0 +1,25 @@
+#include <config.h>
+
+#include <gtk/gtk.h>
+
+#include <libempathy-gtk/empathy-ui-utils.h>
+#include <libempathy-gtk/empathy-account-assistant.h>
+
+int main (int argc, char *argv)
+{
+ GtkWidget *assistant;
+
+ gtk_init (&argc, &argv);
+ empathy_gtk_init ();
+
+ assistant = empathy_account_assistant_new ();
+
+ gtk_widget_show_all (assistant);
+
+ g_signal_connect_swapped (assistant, "destroy",
+ G_CALLBACK (gtk_main_quit), NULL);
+
+ gtk_main ();
+
+ return 0;
+}