2014-09-11 09:49:16 +02:00
|
|
|
/**
|
|
|
|
*
|
2015-01-18 11:03:03 +01:00
|
|
|
* Copyright 2015 Florian Schmaus
|
2014-09-11 09:49:16 +02:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2015-01-18 11:03:03 +01:00
|
|
|
package org.jivesoftware.smack.tcp;
|
2014-09-11 09:49:16 +02:00
|
|
|
|
2019-05-06 22:06:13 +02:00
|
|
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
2014-09-11 09:49:16 +02:00
|
|
|
|
2015-01-18 11:03:03 +01:00
|
|
|
import java.util.List;
|
2014-09-11 09:49:16 +02:00
|
|
|
|
2019-05-06 22:06:13 +02:00
|
|
|
import org.junit.jupiter.api.Test;
|
2015-01-18 11:03:03 +01:00
|
|
|
|
|
|
|
public class TcpInitializerTest {
|
2014-09-11 09:49:16 +02:00
|
|
|
|
2015-01-18 11:03:03 +01:00
|
|
|
@Test
|
|
|
|
public void testExtensionInitializer() {
|
|
|
|
TCPInitializer initializer = new TCPInitializer();
|
|
|
|
List<Exception> exceptions = initializer.initialize();
|
|
|
|
assertTrue(exceptions.size() == 0);
|
2014-09-11 09:49:16 +02:00
|
|
|
}
|
2015-01-18 11:03:03 +01:00
|
|
|
|
2014-09-11 09:49:16 +02:00
|
|
|
}
|