[next] telepathy-glib: Tests: Use internal API to create TpChannelDispatchOperation and TpChannelRequest objects

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed Dec 26 04:37:47 PST 2012


Module: telepathy-glib
Branch: next
Commit: 1d2d5cd95cf77375ddff636ea4a2f0fcaf863044
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=1d2d5cd95cf77375ddff636ea4a2f0fcaf863044

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Wed Dec 26 11:04:18 2012 +0100

Tests: Use internal API to create TpChannelDispatchOperation and TpChannelRequest objects

Those objects must be created through a factory, there is no public
API for that, because they are supposed to be created internally
by TpBaseClient and friends. For testing purpose we workaround that.

---

 tests/dbus/Makefile.am                  |   14 +++++++
 tests/dbus/channel-dispatch-operation.c |   62 ++++++++++++++++++++++--------
 tests/dbus/channel-request.c            |   44 ++++++++++++++++++----
 3 files changed, 95 insertions(+), 25 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-glib/diff/?id=1d2d5cd95cf77375ddff636ea4a2f0fcaf863044


More information about the telepathy-commits mailing list