mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +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:
parent
2539c10246
commit
0d47e65c96
1 changed files with 0 additions and 13 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue