summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-25 11:13:59 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-25 14:57:12 +0000
commit0959f367df8b53ee63e54e369caaf6b4572a06af (patch)
tree89a79686ce79d0f94a25f7fccbd5b8477b9a547f
parentef5dfa273aa6a64e73bada9b41ff321e2fc0299b (diff)
tests: use correct object-path namespaces for Telepathy 0.99.5
Reviewed-by: Xavier Claessens Bug: https://bugzilla.gnome.org/show_bug.cgi?id=708871
-rw-r--r--tests/folks/aggregation.vala2
-rw-r--r--tests/telepathy/individual-properties.vala2
-rw-r--r--tests/telepathy/individual-retrieval.vala8
3 files changed, 8 insertions, 4 deletions
diff --git a/tests/folks/aggregation.vala b/tests/folks/aggregation.vala
index 410d8f78..e4e8c22e 100644
--- a/tests/folks/aggregation.vala
+++ b/tests/folks/aggregation.vala
@@ -26,7 +26,7 @@ public class AggregationTests : TpfTest.MixedTestCase
private HashSet<string> _default_personas;
private static string iid_prefix =
- "telepathy:/im/telepathy1/Account/cm/protocol/account:";
+ "telepathy:/im/telepathy/v1/Account/cm/protocol/account:";
private string olivier_sha1 = Checksum.compute_for_string (ChecksumType.SHA1,
iid_prefix + "olivier@example.com");
diff --git a/tests/telepathy/individual-properties.vala b/tests/telepathy/individual-properties.vala
index 2d8215a9..004437af 100644
--- a/tests/telepathy/individual-properties.vala
+++ b/tests/telepathy/individual-properties.vala
@@ -29,7 +29,7 @@ public class IndividualPropertiesTests : TpfTest.TestCase
private HashSet<string>? _changes_pending = null;
private static string iid_prefix =
- "telepathy:/im/telepathy1/Account/cm/protocol/account:";
+ "telepathy:/im/telepathy/v1/Account/cm/protocol/account:";
private string olivier_sha1 = Checksum.compute_for_string (ChecksumType.SHA1,
iid_prefix + "olivier@example.com");
diff --git a/tests/telepathy/individual-retrieval.vala b/tests/telepathy/individual-retrieval.vala
index 8a629a51..fbedc0ed 100644
--- a/tests/telepathy/individual-retrieval.vala
+++ b/tests/telepathy/individual-retrieval.vala
@@ -29,7 +29,7 @@ public class IndividualRetrievalTests : TpfTest.TestCase
private HashSet<string> default_individuals;
private static string iid_prefix =
- "telepathy:/im/telepathy1/Account/cm/protocol/account:";
+ "telepathy:/im/telepathy/v1/Account/cm/protocol/account:";
public IndividualRetrievalTests ()
{
@@ -68,7 +68,10 @@ public class IndividualRetrievalTests : TpfTest.TestCase
/* work on a copy so we can mangle it */
HashSet<string> expected_individuals = new HashSet<string> ();
foreach (var id in this.default_individuals)
- expected_individuals.add (id);
+ {
+ GLib.debug ("expecting individual iid: %s", id);
+ expected_individuals.add (id);
+ }
/* Set up the aggregator */
var aggregator = IndividualAggregator.dup ();
@@ -80,6 +83,7 @@ public class IndividualRetrievalTests : TpfTest.TestCase
foreach (Individual i in added)
{
assert (i != null);
+ GLib.debug ("added individual iid: %s", i.id);
expected_individuals.remove (i.id);
}