From 9b70d4564409c7652d11370ab6064291e4cb78a6 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Mon, 23 Jan 2006 20:56:26 +0000 Subject: [PATCH] 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 --- test/org/jivesoftware/smackx/CompressionTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/org/jivesoftware/smackx/CompressionTest.java b/test/org/jivesoftware/smackx/CompressionTest.java index 1270b9d14..06ebc8a05 100644 --- a/test/org/jivesoftware/smackx/CompressionTest.java +++ b/test/org/jivesoftware/smackx/CompressionTest.java @@ -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(); }