* Added a dbus test that updates (Send&Receive) the default account
[modest] / tests / dbus_api / test_update_account.c
1 #include <libmodest-dbus-client/libmodest-dbus-client.h>
2 #include <stdio.h>
3
4 int
5 main (int argc, char *argv[])
6 {
7         osso_context_t *osso_context;
8
9         osso_context = osso_initialize ("test_update_account",
10                                         "0.0.1",
11                                         TRUE,
12                                         NULL);
13                
14         if (osso_context == NULL) {
15                 g_printerr ("osso_initialize() failed.\n");
16             return -1;
17         }
18
19         return libmodest_dbus_client_send_and_receive (osso_context);
20 }