diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2012-03-28 15:16:15 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2012-03-28 15:16:15 -0400 |
commit | d834c43aff5c92a9b61723c8812c0cd536542513 (patch) | |
tree | 39c221d6e45e13e38160aef4ea27091692fd0846 /tests | |
parent | fcf24e9575f05d7cdb08a1073d58f36d120ccd79 (diff) | |
download | telepathy-logger-d834c43aff5c92a9b61723c8812c0cd536542513.tar.gz |
Port TplCallChannel to Call1 API
This include a API break in the unstable Call code. Code using the
unstable call log feature will need porting.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dbus/test-tpl-log-store-xml.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c index 97843bd..f35b4a7 100644 --- a/tests/dbus/test-tpl-log-store-xml.c +++ b/tests/dbus/test-tpl-log-store-xml.c @@ -755,7 +755,7 @@ test_add_call_event (XmlTestCaseFixture *fixture, /* TplCallEvent */ "duration", (gint64) 1234, "end-actor", me, - "end-reason", TPL_CALL_END_REASON_USER_REQUESTED, + "end-reason", TP_CALL_STATE_CHANGE_REASON_USER_REQUESTED, "detailed-end-reason", TP_ERROR_STR_CANCELLED, NULL); @@ -784,7 +784,7 @@ test_add_call_event (XmlTestCaseFixture *fixture, /* TplCallEvent */ "duration", (gint64) 2345, "end-actor", contact, - "end-reason", TPL_CALL_END_REASON_USER_REQUESTED, + "end-reason", TP_CALL_STATE_CHANGE_REASON_USER_REQUESTED, "detailed-end-reason", TP_ERROR_STR_TERMINATED, NULL); @@ -813,7 +813,7 @@ test_add_call_event (XmlTestCaseFixture *fixture, /* TplCallEvent */ "duration", (gint64) 3456, "end-actor", room, - "end-reason", TPL_CALL_END_REASON_USER_REQUESTED, + "end-reason", TP_CALL_STATE_CHANGE_REASON_USER_REQUESTED, "detailed-end-reason", TP_ERROR_STR_CHANNEL_KICKED, NULL); @@ -842,7 +842,7 @@ test_add_call_event (XmlTestCaseFixture *fixture, /* TplCallEvent */ "duration", (gint64) -1, "end-actor", room, - "end-reason", TPL_CALL_END_REASON_NO_ANSWER, + "end-reason", TP_CALL_STATE_CHANGE_REASON_NO_ANSWER, "detailed-end-reason", "", NULL); @@ -906,10 +906,8 @@ test_exists (XmlTestCaseFixture *fixture, g_assert (_tpl_log_store_exists (fixture->store, account2, user3, TPL_EVENT_MASK_ANY)); -#ifdef ENABLE_CALL g_assert (!_tpl_log_store_exists (fixture->store, account2, user3, TPL_EVENT_MASK_TEXT)); g_assert (_tpl_log_store_exists (fixture->store, account2, user3, TPL_EVENT_MASK_CALL)); -#endif g_object_unref (account1); g_object_unref (account2); |