2 * test-helper.h - Header for some test helper functions
3 * Copyright (C) 2007-2009 Collabora Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef __TEST_HELPER_H__
21 #define __TEST_HELPER_H__
23 #include <telepathy-glib/telepathy-glib.h>
25 void test_init (int argc
,
28 void test_deinit (void);
30 gchar
* get_xml_file (const gchar
*filename
);
31 gchar
* get_user_xml_file (const gchar
*filename
);
32 void copy_xml_file (const gchar
*orig
, const gchar
*dest
);
33 TpAccount
* get_test_account (void);
34 void destroy_test_account (TpAccount
*account
);