[folks] Explicitly reset the aggregator between tests.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Explicitly reset the aggregator between tests.
- Date: Thu, 23 Sep 2010 17:10:58 +0000 (UTC)
commit ba73b7bbdb0ffa08611097d11a34383b714715c1
Author: Travis Reitter <travis reitter collabora co uk>
Date: Tue Sep 7 22:47:59 2010 -0700
Explicitly reset the aggregator between tests.
Helps bgo#629008.
tests/telepathy/contact-retrieval.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tests/telepathy/contact-retrieval.vala b/tests/telepathy/contact-retrieval.vala
index 9d0a79a..eb01896 100644
--- a/tests/telepathy/contact-retrieval.vala
+++ b/tests/telepathy/contact-retrieval.vala
@@ -201,6 +201,9 @@ public class ContactRetrievalTests : Folks.TestCase
/* We should have enumerated exactly the individuals in the set */
assert (expected_individuals.size == 0);
+
+ /* necessary to reset the aggregator for the next test */
+ aggregator = null;
}
public void test_individual_properties ()
@@ -253,6 +256,9 @@ public class ContactRetrievalTests : Folks.TestCase
});
main_loop.run ();
+
+ /* necessary to reset the aggregator for the next test */
+ aggregator = null;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]