1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Fixed test to test compression support after login has been made.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3347 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2006-01-23 20:56:26 +00:00 committed by gato
parent 5e8ee57446
commit 9b70d45644

View file

@ -51,10 +51,11 @@ public class CompressionTest extends SmackTestCase {
XMPPConnection connection = new XMPPConnection(config);
assertTrue("Connection is not using stream compression", connection.isUsingCompression());
// Login with the test account
connection.login("user0", "user0");
assertTrue("Connection is not using stream compression", connection.isUsingCompression());
// Close connection
connection.close();
}