mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32:06 +01:00
Cleanup FileTransferNegotiatorTest
This commit is contained in:
parent
0a96016727
commit
e17ba85c2f
1 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue