| 1 |
/* |
| 2 |
* testing.h |
| 3 |
* This file is part of libpeas |
| 4 |
* |
| 5 |
* Copyright (C) 2010 - Garrett Regier |
| 6 |
* |
| 7 |
* libpeas is free software; you can redistribute it and/or |
| 8 |
* modify it under the terms of the GNU Lesser General Public |
| 9 |
* License as published by the Free Software Foundation; either |
| 10 |
* version 2.1 of the License, or (at your option) any later version. |
| 11 |
* |
| 12 |
* libpeas is distributed in the hope that it will be useful, |
| 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
* Lesser General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU Lesser General Public |
| 18 |
* License along with this library; if not, write to the Free Software |
| 19 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 |
*/ |
| 21 |
|
| 22 |
#ifndef __TESTING_H__ |
| 23 |
#define __TESTING_H__ |
| 24 |
|
| 25 |
#include <libpeas/peas.h> |
| 26 |
#include <libpeas-gtk/peas-gtk.h> |
| 27 |
#include <testing-util.h> |
| 28 |
|
| 29 |
G_BEGIN_DECLS |
| 30 |
|
| 31 |
PEAS_TEST_EXPORT |
| 32 |
void testing_init (gint *argc, |
| 33 |
gchar ***argv); |
| 34 |
|
| 35 |
PEAS_TEST_EXPORT |
| 36 |
PeasEngine *testing_engine_new (void); |
| 37 |
|
| 38 |
PEAS_TEST_EXPORT |
| 39 |
PeasPluginInfo *testing_get_plugin_info_for_iter (PeasGtkPluginManagerView *view, |
| 40 |
GtkTreeIter *iter); |
| 41 |
PEAS_TEST_EXPORT |
| 42 |
gboolean testing_get_iter_for_plugin_info (PeasGtkPluginManagerView *view, |
| 43 |
PeasPluginInfo *info, |
| 44 |
GtkTreeIter *iter); |
| 45 |
|
| 46 |
PEAS_TEST_EXPORT |
| 47 |
void testing_show_widget (gpointer widget); |
| 48 |
|
| 49 |
/* libtesting-util functions which do not need to be overridden */ |
| 50 |
#define testing_engine_free testing_util_engine_free |
| 51 |
#define testing_run_tests testing_util_run_tests |
| 52 |
|
| 53 |
G_END_DECLS |
| 54 |
|
| 55 |
#endif /* __TESTING_H__ */ |