diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-08-29 14:35:58 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-08-29 14:35:58 (GMT) |
commit | 8310fa230b40122fff897727fe6850a67a4b73be (patch) | |
tree | 16afece093a6409ed2b3588f5c270f9781a40a75 /Swiften/Serializer/UnitTest/StreamFeaturesSerializerTest.cpp | |
parent | 0091fcc571758791442f82ece2a72444b6fe79cf (diff) | |
download | swift-contrib-8310fa230b40122fff897727fe6850a67a4b73be.zip swift-contrib-8310fa230b40122fff897727fe6850a67a4b73be.tar.bz2 |
Added Stream Management support to Stream Features.
Diffstat (limited to 'Swiften/Serializer/UnitTest/StreamFeaturesSerializerTest.cpp')
-rw-r--r-- | Swiften/Serializer/UnitTest/StreamFeaturesSerializerTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Serializer/UnitTest/StreamFeaturesSerializerTest.cpp b/Swiften/Serializer/UnitTest/StreamFeaturesSerializerTest.cpp index 81eeacb..bd39bd8 100644 --- a/Swiften/Serializer/UnitTest/StreamFeaturesSerializerTest.cpp +++ b/Swiften/Serializer/UnitTest/StreamFeaturesSerializerTest.cpp @@ -31,6 +31,7 @@ class StreamFeaturesSerializerTest : public CppUnit::TestFixture streamFeatures->addAuthenticationMechanism("PLAIN"); streamFeatures->setHasResourceBind(); streamFeatures->setHasSession(); + streamFeatures->setHasStreamManagement(); CPPUNIT_ASSERT_EQUAL(String( "<stream:features>" @@ -45,6 +46,7 @@ class StreamFeaturesSerializerTest : public CppUnit::TestFixture "</mechanisms>" "<bind xmlns=\"urn:ietf:params:xml:ns:xmpp-bind\"/>" "<session xmlns=\"urn:ietf:params:xml:ns:xmpp-session\"/>" + "<sm xmlns=\"urn:xmpp:sm:2\"/>" "</stream:features>"), testling.serialize(streamFeatures)); } }; |