summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2013-08-02 16:11:44 +0200
committerPhilip Withnall <philip@tecnocode.co.uk>2013-08-02 16:11:44 +0200
commit53c8317563f26da4f673a4b03777796651fe17ff (patch)
tree1f6b2e4ea927c639927cce243edc58f686d19580 /tests
parent1b7e8d83bb7488aac7bcf2d59df3a7b35f316ae2 (diff)
tests: Fix implicit .begin usage in double-aggregator test
Diffstat (limited to 'tests')
-rw-r--r--tests/eds/double-aggregator.vala14
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/eds/double-aggregator.vala b/tests/eds/double-aggregator.vala
index fa68a9f2..ec573461 100644
--- a/tests/eds/double-aggregator.vala
+++ b/tests/eds/double-aggregator.vala
@@ -68,7 +68,10 @@ public class DoubleAggregatorTests : EdsTest.TestCase
{
this._prepare_test ();
- this._unlink_individuals ();
+ this._unlink_individuals.begin ((o, r) =>
+ {
+ this._unlink_individuals.end (r);
+ });
TestUtils.loop_run_with_timeout (this._main_loop);
}
@@ -76,7 +79,10 @@ public class DoubleAggregatorTests : EdsTest.TestCase
{
this._prepare_test ();
- this._remove_individual ();
+ this._remove_individual.begin ((o, r) =>
+ {
+ this._remove_individual.end (r);
+ });
TestUtils.loop_run_with_timeout (this._main_loop);
}
@@ -116,7 +122,7 @@ public class DoubleAggregatorTests : EdsTest.TestCase
yield this.eds_backend.commit_contacts_to_addressbook ();
this._aggregator.notify["is-quiescent"].connect (this._link_individuals);
- this._prepare_aggregator (this._aggregator);
+ yield this._prepare_aggregator (this._aggregator);
}
private async void _link_individuals ()
@@ -144,7 +150,7 @@ public class DoubleAggregatorTests : EdsTest.TestCase
this._aggregator2 = new IndividualAggregator ();
this._aggregator2.notify["is-quiescent"].connect (this._aggregator2_is_quiescent);
- this._prepare_aggregator (this._aggregator2);
+ yield this._prepare_aggregator (this._aggregator2);
}
private void _aggregator2_is_quiescent ()