Bug 27862 - Use GTest for regression tests
Summary: Use GTest for regression tests
Status: RESOLVED DUPLICATE of bug 74626
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: git master
Hardware: Other All
: low trivial
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard: easy?
Keywords: love
Depends on:
Blocks:
 
Reported: 2010-04-27 08:52 UTC by Simon McVittie
Modified: 2014-03-20 12:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2010-04-27 08:52:43 UTC
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
Comment 1 Simon McVittie 2010-10-26 03:43:36 UTC
It'd be nice to use the g_assert_cmpTHING family of functions instead of MYASSERT(), too.
Comment 2 Simon McVittie 2014-03-20 12:38:38 UTC

*** This bug has been marked as a duplicate of bug 74626 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.