summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-09-11 21:39:29 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-09-11 21:53:47 (GMT)
commitbc0a8acd15c51fde06fd59dc7eb324287d93d32f (patch)
tree345ee83515a8f1816d9266c9a9f14563291d8d27
parent5fa9ecb3dff1a5918c202b72a5db313c0b7b879a (diff)
downloadswift-bc0a8acd15c51fde06fd59dc7eb324287d93d32f.zip
swift-bc0a8acd15c51fde06fd59dc7eb324287d93d32f.tar.bz2
Fixed VCardFileStorageTest.
-rw-r--r--Swiften/QA/StorageTest/VCardFileStorageTest.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Swiften/QA/StorageTest/VCardFileStorageTest.cpp b/Swiften/QA/StorageTest/VCardFileStorageTest.cpp
index 694e13b..cab25b8 100644
--- a/Swiften/QA/StorageTest/VCardFileStorageTest.cpp
+++ b/Swiften/QA/StorageTest/VCardFileStorageTest.cpp
@@ -37,7 +37,6 @@ class VCardFileStorageTest : public CppUnit::TestFixture {
std::auto_ptr<VCardFileStorage> testling(createTestling());
VCard::ref vcard(new VCard());
vcard->setFullName("Alice In Wonderland");
- vcard->setEMail("alice@wonderland.lit");
testling->setVCard(JID("alice@wonderland.lit/TeaRoom"), vcard);
@@ -52,12 +51,10 @@ class VCardFileStorageTest : public CppUnit::TestFixture {
std::auto_ptr<VCardFileStorage> testling(createTestling());
VCard::ref vcard(new VCard());
vcard->setFullName("Alice In Wonderland");
- vcard->setEMail("alice@wonderland.lit");
testling->setVCard(JID("alice@wonderland.lit"), vcard);
VCard::ref result = testling->getVCard(JID("alice@wonderland.lit"));
CPPUNIT_ASSERT_EQUAL(String("Alice In Wonderland"), result->getFullName());
- CPPUNIT_ASSERT_EQUAL(String("alice@wonderland.lit"), result->getEMail());
}
void testGetVCard_FileDoesNotExist() {