[at-spi2-core: 1/2] tests: make test a bit verbose
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 1/2] tests: make test a bit verbose
- Date: Mon, 3 Aug 2020 01:06:33 +0000 (UTC)
commit 402366ad1628414d21e56d74809431772112d3ea
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Sun Aug 2 19:24:57 2020 +0200
tests: make test a bit verbose
So we know that it actually does some checks.
test/memory.c | 5 +++++
1 file changed, 5 insertions(+)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]