summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-06-17 17:10:12 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-06-17 17:10:12 +0100
commitae8b9e9eae3e1fa998eabdf380c0e26061725689 (patch)
treea6bc629f376c536acae147c5ac25355bc0f874a4
parent5fe655759f0e43a57f77ab4bb910112c09c9cdb9 (diff)
downloadfolks-ae8b9e9eae3e1fa998eabdf380c0e26061725689.tar.gz
tests: Add some more debug output to test utilities
For debugging timeout problems.
-rw-r--r--tests/lib/test-utils.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/test-utils.vala b/tests/lib/test-utils.vala
index 47c46615..ab5fecf9 100644
--- a/tests/lib/test-utils.vala
+++ b/tests/lib/test-utils.vala
@@ -295,7 +295,10 @@ public class Folks.TestUtils
var has_yielded = false;
foreach (var name in expected_persona_names)
+ {
+ debug ("Waiting for ā€˜%sā€™", name);
expected.add (name);
+ }
/* Set up the aggregator */
var signal_id = aggregator.individuals_changed_detailed.connect (
@@ -312,6 +315,8 @@ public class Folks.TestUtils
var name_details = i as NameDetails;
assert (name_details != null);
expected.remove (name_details.full_name);
+
+ debug ("Saw individual ā€˜%sā€™", name_details.full_name);
}
assert (removed.size == 1);