mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-06-27 22:14:52 +02:00
2ad517b6dd
The initializer tests verify that every non-optional initializer, this includes Providers, is loadable. Creating files under META-INF is not considered best practice. Smack's configuration and provider files reside now in classpath directory qualified by Smack's package namespace.
18 lines
363 B
Java
18 lines
363 B
Java
package org.jivesoftware.smack;
|
|
|
|
import static org.junit.Assert.fail;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class SmackConfigurationTest {
|
|
|
|
@Test
|
|
public void testSmackConfiguration() {
|
|
try {
|
|
SmackConfiguration.getPacketReplyTimeout();
|
|
} catch (Throwable t) {
|
|
fail("SmackConfiguration threw Throwable");
|
|
}
|
|
}
|
|
}
|