Cleanup FileTransferNegotiatorTest

This commit is contained in:
Florian Schmaus 2016-08-26 10:58:00 +02:00
parent 0a96016727
commit e17ba85c2f
1 changed files with 1 additions and 4 deletions

View File

@ -33,9 +33,6 @@ public class FileTransferNegotiatorTest extends InitExtensions {
@Before @Before
public void setUp() throws Exception { public void setUp() throws Exception {
// Uncomment this to enable debug output
// SmackConfiguration.DEBUG = true;
connection = new DummyConnection(); connection = new DummyConnection();
connection.connect(); connection.connect();
connection.login(); connection.login();
@ -54,7 +51,7 @@ public class FileTransferNegotiatorTest extends InitExtensions {
try { try {
fileNeg.negotiateOutgoingTransfer(JidTestUtil.DUMMY_AT_EXAMPLE_ORG, "streamid", "file", 1024, null, 10); fileNeg.negotiateOutgoingTransfer(JidTestUtil.DUMMY_AT_EXAMPLE_ORG, "streamid", "file", 1024, null, 10);
} catch (NoResponseException e) { } catch (NoResponseException e) {
// Ignore // We do not expect an answer. This unit test only checks the request sent.
} }
Stanza packet = connection.getSentPacket(); Stanza packet = connection.getSentPacket();
String xml = packet.toXML().toString(); String xml = packet.toXML().toString();