[folks] tracker: update linking test to use iid instead of uid
- From: Raul Gutierrez Segales <raulgs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] tracker: update linking test to use iid instead of uid
- Date: Wed, 31 Aug 2011 22:05:26 +0000 (UTC)
commit a1a8c976ac18ad18474a684e4a48b953289ed518
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date: Wed Aug 31 22:24:18 2011 +0100
tracker: update linking test to use iid instead of uid
tests/tracker/link-personas-via-local-ids.vala | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/tests/tracker/link-personas-via-local-ids.vala b/tests/tracker/link-personas-via-local-ids.vala
index f8d9767..71c73a8 100644
--- a/tests/tracker/link-personas-via-local-ids.vala
+++ b/tests/tracker/link-personas-via-local-ids.vala
@@ -33,8 +33,8 @@ public class LinkPersonasViaLocalIDsTests : Folks.TestCase
private bool _linking_fired;
private bool _persona_found_1;
private bool _persona_found_2;
- private string _persona_uid_1 = "";
- private string _persona_uid_2 = "";
+ private string _persona_iid_1 = "";
+ private string _persona_iid_2 = "";
private HashSet<Persona> _personas;
private int _removed_individuals = 0;
private string _folks_config_key = "/system/folks/backends/primary_store";
@@ -237,18 +237,18 @@ public class LinkPersonasViaLocalIDsTests : Folks.TestCase
}
if (i.full_name == this._persona_fullname_1 &&
- this._persona_uid_1 == "")
+ this._persona_iid_1 == "")
{
- this._persona_uid_1 = first_persona.uid;
+ this._persona_iid_1 = first_persona.iid;
this._personas.add (first_persona);
- this._local_ids.add (this._persona_uid_1);
+ this._local_ids.add (this._persona_iid_1);
}
else if (i.full_name == this._persona_fullname_2 &&
- this._persona_uid_2 == "")
+ this._persona_iid_2 == "")
{
- this._persona_uid_2 = first_persona.uid;
+ this._persona_iid_2 = first_persona.iid;
this._personas.add (first_persona);
- this._local_ids.add (this._persona_uid_2);
+ this._local_ids.add (this._persona_iid_2);
}
else if (i.personas.size > 1)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]