mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-19 05:02:04 +01:00
33 lines
646 B
Java
33 lines
646 B
Java
|
package org.jivesoftware.smack;
|
||
|
|
||
|
import org.junit.Test;
|
||
|
|
||
|
import static org.junit.Assert.*;
|
||
|
|
||
|
public class SmackConfigTest
|
||
|
{
|
||
|
@Test
|
||
|
public void validatePacketCollectorSize()
|
||
|
{
|
||
|
assertEquals(10000, SmackConfiguration.getPacketCollectorSize());
|
||
|
}
|
||
|
|
||
|
@Test
|
||
|
public void validateKeepAliveInterval()
|
||
|
{
|
||
|
assertEquals(30000, SmackConfiguration.getKeepAliveInterval());
|
||
|
}
|
||
|
|
||
|
@Test
|
||
|
public void validateLocalSocks5ProxyPort()
|
||
|
{
|
||
|
assertEquals(7777, SmackConfiguration.getLocalSocks5ProxyPort());
|
||
|
}
|
||
|
|
||
|
@Test
|
||
|
public void validateIsLocalSocks5Proxy()
|
||
|
{
|
||
|
assertTrue(SmackConfiguration.isLocalSocks5ProxyEnabled());
|
||
|
}
|
||
|
}
|