1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Commeted out test case with invalid XML since some servers will just close the connection.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6309 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2006-12-05 08:08:11 +00:00 committed by gato
parent f31411c997
commit 74016aa553

View file

@ -77,9 +77,12 @@ public class MessageTest extends SmackTestCase {
/** /**
* Send messages with invalid XML characters to offline users. Check that offline users * Send messages with invalid XML characters to offline users. Check that offline users
* are receiving them from the server. * are receiving them from the server.<p>
*
* Test case commented out since some servers may just close the connection while others
* are more tolerant and accept stanzas with invalid XML characters.
*/ */
public void testOfflineMessageInvalidXML() { /*public void testOfflineMessageInvalidXML() {
// Make user2 unavailable // Make user2 unavailable
getConnection(1).sendPacket(new Presence(Presence.Type.unavailable)); getConnection(1).sendPacket(new Presence(Presence.Type.unavailable));
@ -112,7 +115,7 @@ public class MessageTest extends SmackTestCase {
e.printStackTrace(); e.printStackTrace();
fail(e.getMessage()); fail(e.getMessage());
} }
} }*/
/** /**
* Check that two clients are able to send messages with a body of 4K characters and their * Check that two clients are able to send messages with a body of 4K characters and their