1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
4 #include <libecal/e-cal.h>
5 #include <libical/ical.h>
7 #include "ecal-test-utils.h"
16 ECalComponent *e_component = NULL;
17 icalcomponent *component = NULL;
18 icalcomponent *modified_component = NULL;
23 cal = ecal_test_utils_cal_new_temp (&uri, E_CAL_SOURCE_TYPE_EVENT);
24 ecal_test_utils_cal_open (cal, FALSE);
26 ecal_test_utils_create_component (cal, "20040109T090000Z", "UTC",
27 "20040109T103000", "UTC", "new event", &e_component,
30 component = e_cal_component_get_icalcomponent (e_component);
31 ecal_test_utils_cal_send_objects (cal, component, &users, &modified_component);
33 g_list_foreach (users, (GFunc) g_free, NULL);
36 g_object_unref (e_component);