mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 23:42: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:
parent
f31411c997
commit
74016aa553
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue