use IndividualAggregator.dup () in tests and tools
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 5 Aug 2013 12:30:13 +0000 (14:30 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 5 Aug 2013 12:40:45 +0000 (14:40 +0200)
The default constructor has been deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=705289

105 files changed:
tests/eds/add-contacts-stress-test.vala
tests/eds/add-persona.vala
tests/eds/anti-linking.vala
tests/eds/avatar-details.vala
tests/eds/create-remove-stores.vala
tests/eds/email-details.vala
tests/eds/enable-disable-stores.vala
tests/eds/helper-prepare-aggregator.vala
tests/eds/im-details.vala
tests/eds/individual-retrieval.vala
tests/eds/link-personas-diff-stores.vala
tests/eds/link-personas.vala
tests/eds/linkable-properties.vala
tests/eds/name-details.vala
tests/eds/perf.vala
tests/eds/phone-details.vala
tests/eds/postal-address-details.vala
tests/eds/remove-persona.vala
tests/eds/removing-contacts.vala
tests/eds/set-avatar.vala
tests/eds/set-birthday.vala
tests/eds/set-emails.vala
tests/eds/set-gender.vala
tests/eds/set-im-addresses.vala
tests/eds/set-is-favourite.vala
tests/eds/set-names.vala
tests/eds/set-notes.vala
tests/eds/set-phones.vala
tests/eds/set-postal-addresses.vala
tests/eds/set-properties-race.vala
tests/eds/set-roles.vala
tests/eds/set-structured-name.vala
tests/eds/set-urls.vala
tests/eds/store-removed.vala
tests/eds/updating-contacts.vala
tests/folks/aggregation.vala
tests/folks/init.vala
tests/key-file/individual-retrieval.vala
tests/libsocialweb/aggregation.vala
tests/libsocialweb/dummy-lsw.vala
tests/telepathy/fake-tp-backend.vala
tests/telepathy/individual-properties.vala
tests/telepathy/individual-retrieval.vala
tests/telepathy/individual-zeitgeist.vala
tests/telepathy/init.vala
tests/tracker/add-contact.vala
tests/tracker/add-persona.vala
tests/tracker/additional-names-updates.vala
tests/tracker/avatar-details-interface.vala
tests/tracker/avatar-updates.vala
tests/tracker/birthday-details-interface.vala
tests/tracker/birthday-updates.vala
tests/tracker/default-contact.vala
tests/tracker/duplicated-emails.vala
tests/tracker/duplicated-phones.vala
tests/tracker/email-details-interface.vala
tests/tracker/emails-updates.vala
tests/tracker/family-name-updates.vala
tests/tracker/favourite-details-interface.vala
tests/tracker/favourite-updates.vala
tests/tracker/fullname-updates.vala
tests/tracker/gender-details-interface.vala
tests/tracker/given-name-updates.vala
tests/tracker/im-details-interface.vala
tests/tracker/imaddresses-updates.vala
tests/tracker/individual-retrieval.vala
tests/tracker/link-personas-via-local-ids.vala
tests/tracker/link-personas.vala
tests/tracker/match-all.vala
tests/tracker/match-email-addresses.vala
tests/tracker/match-im-addresses.vala
tests/tracker/match-known-emails.vala
tests/tracker/match-name.vala
tests/tracker/match-phone-number.vala
tests/tracker/name-details-interface.vala
tests/tracker/nickname-updates.vala
tests/tracker/note-details-interface.vala
tests/tracker/phone-details-interface.vala
tests/tracker/phones-updates.vala
tests/tracker/postal-address-details-interface.vala
tests/tracker/prefix-name-updates.vala
tests/tracker/remove-contact.vala
tests/tracker/remove-persona.vala
tests/tracker/role-details-interface.vala
tests/tracker/set-avatar.vala
tests/tracker/set-birthday.vala
tests/tracker/set-duplicate-email.vala
tests/tracker/set-emails.vala
tests/tracker/set-favourite.vala
tests/tracker/set-full-name.vala
tests/tracker/set-gender.vala
tests/tracker/set-im-addresses.vala
tests/tracker/set-nickname.vala
tests/tracker/set-notes.vala
tests/tracker/set-null-avatar.vala
tests/tracker/set-phones.vala
tests/tracker/set-postal-addresses.vala
tests/tracker/set-roles.vala
tests/tracker/set-structured-name.vala
tests/tracker/set-urls.vala
tests/tracker/suffix-name-updates.vala
tests/tracker/url-details-interface.vala
tests/tracker/website-updates.vala
tools/import.vala
tools/inspect/inspect.vala

index bd7fe0c..fb024e7 100644 (file)
@@ -77,7 +77,7 @@ public class AddContactsStressTestTests : EdsTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 178fcb3..ce64ce1 100644 (file)
@@ -113,7 +113,7 @@ public class AddPersonaTests : EdsTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index dd51914..ef7fd0f 100644 (file)
@@ -119,7 +119,7 @@ public class AntiLinkingTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_aggregate_after_change_cb);
       try
@@ -240,7 +240,7 @@ public class AntiLinkingTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_anti_linking_removal_cb);
       try
index 21802f3..6c67466 100644 (file)
@@ -70,7 +70,7 @@ public class AvatarDetailsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index d189005..51df74a 100644 (file)
@@ -79,7 +79,7 @@ public class CreateRemoveStoresTests : EdsTest.TestCase
   private async void _test_creating_removing_stores_async ()
     {
       yield this._backend_store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       try
         {
           yield this._backend_store.load_backends ();
index f077c9c..99380b2 100644 (file)
@@ -107,7 +107,7 @@ public class EmailDetailsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 5ba1fce..335ce7c 100644 (file)
@@ -85,7 +85,7 @@ public class EnableDisableStoresTests : EdsTest.TestCase
   private async void _test_disabling_stores_async ()
     {
       yield this._backend_store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       try
         {
           yield this._backend_store.load_backends ();
index a7b674e..1b71a6b 100644 (file)
@@ -135,7 +135,7 @@ public class Main
       yield TestUtils.backend_prepare_and_wait_for_quiescence ((!) eds);
 
       message ("%.6f Waiting for aggregator", Test.timer_elapsed ());
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       yield TestUtils.aggregator_prepare_and_wait_for_quiescence (aggregator);
 
       var map = aggregator.individuals;
index e0a8986..230e8f2 100644 (file)
@@ -79,7 +79,7 @@ public class ImDetailsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index a02c674..b3ea06d 100644 (file)
@@ -75,7 +75,7 @@ public class IndividualRetrievalTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 8701bcf..fa781ef 100644 (file)
@@ -86,7 +86,7 @@ public class LinkPersonasDiffStoresTests : EdsTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 74f72dd..924ba65 100644 (file)
@@ -134,7 +134,7 @@ public class LinkPersonasTests : EdsTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 44512b7..f89957e 100644 (file)
@@ -114,7 +114,7 @@ public class LinkablePropertiesTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_aggregate_after_change_cb);
       try
index bb292be..31add08 100644 (file)
@@ -98,7 +98,7 @@ public class NameDetailsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 1609bf7..622930c 100644 (file)
@@ -106,7 +106,7 @@ public class PerfTests : EdsTest.TestCase
       yield TestUtils.backend_prepare_and_wait_for_quiescence ((!) eds);
 
       message ("%.6f Preparing aggregator", Test.timer_elapsed ());
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       yield aggregator.prepare ();
 
       message ("%.6f Waiting for aggregator", Test.timer_elapsed ());
index b62e444..05059da 100644 (file)
@@ -99,7 +99,7 @@ public class PhoneDetailsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 22abe62..cfc8c71 100644 (file)
@@ -102,7 +102,7 @@ public class PostalAddressDetailsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 297953c..37a01ff 100644 (file)
@@ -62,7 +62,7 @@ public class RemovePersonaTests : EdsTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index cb640ac..7c70cdf 100644 (file)
@@ -66,7 +66,7 @@ public class RemovingContactsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 318954f..e317e2f 100644 (file)
@@ -75,7 +75,7 @@ public class SetAvatarTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
@@ -180,7 +180,7 @@ public class SetAvatarTests : EdsTest.TestCase
       var store = BackendStore.dup ();
       yield store.prepare ();
 
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var added = changes.get_values ();
index d5fb7c3..cb5021c 100644 (file)
@@ -67,7 +67,7 @@ public class SetBirthdayTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 2d575d9..55d83f8 100644 (file)
@@ -66,7 +66,7 @@ public class SetEmailsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 6cab286..cf6e742 100644 (file)
@@ -67,7 +67,7 @@ public class SetGenderTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect (
           this._individuals_changed_cb);
       try
index 8dd1c61..4f2791b 100644 (file)
@@ -67,7 +67,7 @@ public class SetIMAddressesTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 5ff7b23..3a936de 100644 (file)
@@ -67,7 +67,7 @@ public class SetIsFavouriteTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect (
           this._individuals_changed_cb);
       try
index f1fee50..0e24f28 100644 (file)
@@ -76,7 +76,7 @@ public class SetNamesTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect (
           this._individuals_changed_cb);
       try
index 1264cd2..8baa5d2 100644 (file)
@@ -68,7 +68,7 @@ public class SetNotesTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index eeed3ce..ea1dcb5 100644 (file)
@@ -68,7 +68,7 @@ public class SetPhonesTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 54a923d..b1ce391 100644 (file)
@@ -74,7 +74,7 @@ public class SetPostalAddressesTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index bfdf8d8..68457e7 100644 (file)
@@ -74,7 +74,7 @@ public class SetPropertiesRaceTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 188ee17..c0c064e 100644 (file)
@@ -68,7 +68,7 @@ public class SetRolesTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 7adc388..fd5053c 100644 (file)
@@ -69,7 +69,7 @@ public class SetStructuredNameTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 5fa06f3..d828f76 100644 (file)
@@ -81,7 +81,7 @@ public class SetUrlsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 4d6e282..9dd017a 100644 (file)
@@ -78,7 +78,7 @@ public class StoreRemovedTests : EdsTest.TestCase
       var store = BackendStore.dup ();
       yield store.prepare ();
 
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
 
       ulong signal_id = 0;
       signal_id = this._aggregator.individuals_changed_detailed.connect (
index 35648ab..5765b0a 100644 (file)
@@ -66,7 +66,7 @@ public class UpdatingContactsTests : EdsTest.TestCase
 
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 024e296..2f9c2d6 100644 (file)
@@ -129,7 +129,7 @@ public class AggregationTests : TpfTest.MixedTestCase
         }
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var removed = changes.get_keys ();
@@ -262,7 +262,7 @@ public class AggregationTests : TpfTest.MixedTestCase
       weak Individual individual2_detailed = null;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var removed = changes.get_keys ();
@@ -438,7 +438,7 @@ public class AggregationTests : TpfTest.MixedTestCase
       weak Individual individual2_detailed = null;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var removed = changes.get_keys ();
@@ -616,7 +616,7 @@ public class AggregationTests : TpfTest.MixedTestCase
       Individual user_individual_detailed = null;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       var individuals_changed_detailed_id =
           aggregator.individuals_changed_detailed.connect ((changes) =>
         {
@@ -746,7 +746,7 @@ public class AggregationTests : TpfTest.MixedTestCase
           "me2@example.com", "cm", "account2");
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       var individuals_changed_detailed_id =
           aggregator.individuals_changed_detailed.connect ((changes) =>
         {
@@ -867,7 +867,7 @@ public class AggregationTests : TpfTest.MixedTestCase
       var individuals_map = new HashMap<string, IndividualState> ();
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       var aggregator_is_finalising = false;
 
       aggregator.individuals_changed.connect ((added, removed, m, a, r) =>
@@ -981,7 +981,7 @@ public class AggregationTests : TpfTest.MixedTestCase
       Individual? individual = null;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           assert (changes.size == 1);
@@ -1095,7 +1095,7 @@ public class AggregationTests : TpfTest.MixedTestCase
       Individual? individual = null;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       var individuals_changed_id =
           aggregator.individuals_changed_detailed.connect ((changes) =>
         {
@@ -1270,7 +1270,7 @@ public class AggregationTests : TpfTest.MixedTestCase
       Individual? individual = null;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           assert (changes.size == 1);
index b7318e9..289b9b7 100644 (file)
@@ -62,7 +62,7 @@ public class InitTests : TpfTest.MixedTestCase
       /* Wreak havoc. */
       for (uint i = 0; i < 10; i++)
         {
-          var aggregator = new IndividualAggregator ();
+          var aggregator = IndividualAggregator.dup ();
           aggregator.prepare (); /* Note: We don't yield for this to complete */
           aggregator = null;
         }
@@ -124,7 +124,7 @@ public class InitTests : TpfTest.MixedTestCase
 
       for (uint i = 0; i < 10; i++)
         {
-          var aggregator = new IndividualAggregator ();
+          var aggregator = IndividualAggregator.dup ();
 
           try
             {
index 546bb46..42ca874 100644 (file)
@@ -50,7 +50,7 @@ public class IndividualRetrievalTests : KfTest.TestCase
       expected_individuals.add ("1");
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var added = changes.get_values ();
@@ -103,7 +103,7 @@ public class IndividualRetrievalTests : KfTest.TestCase
           "msn=foo@hotmail.com\n");
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       uint individuals_changed_count = 0;
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
index 6d47bec..ecb4c13 100644 (file)
@@ -161,7 +161,7 @@ public class AggregationTests : LibsocialwebTest.TestCase
             });
         });
 
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       Individual[] individual_gathered = new Individual[0];
       var handler_id =
           aggregator.individuals_changed_detailed.connect ((changes) =>
index 4cccffd..d340e03 100644 (file)
@@ -106,7 +106,7 @@ public class DummyLswTests : LibsocialwebTest.TestCase
             });
         });
 
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       Individual? i1 = null;
       Individual? i2 = null;
       var handler_id =
index 14f4a7d..407e8f4 100644 (file)
@@ -35,7 +35,7 @@ public int main (string[] args)
   var main_loop = new GLib.MainLoop (null, false);
 
   /* Set up the aggregator */
-  var aggregator = new IndividualAggregator ();
+  var aggregator = IndividualAggregator.dup ();
 
   Idle.add (() =>
     {
index e355661..45acb62 100644 (file)
@@ -61,7 +61,7 @@ public class IndividualPropertiesTests : TpfTest.TestCase
       var main_loop = new GLib.MainLoop (null, false);
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var added = changes.get_values ();
@@ -191,7 +191,7 @@ public class IndividualPropertiesTests : TpfTest.TestCase
       var alias_notified = false;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var added = changes.get_values ();
@@ -264,7 +264,7 @@ public class IndividualPropertiesTests : TpfTest.TestCase
       var alias_notified = false;
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var added = changes.get_values ();
@@ -342,7 +342,7 @@ public class IndividualPropertiesTests : TpfTest.TestCase
       this._changes_pending.add ("urls");
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           this._change_contact_info_aggregator_individuals_added.begin (changes);
index 5919e3d..8524240 100644 (file)
@@ -74,7 +74,7 @@ public class IndividualRetrievalTests : TpfTest.TestCase
         expected_individuals.add (id);
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
           var added = changes.get_values ();
@@ -136,7 +136,7 @@ public class IndividualRetrievalTests : TpfTest.TestCase
       added_individuals.add ("carl-brutananadilewski@example.com");
 
       /* Set up the aggregator */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
 
       aggregator.individuals_changed_detailed.connect ((changes) =>
         {
index 6e047e2..5d62942 100644 (file)
@@ -47,7 +47,7 @@ public int main (string[] args)
 {
   var main_loop = new GLib.MainLoop (null, false);
   /* Set up the aggregator */
-  var aggregator = new IndividualAggregator ();
+  var aggregator = IndividualAggregator.dup ();
 
   aggregator.notify["is-quiescent"].connect (() =>
     {
index f842a07..44bca60 100644 (file)
@@ -37,7 +37,7 @@ public class InitTests : TpfTest.TestCase
       var main_loop = new GLib.MainLoop (null, false);
 
       /* Main test code. */
-      var aggregator = new IndividualAggregator ();
+      var aggregator = IndividualAggregator.dup ();
 
       Idle.add (() =>
         {
index e921fe8..8f0fe9d 100644 (file)
@@ -59,7 +59,7 @@ public class AddContactTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
 
index 109c3c6..13a4ff9 100644 (file)
@@ -133,7 +133,7 @@ public class AddPersonaTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index de3ad71..7c7a620 100644 (file)
@@ -78,7 +78,7 @@ public class AdditionalNamesUpdatesTests : TrackerTest.TestCase
   private async void _test_additional_names_updates_async (BackendStore store)
     {
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 782d338..26a0f58 100644 (file)
@@ -66,7 +66,7 @@ public class AvatarDetailsInterfaceTests : TrackerTest.TestCase
       yield store.prepare ();
 
       /* Set up the aggregator */
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 0c8ad7b..cead31e 100644 (file)
@@ -81,7 +81,7 @@ public class AvatarUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index c349b8e..cfcdfb4 100644 (file)
@@ -70,7 +70,7 @@ public class BirthdayDetailsInterfaceTests : TrackerTest.TestCase
       var store = BackendStore.dup ();
       yield store.prepare ();
 
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index f35fef5..9aae3e2 100644 (file)
@@ -88,7 +88,7 @@ public class BirthdayUpdatesTests : TrackerTest.TestCase
       var store = BackendStore.dup ();
       yield store.prepare ();
       /* Set up the aggregator */
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 14f01b0..b690c25 100644 (file)
@@ -66,7 +66,7 @@ public class DefaultContactTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 582907b..4e67d36 100644 (file)
@@ -58,7 +58,7 @@ public class DuplicatedEmailsTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 1d5fae4..b7a049b 100644 (file)
@@ -58,7 +58,7 @@ public class DuplicatedPhonesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index e6a6fca..3102770 100644 (file)
@@ -68,7 +68,7 @@ public class EmailDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 2c9c5dd..f183b29 100644 (file)
@@ -93,7 +93,7 @@ public class EmailsUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index da2af7b..9ef13e7 100644 (file)
@@ -77,7 +77,7 @@ public class FamilyNameUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 61d7258..369e316 100644 (file)
@@ -82,7 +82,7 @@ public class FavouriteDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 0b24b49..656295e 100644 (file)
@@ -85,7 +85,7 @@ public class FavouriteUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index aec16d7..ccd63be 100644 (file)
@@ -75,7 +75,7 @@ public class FullnameUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 17cbf51..270960e 100644 (file)
@@ -66,7 +66,7 @@ public class GenderDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 968759a..962b26b 100644 (file)
@@ -76,7 +76,7 @@ public class GivenNameUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index dc80f11..a835e19 100644 (file)
@@ -70,7 +70,7 @@ public class ImDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 8e486db..c89425c 100644 (file)
@@ -79,7 +79,7 @@ public class IMAddressesUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 46a7346..dc28a51 100644 (file)
@@ -61,7 +61,7 @@ public class IndividualRetrievalTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 860cd79..b9bb9e2 100644 (file)
@@ -95,7 +95,7 @@ public class LinkPersonasViaLocalIDsTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index ba2b300..ccc0a43 100644 (file)
@@ -97,7 +97,7 @@ public class LinkPersonasTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index c1c0966..f1ec8f0 100644 (file)
@@ -82,7 +82,7 @@ public class MatchAllTests : TrackerTest.TestCase
 
       if (this._aggregator == null)
         {
-          this._aggregator = new IndividualAggregator ();
+          this._aggregator = IndividualAggregator.dup ();
           this._aggregator.individuals_changed_detailed.connect
             (this._individuals_changed_cb);
         }
index bcbc79f..c9499c2 100644 (file)
@@ -59,7 +59,7 @@ public class MatchEmailAddressesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index d914637..c7fad9b 100644 (file)
@@ -59,7 +59,7 @@ public class MatchIMAddressesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index caeea0e..94f33c1 100644 (file)
@@ -67,7 +67,7 @@ public class MatchKnownEmailsTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index f247803..88ee7f6 100644 (file)
@@ -117,7 +117,7 @@ public class MatchNameTests : TrackerTest.TestCase
 
       if (this._aggregator == null)
         {
-          this._aggregator = new IndividualAggregator ();
+          this._aggregator = IndividualAggregator.dup ();
           this._aggregator.individuals_changed_detailed.connect
             (this._individuals_changed_cb);
         }
index 24246d4..9ad36d3 100644 (file)
@@ -61,7 +61,7 @@ public class MatchPhoneNumberTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 97f60ba..429fb0e 100644 (file)
@@ -69,7 +69,7 @@ public class NameDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index bdfda34..64b3076 100644 (file)
@@ -70,7 +70,7 @@ public class NicknameUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 3ed76df..8e484d2 100644 (file)
@@ -67,7 +67,7 @@ public class NoteDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 7c97b7b..3340217 100644 (file)
@@ -67,7 +67,7 @@ public class PhoneDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 3ddea90..65ce26e 100644 (file)
@@ -79,7 +79,7 @@ public class PhonesUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index b450c9f..c14d6bb 100644 (file)
@@ -98,7 +98,7 @@ public class PostalAddressDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index e74589f..a20c6ae 100644 (file)
@@ -76,7 +76,7 @@ public class PrefixNameUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 5571c56..7e8a9e3 100644 (file)
@@ -65,7 +65,7 @@ public class RemoveContactTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 6367eb9..657a670 100644 (file)
@@ -63,7 +63,7 @@ public class RemovePersonaTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 65346bc..064be8e 100644 (file)
@@ -67,7 +67,7 @@ public class RoleDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 794530b..bad6f33 100644 (file)
@@ -65,7 +65,7 @@ public class SetAvatarTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 56b8546..8a5df05 100644 (file)
@@ -69,7 +69,7 @@ public class SetBirthdayTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 0773a08..9545214 100644 (file)
@@ -59,7 +59,7 @@ public class SetDuplicateEmailTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index f2ebf0c..b7e1dad 100644 (file)
@@ -68,7 +68,7 @@ public class SetEmailsTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 90bc63e..8eb2797 100644 (file)
@@ -82,7 +82,7 @@ public class SetFavouriteTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 7293b8e..28a10d0 100644 (file)
@@ -66,7 +66,7 @@ public class SetFullNameTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index ab96b82..7212177 100644 (file)
@@ -62,7 +62,7 @@ public class SetGenderTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index a6e8f9f..7b00e0a 100644 (file)
@@ -69,7 +69,7 @@ public class SetIMAddressesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index e171a54..1f9e962 100644 (file)
@@ -69,7 +69,7 @@ public class SetNicknameTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index c9b197a..d5e3876 100644 (file)
@@ -65,7 +65,7 @@ public class SetNotesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 1b02c4b..e6671fe 100644 (file)
@@ -61,7 +61,7 @@ public class SetNullAvatarTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 82b5afe..49a5123 100644 (file)
@@ -68,7 +68,7 @@ public class SetPhonesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 9fa2be3..94471dd 100644 (file)
@@ -74,7 +74,7 @@ public class SetPostalAddressesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 4696c5a..0850167 100644 (file)
@@ -67,7 +67,7 @@ public class SetRolesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 1f44982..f39526f 100644 (file)
@@ -76,7 +76,7 @@ public class SetStructuredNameTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 80d7a11..922087c 100644 (file)
@@ -66,7 +66,7 @@ public class SetURLsTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index f136914..ac4ff97 100644 (file)
@@ -78,7 +78,7 @@ public class SuffixNameUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index e3802bc..3cba442 100644 (file)
@@ -72,7 +72,7 @@ public class UrlDetailsInterfaceTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index 9095a5c..b2942ca 100644 (file)
@@ -78,7 +78,7 @@ public class WebsiteUpdatesTests : TrackerTest.TestCase
     {
       var store = BackendStore.dup ();
       yield store.prepare ();
-      this._aggregator = new IndividualAggregator ();
+      this._aggregator = IndividualAggregator.dup ();
       this._aggregator.individuals_changed_detailed.connect
           (this._individuals_changed_cb);
       try
index e8872f8..3ceab9e 100644 (file)
@@ -77,7 +77,7 @@ public class Folks.ImportTool : Object
       /* FIXME: We need to create this, even though we don't use it, to prevent
        * debug message spew, as its constructor initialises the log handling.
        * bgo#629096 */
-      IndividualAggregator aggregator = new IndividualAggregator ();
+      IndividualAggregator aggregator = IndividualAggregator.dup ();
       aggregator = null;
 
       /* Create a main loop and start importing */
index 6b5896f..5778e2e 100644 (file)
@@ -148,7 +148,7 @@ public class Folks.Inspect.Client : Object
       this.main_loop = new MainLoop ();
       this.signal_manager = new SignalManager ();
       this.backend_store = BackendStore.dup ();
-      this.aggregator = new IndividualAggregator ();
+      this.aggregator = IndividualAggregator.dup ();
     }
 
   public void quit ()