/** * Returns the number of milliseconds to wait for a response from * the server. The default value is 5000 ms. * * @return the milliseconds to wait for a response from the server * @deprecated use {@link #getDefaultReplyTimeout()} instead. */ @Deprecated public static int getDefaultPacketReplyTimeout() { return getDefaultReplyTimeout(); }
/** * Test is Smack is able to initialize itself without throwing a Throwable. */ @Test public void testSmackConfiguration() { SmackConfiguration.getDefaultReplyTimeout(); }
@Ignore @Test public void smackConfigurationShouldNotCauseInitializationTest() { SmackConfiguration.getDefaultReplyTimeout(); // Only a call to SmackConfiguration.getVersion() should cause Smack to become initialized. assertFalse(SmackConfiguration.isSmackInitialized()); }
/** * Returns the number of milliseconds to wait for a response from * the server. The default value is 5000 ms. * * @return the milliseconds to wait for a response from the server * @deprecated use {@link #getDefaultReplyTimeout()} instead. */ @Deprecated public static int getDefaultPacketReplyTimeout() { return getDefaultReplyTimeout(); }