Tool for checking AT-SPI tree integrity v1.0
[platform/upstream/at-spi2-core.git] / test / at_spi2_tool.c
index 252f3e5..a520412 100644 (file)
@@ -7,7 +7,7 @@
 
 #define ERROR_STATE -1
 #define SAFE_BUFFER_SIZE 255
-#define CHECK_OUTPUT_WIDTH 15
+#define CHECK_OUTPUT_WIDTH 38
 #define MINIMAL_MODULE_WIDTH 3
 #define ATTR_WIDTH 50
 #define NUMBER_WIDTH 6
@@ -315,7 +315,7 @@ static void _test_atspi_parent_child_relation(AtspiAccessible *obj, AtspiAccessi
                else
                        snprintf(parent_status, NUMBER_WIDTH, "%d", parent_index);
 
-               snprintf(output, CHECK_OUTPUT_WIDTH, "[FAIL<%d,%s>]", parent_candidate_index, parent_status);
+               snprintf(output, CHECK_OUTPUT_WIDTH, "[FAIL<%d,%s><%p,%p>]", parent_candidate_index, parent_status, parent_candidate, parent);
 
        } else {
                snprintf(output, CHECK_OUTPUT_WIDTH, "[OK]");