summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2020-08-03 01:06:32 +0000
committerMike Gorse <mgorse@suse.com>2020-08-03 01:06:32 +0000
commit6a602ca9ed5056a6a49297af3e4437af866cec98 (patch)
treed0831f0aed1b79a94518928a4da3de6bb75a6b13 /test
parent6501837159c5d710f1aa5e7f8ff8188c0815907c (diff)
parent402366ad1628414d21e56d74809431772112d3ea (diff)
downloadat-spi2-core-6a602ca9ed5056a6a49297af3e4437af866cec98.tar.gz
Merge branch 'memory_verbose' into 'master'
tests: make test a bit verbose See merge request GNOME/at-spi2-core!43
Diffstat (limited to 'test')
-rw-r--r--test/memory.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/memory.c b/test/memory.c
index e8357fec..5105fffc 100644
--- a/test/memory.c
+++ b/test/memory.c
@@ -15,19 +15,24 @@ basic (AtspiAccessible *obj)
AtspiAccessible *accessible;
GError *error = NULL;
+ printf ("getting name\n");
str = atspi_accessible_get_name (obj, &error);
if (str)
g_free (str);
+ printf ("ok, getting parent\n");
accessible = atspi_accessible_get_parent (obj, NULL);
if (accessible)
g_object_unref (accessible);
+ printf ("ok, getting children\n");
count = atspi_accessible_get_child_count (obj, &error);
for (i = 0; i < count; i++)
{
accessible = atspi_accessible_get_child_at_index (obj, i, &error);
+ printf ("ok %d\n", i);
if (accessible)
g_object_unref (accessible);
}
+ printf ("ok\n");
}
static gboolean