From e17ba85c2f98185237db52e57ce1cd0cd09a8d1e Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 26 Aug 2016 10:58:00 +0200 Subject: [PATCH] Cleanup FileTransferNegotiatorTest --- .../smackx/filetransfer/FileTransferNegotiatorTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/smack-extensions/src/test/java/org/jivesoftware/smackx/filetransfer/FileTransferNegotiatorTest.java b/smack-extensions/src/test/java/org/jivesoftware/smackx/filetransfer/FileTransferNegotiatorTest.java index 80354e25a..94919fa08 100644 --- a/smack-extensions/src/test/java/org/jivesoftware/smackx/filetransfer/FileTransferNegotiatorTest.java +++ b/smack-extensions/src/test/java/org/jivesoftware/smackx/filetransfer/FileTransferNegotiatorTest.java @@ -33,9 +33,6 @@ public class FileTransferNegotiatorTest extends InitExtensions { @Before public void setUp() throws Exception { - // Uncomment this to enable debug output - // SmackConfiguration.DEBUG = true; - connection = new DummyConnection(); connection.connect(); connection.login(); @@ -54,7 +51,7 @@ public class FileTransferNegotiatorTest extends InitExtensions { try { fileNeg.negotiateOutgoingTransfer(JidTestUtil.DUMMY_AT_EXAMPLE_ORG, "streamid", "file", 1024, null, 10); } catch (NoResponseException e) { - // Ignore + // We do not expect an answer. This unit test only checks the request sent. } Stanza packet = connection.getSentPacket(); String xml = packet.toXML().toString();