mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 23:42:06 +01:00
da5434505b
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12509 b35dd754-fafc-0310-a699-88a17e54d16e
32 lines
646 B
Java
32 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());
|
|
}
|
|
}
|