[Bug 27862] New: Use GTest for regression tests

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 27 17:52:43 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27862

           Summary: Use GTest for regression tests
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: low
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


I've gradually been converting the telepathy-glib regression tests to use
GTest; the greater modularity, separate setup/teardown, and incentive to put
all the test data in a big struct is generally good for having maintainable
tests.

I intend to require GTest for all new tests.

Tests marked "unimportant" are simple enough that there seems little point in
making the test modular.

tests/*.c
=========

gnio-util.c: not done, similar ad-hoc structure, easy to convert
util.c: unimportant, partially similar ad-hoc structure, easy to convert

asv.c: unimportant
availability-cmp.c: unimportant
debug-domain.c: unimportant
heap.c: unimportant
internal-debug.c: unimportant
intset.c: unimportant

capabilities.c: done
signal-connect-object.c: done

tests/dbus/*.c
==============

channel-introspect.c: not done
cli-group.c: not done
connection-bug-18845.c: not done
connection-getinterfaces-failure.c: not done
connection-handles.c: not done
connection-inject-bug16307.c: not done
contacts-bug-19101.c: not done
contacts.c: not done
contacts-mixin.c: not done
dbus.c: not done
example-no-protocols.c: not done
finalized-in-invalidated-handler.c: not done
group-mixin.c: not done
handle-repo.c: not done
handle-set.c: not done
invalidated-while-invoking-signals.c: not done
long-connection-name.c: not done
message-mixin.c: not done
properties.c: not done
self-handle.c: not done
self-presence.c: not done
text-mixin.c: not done
text-respawn.c: not done
unsupported-interface.c: not done

call-cancellation.c: not done, but not necessarily useful
contacts-slow-path.c: not done, but probably won't be changed any more
disconnection.c: not done, but not necessarily useful

account.c: done
account-manager.c: done
callable-example.c: done
call-example.c: done
channel-dispatcher.c: done
channel-dispatch-operation.c: done
channel-request.c: done
client.c: done
cm.c: done
connection.c: done
connection-error.c: done in Bug #23369
error-enum.c: done
get-interface-after-invalidate.c: done
params-cm.c: done

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list