1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 02:58:00 +01:00

SMACK-413 Removed some commented out code.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13599 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
rcollier 2013-03-31 14:26:30 +00:00
parent 0fdfd6e75e
commit 0a1e72bb5f

View file

@ -66,10 +66,8 @@ public class VCardTest extends SmackTestCase {
fail(e.getMessage()); fail(e.getMessage());
} }
//assertEquals("Should load own VCard successfully", origVCard.toString(), loaded.toString());
assertEquals("Should load own VCard successfully", origVCard, loaded); assertEquals("Should load own VCard successfully", origVCard, loaded);
loaded = new VCard(); loaded = new VCard();
try { try {
loaded.load(getConnection(1), getBareJID(0)); loaded.load(getConnection(1), getBareJID(0));
@ -78,7 +76,6 @@ public class VCardTest extends SmackTestCase {
fail(e.getMessage()); fail(e.getMessage());
} }
//assertEquals("Should load another user's VCard successfully", origVCard.toString(), loaded.toString());
assertEquals("Should load another user's VCard successfully", origVCard, loaded); assertEquals("Should load another user's VCard successfully", origVCard, loaded);
} }
@ -167,20 +164,6 @@ public class VCardTest extends SmackTestCase {
"CgADtrKoqPLpKaXPVXUdPtnXTNUBLlTQR4xHlj+gHT/7pjw8oTsf/9k="; "CgADtrKoqPLpKaXPVXUdPtnXTNUBLlTQR4xHlj+gHT/7pjw8oTsf/9k=";
} }
/*
public void testFullName() throws Throwable {
VCard card = new VCard();
card.setFirstName("kir");
// assertEquals("kir", card.getFullName());
card.setLastName("maximov");
// assertEquals("kir maximov", card.getFullName());
card.setField("FN", "some name");
// assertEquals("some name", card.getFullName());
}
*/
protected int getMaxConnections() { protected int getMaxConnections() {
return 2; return 2;
} }