[next] telepathy-glib: all C tests: use GTest, so we can have TAP output

Simon McVittie smcv at kemper.freedesktop.org
Tue Mar 25 03:45:56 PDT 2014


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

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Mar 20 11:32:35 2014 +0000

all C tests: use GTest, so we can have TAP output

I deliberately haven't done much refactoring to move setup and teardown
into the relevant functions; that can wait.

Similarly, I deliberately provided the boilerplate for a Fixture struct
and stub setup and teardown functions, to keep them all similar, and
so we can easily add setup/teardown later.

---

 tests/asv.c                                   |   32 ++++++++++-
 tests/availability-cmp.c                      |   32 ++++++++++-
 tests/dbus/call-cancellation.c                |   73 +++++++++++++-----------
 tests/dbus/disconnection.c                    |   69 +++++++++++++----------
 tests/dbus/example-no-protocols.c             |   34 ++++++++++--
 tests/dbus/finalized-in-invalidated-handler.c |   35 ++++++++++--
 tests/dbus/group-mixin.c                      |   34 ++++++++++--
 tests/dbus/handle-repo.c                      |   38 +++++++++----
 tests/dbus/handle-set.c                       |   34 ++++++++++--
 tests/dbus/message-mixin.c                    |   34 ++++++++++--
 tests/dbus/self-presence.c                    |   34 ++++++++++--
 tests/dbus/text-respawn.c                     |   34 ++++++++++--
 tests/debug-domain.c                          |   32 ++++++++++-
 tests/gnio-util.c                             |   74 ++++++++++++++++++-------
 tests/heap.c                                  |   34 ++++++++++--
 tests/internal-debug.c                        |   34 +++++++++++-
 tests/intset.c                                |   33 ++++++++++-
 tests/logger/test-tpl-conf.c                  |   32 ++++++++++-
 tests/util.c                                  |   33 ++++++++++-
 19 files changed, 616 insertions(+), 139 deletions(-)

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


More information about the telepathy-commits mailing list