telepathy-gabble: regression tests: avoid relying on ye olde Capabilities

Simon McVittie smcv at kemper.freedesktop.org
Thu Sep 12 03:33:10 PDT 2013


Module: telepathy-gabble
Branch: master
Commit: a6a915e1fc82ef49695f8aac027b7e46f30989ce
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=a6a915e1fc82ef49695f8aac027b7e46f30989ce

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Sep 11 17:10:13 2013 +0100

regression tests: avoid relying on ye olde Capabilities

Telepathy 1.0 won't have these, only ContactCapabilities. We should
make sure that deleting Capabilities isn't a test-coverage regression.

Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69194

---

 tests/twisted/caps/caps-cache.py            |   13 +++-
 tests/twisted/caps/caps-persistent-cache.py |    4 +-
 tests/twisted/caps/from-bare-jid.py         |   27 +++++--
 tests/twisted/caps/hashed-caps.py           |  121 ++++++++++++++++----------
 tests/twisted/caps/receive-jingle.py        |  123 ++++++++++++++++++++-------
 tests/twisted/caps/trust-thyself.py         |   25 ++++--
 tests/twisted/caps_helper.py                |   70 +++++++++++++++
 7 files changed, 289 insertions(+), 94 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-gabble/diff/?id=a6a915e1fc82ef49695f8aac027b7e46f30989ce


More information about the telepathy-commits mailing list