From 995f319f1e24489d5be1ddfe97eb0d70405da241 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Fri, 24 Oct 2008 05:31:56 +0000 Subject: [PATCH] Simplified list of #login methods in XMPPConnection. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10849 b35dd754-fafc-0310-a699-88a17e54d16e --- test/org/jivesoftware/smack/test/SmackTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/org/jivesoftware/smack/test/SmackTestCase.java b/test/org/jivesoftware/smack/test/SmackTestCase.java index d570ba2d9..cacb70483 100644 --- a/test/org/jivesoftware/smack/test/SmackTestCase.java +++ b/test/org/jivesoftware/smack/test/SmackTestCase.java @@ -118,6 +118,7 @@ public abstract class SmackTestCase extends TestCase { // Create the configuration for this new connection ConnectionConfiguration config = new ConnectionConfiguration(host, port); config.setCompressionEnabled(Boolean.getBoolean("test.compressionEnabled")); + config.setSendPresence(sendInitialPresence()); if (getSocketFactory() == null) { config.setSocketFactory(getSocketFactory()); } @@ -223,7 +224,7 @@ public abstract class SmackTestCase extends TestCase { } } // Login with the new test account - getConnection(i).login(usernamnePrefix + i, usernamnePrefix + i, "Smack", sendInitialPresence()); + getConnection(i).login(usernamnePrefix + i, usernamnePrefix + i, "Smack"); } // Let the server process the available presences Thread.sleep(150);