2014-02-17 18:57:38 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Copyright the original author or authors
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
2014-02-15 13:01:57 +01:00
|
|
|
package org.jivesoftware.smackx;
|
|
|
|
|
2020-04-06 13:25:07 +02:00
|
|
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
2014-02-15 13:01:57 +01:00
|
|
|
|
2014-05-15 15:04:46 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2014-12-18 12:57:21 +01:00
|
|
|
import org.jivesoftware.smack.extensions.ExtensionsInitializer;
|
2017-06-14 17:12:43 +02:00
|
|
|
|
2020-04-06 13:25:07 +02:00
|
|
|
import org.junit.jupiter.api.Test;
|
2014-02-15 13:01:57 +01:00
|
|
|
|
2014-05-15 15:04:46 +02:00
|
|
|
public class ExtensionsInitializerTest {
|
2014-02-15 13:01:57 +01:00
|
|
|
|
|
|
|
@Test
|
2014-05-15 15:04:46 +02:00
|
|
|
public void testExtensionInitializer() {
|
|
|
|
ExtensionsInitializer ei = new ExtensionsInitializer();
|
|
|
|
List<Exception> exceptions = ei.initialize();
|
|
|
|
assertTrue(exceptions.size() == 0);
|
2014-02-15 13:01:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|