1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2017 Red Hat, Inc. (www.redhat.com)
5 * This library is free software: you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation.
9 * This library is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef TEST_CACHE_UTILS_H
19 #define TEST_CACHE_UTILS_H
21 #include <libedata-cal/libedata-cal.h>
26 TCU_LOAD_COMPONENT_SET_NONE
,
27 TCU_LOAD_COMPONENT_SET_EVENTS
,
28 TCU_LOAD_COMPONENT_SET_TASKS
29 } TCULoadComponentSet
;
36 TCULoadComponentSet load_set
;
39 void tcu_fixture_setup (TCUFixture
*fixture
,
40 gconstpointer user_data
);
41 void tcu_fixture_teardown (TCUFixture
*fixture
,
42 gconstpointer user_data
);
44 gchar
* tcu_new_icalstring_from_test_case (const gchar
*case_name
);
45 ECalComponent
* tcu_new_component_from_test_case (const gchar
*case_name
);
46 void tcu_add_component_from_test_case (TCUFixture
*fixture
,
47 const gchar
*case_name
,
48 ECalComponent
**out_component
);
52 #endif /* TEST_CACHE_UTILS_H */