Commit 6a602ca9 authored by Mike Gorse's avatar Mike Gorse

Merge branch 'memory_verbose' into 'master'

tests: make test a bit verbose

See merge request !43
parents 65018371 402366ad
...@@ -15,19 +15,24 @@ basic (AtspiAccessible *obj) ...@@ -15,19 +15,24 @@ basic (AtspiAccessible *obj)
AtspiAccessible *accessible; AtspiAccessible *accessible;
GError *error = NULL; GError *error = NULL;
printf ("getting name\n");
str = atspi_accessible_get_name (obj, &error); str = atspi_accessible_get_name (obj, &error);
if (str) if (str)
g_free (str); g_free (str);
printf ("ok, getting parent\n");
accessible = atspi_accessible_get_parent (obj, NULL); accessible = atspi_accessible_get_parent (obj, NULL);
if (accessible) if (accessible)
g_object_unref (accessible); g_object_unref (accessible);
printf ("ok, getting children\n");
count = atspi_accessible_get_child_count (obj, &error); count = atspi_accessible_get_child_count (obj, &error);
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
accessible = atspi_accessible_get_child_at_index (obj, i, &error); accessible = atspi_accessible_get_child_at_index (obj, i, &error);
printf ("ok %d\n", i);
if (accessible) if (accessible)
g_object_unref (accessible); g_object_unref (accessible);
} }
printf ("ok\n");
} }
static gboolean static gboolean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment