1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +01:00

Remove unnecessary code to enable stream mangement

it is now enabled per default. See also
57838f1ffe and SMACK-655.
This commit is contained in:
Florian Schmaus 2016-01-10 19:43:19 +01:00
parent 2539c10246
commit 0d47e65c96

View file

@ -31,8 +31,6 @@ import org.jivesoftware.smack.filter.FromMatchesFilter;
import org.jivesoftware.smack.filter.MessageWithBodiesFilter;
import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smack.tcp.XMPPTCPConnection;
import org.junit.AfterClass;
import org.junit.BeforeClass;
public class StreamManagementTest extends AbstractSmackLowLevelIntegrationTest {
@ -49,17 +47,6 @@ public class StreamManagementTest extends AbstractSmackLowLevelIntegrationTest {
});
}
@BeforeClass
public static void before() {
// TODO remove this once stream mangement is enabled per default
XMPPTCPConnection.setUseStreamManagementDefault(true);
}
@AfterClass
public static void after() {
XMPPTCPConnection.setUseStreamManagementDefault(false);
}
@SmackIntegrationTest
public void testStreamManagement(XMPPTCPConnection conOne, XMPPTCPConnection conTwo) throws InterruptedException,
SmackException, IOException, XMPPException {