summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-08-02 19:24:57 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-08-02 19:24:59 +0200
commit402366ad1628414d21e56d74809431772112d3ea (patch)
tree92fa7a2c7d7a1916f1e767d63c184552fa0315c8 /test
parent7e19ba4dad1639f23b9704187e8790b125936b43 (diff)
downloadat-spi2-core-402366ad1628414d21e56d74809431772112d3ea.tar.gz
tests: make test a bit verbose
So we know that it actually does some checks.
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 df5e0a16..281622c9 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