summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-10-16 10:10:09 (GMT)
committerTobias Markmann <tm@ayena.de>2015-10-16 12:33:11 (GMT)
commit907fdbdab74b72cc4fde2425dc9b2d4d461daf66 (patch)
tree1dc977342eee505c60fcd88f7a67ed5b801b317b /SwifTools
parentf5b5f35868b3f1fd93906d6458cca965f12c6a5f (diff)
downloadswift-907fdbdab74b72cc4fde2425dc9b2d4d461daf66.zip
swift-907fdbdab74b72cc4fde2425dc9b2d4d461daf66.tar.bz2
Add additional unit tests for Chat <-> JID binding
The recent commit 582ca91 changed the behavior the binding between chat sessions and the full JID of a chat contact. This commit adds additional unit tests verifying the behavior of implemented in 582ca91. This means a chat session binds to the full JID of an incoming message only if the message has a non-empty body text or is a 'typing' chat state notification. It also tests the rebind to another resource if a 'typing'-CSN or a body message is received from that resource. Test-Information: All unit tests pass on OS X 10.10.5. Change-Id: Id3f25d8a3ff78c407ed4b2a97bd421dc4aa58688
Diffstat (limited to 'SwifTools')
0 files changed, 0 insertions, 0 deletions