mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-06-27 22:14:52 +02:00
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.
17 lines
365 B
Java
17 lines
365 B
Java
package org.jivesoftware.smackx;
|
|
|
|
import static org.junit.Assert.assertTrue;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class ExtensionsStartupClassesTest {
|
|
|
|
@Test
|
|
public void testExtensiosnStartupClasses() {
|
|
ExtensionsStartupClasses esc = new ExtensionsStartupClasses();
|
|
esc.initialize();
|
|
assertTrue(esc.getExceptions().size() == 0);
|
|
}
|
|
|
|
}
|