2014-03-03 12:05:25 +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.
|
|
|
|
*/
|
|
|
|
package org.jivesoftware.smackx;
|
|
|
|
|
2019-05-06 22:06:13 +02:00
|
|
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
2014-03-03 12:05:25 +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.legacy.LegacyInitializer;
|
2017-06-14 17:12:43 +02:00
|
|
|
|
2019-05-06 22:06:13 +02:00
|
|
|
import org.junit.jupiter.api.Test;
|
2014-03-03 12:05:25 +01:00
|
|
|
|
2014-05-15 15:04:46 +02:00
|
|
|
public class LegacyInitializerTest {
|
2014-03-03 12:05:25 +01:00
|
|
|
|
|
|
|
@Test
|
|
|
|
public void testWorkgroupProviderInitializer() {
|
2014-05-15 15:04:46 +02:00
|
|
|
LegacyInitializer lpi = new LegacyInitializer();
|
|
|
|
List<Exception> exceptions = lpi.initialize();
|
|
|
|
assertTrue(exceptions.size() == 0);
|
2014-03-03 12:05:25 +01:00
|
|
|
}
|
|
|
|
}
|