mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-16 12:12:06 +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:
parent
5e8ee57446
commit
9b70d45644
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue