From 74016aa5539977f1a10f05b87cd5c4c1476108aa Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Tue, 5 Dec 2006 08:08:11 +0000 Subject: [PATCH] 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 --- test/org/jivesoftware/smack/MessageTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/org/jivesoftware/smack/MessageTest.java b/test/org/jivesoftware/smack/MessageTest.java index f6e06ef95..1619c5867 100644 --- a/test/org/jivesoftware/smack/MessageTest.java +++ b/test/org/jivesoftware/smack/MessageTest.java @@ -77,9 +77,12 @@ public class MessageTest extends SmackTestCase { /** * 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.

+ * + * 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 getConnection(1).sendPacket(new Presence(Presence.Type.unavailable)); @@ -112,7 +115,7 @@ public class MessageTest extends SmackTestCase { e.printStackTrace(); fail(e.getMessage()); } - } + }*/ /** * Check that two clients are able to send messages with a body of 4K characters and their