summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/Parser/UnitTest/SerializingParserTest.cpp
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/Parser/UnitTest/SerializingParserTest.cpp')
-rw-r--r--Swiften/Parser/UnitTest/SerializingParserTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/UnitTest/SerializingParserTest.cpp b/Swiften/Parser/UnitTest/SerializingParserTest.cpp
index e7018a2..c0af493 100644
--- a/Swiften/Parser/UnitTest/SerializingParserTest.cpp
+++ b/Swiften/Parser/UnitTest/SerializingParserTest.cpp
@@ -35,7 +35,7 @@ class SerializingParserTest : public CppUnit::TestFixture
"</html>"
"</message>"));
- CPPUNIT_ASSERT_EQUAL(String(
+ CPPUNIT_ASSERT_EQUAL(std::string(
"<message to=\"me@foo.com\" type=\"chat\">"
"<body>Hello&lt;&amp;World</body>"
"<html xmlns=\"http://www.w3.org/1999/xhtml\">foo<b xmlns=\"http://www.w3.org/1999/xhtml\">bar</b>baz</html>"
@@ -45,7 +45,7 @@ class SerializingParserTest : public CppUnit::TestFixture
void testParse_Empty() {
SerializingParser testling;
- CPPUNIT_ASSERT_EQUAL(String(""), testling.getResult());
+ CPPUNIT_ASSERT_EQUAL(std::string(""), testling.getResult());
}
void testParse_ToplevelCharacterData() {
@@ -57,7 +57,7 @@ class SerializingParserTest : public CppUnit::TestFixture
testling.handleEndElement("message", "");
testling.handleCharacterData("bar");
- CPPUNIT_ASSERT_EQUAL(String("<message/>"), testling.getResult());
+ CPPUNIT_ASSERT_EQUAL(std::string("<message/>"), testling.getResult());
}
};