~ubuntu-branches/ubuntu/saucy/evolution-data-server/saucy

« back to all changes in this revision

Viewing changes to tests/libecal/client/test-client-revision-view.c

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-10-08 12:58:16 UTC
  • mfrom: (181.1.7 quantal)
  • Revision ID: package-import@ubuntu.com-20121008125816-i3n76e8c0m64e7xp
Tags: 3.6.0-0ubuntu2
* Fix LP: #1038047 part 1 - Don't abort in e_source_registry_new* when a
  problem occurs connecting to the Dbus service
  - add debian/patches/dont-abort-in-e_source_registry_new.patch
  - update debian/patches/series
* Fix LP: #1038047 part 2 - libedataserver depends on
  evolution-data-server-common to ensure that the GSettings schemas are
  present
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
                struct icaltimetype recurrence    = icalcomponent_get_recurrenceid (component);
59
59
                struct icaltimetype last_modified = get_last_modified (component);
60
60
 
61
 
                g_print ("Object added %s (recurrence id:%s, last-modified:%s)\n", 
 
61
                g_print ("Object added %s (recurrence id:%s, last-modified:%s)\n",
62
62
                         icalcomponent_get_uid (component),
63
63
                         icaltime_as_ical_string (recurrence),
64
64
                         icaltime_as_ical_string (last_modified));
81
81
                struct icaltimetype recurrence    = icalcomponent_get_recurrenceid (component);
82
82
                struct icaltimetype last_modified = get_last_modified (component);
83
83
 
84
 
                g_print ("Object modified %s (recurrence id:%s, last-modified:%s)\n", 
 
84
                g_print ("Object modified %s (recurrence id:%s, last-modified:%s)\n",
85
85
                         icalcomponent_get_uid (component),
86
86
                         icaltime_as_ical_string (recurrence),
87
87
                         icaltime_as_ical_string (last_modified));
102
102
        for (l = objects; l; l = l->next) {
103
103
                ECalComponentId *id = l->data;
104
104
 
105
 
                g_print ("Object removed: uid: %s, rid: %s\n", id->uid, id->rid);
 
105
                g_print ("Object removed: uid: %s, rid: %s\n", id->uid, id->rid);
106
106
        }
107
107
 
108
108
        subtest_passed (SUBTEST_OBJECTS_REMOVED);
113
113
             const GError *error,
114
114
             gpointer data)
115
115
{
116
 
        g_print ("View complete (status: %d, error_msg:%s)\n", error ? error->code : 0, error ? error->message : "NULL");
 
116
        g_print ("View complete (status: %d, error_msg:%s)\n", error ? error->code : 0, error ? error->message : "NULL");
117
117
 
118
118
        subtest_passed (SUBTEST_VIEW_DONE);
119
119
}
195
195
 
196
196
        g_object_set_data_full (G_OBJECT (cal_client), "cal-view", view, g_object_unref);
197
197
 
198
 
        field_list = g_slist_prepend (NULL, (gpointer) "UID"); 
 
198
        field_list = g_slist_prepend (NULL, (gpointer) "UID");
199
199
        field_list = g_slist_prepend (field_list, (gpointer) "RECURRENCE-ID");
200
200
        field_list = g_slist_prepend (field_list, (gpointer) "LAST-MODIFIED");
201
201
 
253
253
        g_signal_connect (view, "objects_removed", G_CALLBACK (objects_removed_cb), cal_client);
254
254
        g_signal_connect (view, "complete", G_CALLBACK (complete_cb), cal_client);
255
255
 
256
 
        field_list = g_slist_prepend (NULL, (gpointer) "UID"); 
 
256
        field_list = g_slist_prepend (NULL, (gpointer) "UID");
257
257
        field_list = g_slist_prepend (field_list, (gpointer) "RECURRENCE-ID");
258
258
        field_list = g_slist_prepend (field_list, (gpointer) "LAST-MODIFIED");
259
259