diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-04-27 21:24:52 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-27 21:24:52 (GMT) |
commit | 96fb9a57da7b318f81245ed6f597dcd45f32a727 (patch) | |
tree | 54370af52e2f725f792c0ddc3bc57c6084f9274f /Swiften/Parser/PayloadParsers | |
parent | d197c6b11748a7e98ca8ddacf5f43023f25e667a (diff) | |
download | swift-96fb9a57da7b318f81245ed6f597dcd45f32a727.zip swift-96fb9a57da7b318f81245ed6f597dcd45f32a727.tar.bz2 |
Fixed LibXML parsing of &
Resolves: #944
Diffstat (limited to 'Swiften/Parser/PayloadParsers')
-rw-r--r-- | Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp b/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp index a378d0b..5ceec27 100644 --- a/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp +++ b/Swiften/Parser/PayloadParsers/UnitTest/StorageParserTest.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Remko Tronçon + * Copyright (c) 2010-2012 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ @@ -54,7 +54,7 @@ class StorageParserTest : public CppUnit::TestFixture { "name='Council of Oberon' " "jid='council@conference.underhill.org' />" "<conference " - "name='Tea party' " + "name='Tea & jam party' " "jid='teaparty@wonderland.lit' />" "</storage>")); @@ -63,7 +63,7 @@ class StorageParserTest : public CppUnit::TestFixture { CPPUNIT_ASSERT_EQUAL(2, static_cast<int>(rooms.size())); CPPUNIT_ASSERT_EQUAL(std::string("Council of Oberon"), rooms[0].name); CPPUNIT_ASSERT_EQUAL(JID("council@conference.underhill.org"), rooms[0].jid); - CPPUNIT_ASSERT_EQUAL(std::string("Tea party"), rooms[1].name); + CPPUNIT_ASSERT_EQUAL(std::string("Tea & jam party"), rooms[1].name); CPPUNIT_ASSERT_EQUAL(JID("teaparty@wonderland.lit"), rooms[1].jid); } |