summaryrefslogtreecommitdiff
path: root/tests/repository/gitestrepo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/repository/gitestrepo.c')
-rw-r--r--tests/repository/gitestrepo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/repository/gitestrepo.c b/tests/repository/gitestrepo.c
index 67af4ff1..25b590f3 100644
--- a/tests/repository/gitestrepo.c
+++ b/tests/repository/gitestrepo.c
@@ -41,6 +41,7 @@ main(int argc, char **argv)
GITypelib *ret;
GError *error = NULL;
GIBaseInfo *info;
+ GIBaseInfo *siginfo;
GType gtype;
char *girdir;
@@ -73,6 +74,12 @@ main(int argc, char **argv)
info = g_irepository_find_by_name (repo, "Gio", "ThisDoesNotExist");
g_assert (info == NULL);
+ info = g_irepository_find_by_name (repo, "Gio", "FileMonitor");
+ g_assert (info != NULL);
+ siginfo = g_object_info_find_signal ((GIObjectInfo*) info, "changed");
+ g_assert (siginfo != NULL);
+ g_base_info_unref (siginfo);
+
/* vfunc tests */
{
GIVFuncInfo *vfunc;