[Bug 20405] New: Tests should share more boilerplate
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 1 15:47:32 CET 2009
http://bugs.freedesktop.org/show_bug.cgi?id=20405
Summary: Tests should share more boilerplate
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: medium
Component: telepathy-gabble
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
Quite a few tests have sync_dbus or magic 'expect's to make sure all the
contact list channels have been announced, so that the test can expect
NewChannels without risking picking up the wrong channel. There should be a
"bring me online, send this roster and these vcards, and make sure everything's
happened" helper.
Also, I just found a race where, after calling CreateChannel for a MUC, the
test doesn't wait for Gabble to send the "I want to join" presence before
sending back presences for the other MUC users. This code is copy-pasted all
over the place, and should be abstracted.
Filing this as a general "we should improve this" ticket.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list