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
It'd be nice to use the g_assert_cmpTHING family of functions instead of MYASSERT(), too.
*** 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.