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
1 changed files with 3 additions and 2 deletions

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();
}