[folks] Cast Individuals to Presence as necessary for the tests.



commit 9c57682d32c318094b700c65ef708eb97b884945
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Sun Nov 14 13:21:56 2010 -0800

    Cast Individuals to Presence as necessary for the tests.

 tests/telepathy/individual-properties.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/telepathy/individual-properties.vala b/tests/telepathy/individual-properties.vala
index 358bf1c..eda5371 100644
--- a/tests/telepathy/individual-properties.vala
+++ b/tests/telepathy/individual-properties.vala
@@ -61,7 +61,7 @@ public class IndividualPropertiesTests : Folks.TestCase
               assert (i.alias == "Olivier");
               assert (i.presence_message == "");
               assert (i.presence_type == PresenceType.AWAY);
-              assert (i.is_online () == true);
+              assert (((Presence) i).is_online () == true);
 
               /* Check groups */
               assert (i.groups.size () == 2);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]