summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-01-28 11:52:55 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-02-08 14:19:59 +0000
commit1b86f814607c2bc4564b30bca45cd05d5be02477 (patch)
treee2e6d66cb923b54735fb9d4ed7aba6fb3aba2c08 /tests
parentee78f6df50691371095c16059f04002aee8dae6b (diff)
downloadtelepathy-logger-1b86f814607c2bc4564b30bca45cd05d5be02477.tar.gz
Renamed TplEventText into TplTextEvent
This renames the subclass in a more natural and more traditional way as found in many other GObject based APIs.
Diffstat (limited to 'tests')
-rw-r--r--tests/dbus/test-tpl-log-store-pidgin.c8
-rw-r--r--tests/test-tpl-log-manager.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/dbus/test-tpl-log-store-pidgin.c b/tests/dbus/test-tpl-log-store-pidgin.c
index bbd0996..a89017c 100644
--- a/tests/dbus/test-tpl-log-store-pidgin.c
+++ b/tests/dbus/test-tpl-log-store-pidgin.c
@@ -8,7 +8,7 @@
#include "lib/simple-account-manager.h"
#include <telepathy-logger/log-store-pidgin-internal.h>
-#include <telepathy-logger/event-text-internal.h>
+#include <telepathy-logger/text-event-internal.h>
#include <telepathy-glib/debug-sender.h>
@@ -339,7 +339,7 @@ test_get_events_for_date_jabber (PidginTestCaseFixture *fixture,
gconstpointer user_data)
{
GList *l;
- TplEventText *msg = NULL;
+ TplTextEvent *msg = NULL;
GDate *date = g_date_new_dmy (12, G_DATE_APRIL, 2010);
/* chatroom messages */
@@ -352,7 +352,7 @@ test_get_events_for_date_jabber (PidginTestCaseFixture *fixture,
msg = g_list_nth_data (l, 0);
g_assert (_tpl_event_target_is_room (TPL_EVENT (msg)) == TRUE);
- g_assert_cmpstr (tpl_event_text_get_message (msg), ==, "1");
+ g_assert_cmpstr (tpl_text_event_get_message (msg), ==, "1");
g_list_foreach (l, (GFunc) g_object_unref, NULL);
g_list_free (l);
@@ -368,7 +368,7 @@ test_get_events_for_date_jabber (PidginTestCaseFixture *fixture,
msg = g_list_nth_data (l, 0);
g_assert (_tpl_event_target_is_room (TPL_EVENT (msg)) == FALSE);
- g_assert_cmpstr (tpl_event_text_get_message (msg), ==, "hi");
+ g_assert_cmpstr (tpl_text_event_get_message (msg), ==, "hi");
g_list_foreach (l, (GFunc) g_object_unref, NULL);
g_list_free (l);
diff --git a/tests/test-tpl-log-manager.c b/tests/test-tpl-log-manager.c
index 1248482..672d011 100644
--- a/tests/test-tpl-log-manager.c
+++ b/tests/test-tpl-log-manager.c
@@ -1,4 +1,4 @@
-#include <telepathy-logger/event-text.h>
+#include <telepathy-logger/text-event.h>
#define gconf_client_get_bool(obj,key,err) g_print ("%s", key)