Class PahoMqttV5TransportConnectorTest
- java.lang.Object
-
- test.de.iip_ecosphere.platform.transport.mqttv5.PahoMqttV5TransportConnectorTest
-
public class PahoMqttV5TransportConnectorTest extends java.lang.ObjectTests thePahoMqttV5TransportConnector.- Author:
- Holger Eichelberger, SSE
-
-
Constructor Summary
Constructors Constructor Description PahoMqttV5TransportConnectorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddoTest(test.de.iip_ecosphere.platform.transport.AbstractTransportConnectorTest.TransportParameterConfigurer configurer)Performs the test.voidtestPahoConnector()Tests the connector through explicitly setting/resetting the factory implementation.voidtestPahoTlsConnector()Tests the TLS connector through explicitly setting/resetting the factory implementation.
-
-
-
Method Detail
-
testPahoConnector
public void testPahoConnector() throws java.io.IOExceptionTests the connector through explicitly setting/resetting the factory implementation. Builds up aTestHiveMqServerso that the test is self-contained.- Throws:
java.io.IOException- in case that connection/communication fails
-
testPahoTlsConnector
public void testPahoTlsConnector() throws java.io.IOExceptionTests the TLS connector through explicitly setting/resetting the factory implementation. Builds up aTestHiveMqServerso that the test is self-contained.- Throws:
java.io.IOException- in case that connection/communication fails
-
doTest
private void doTest(test.de.iip_ecosphere.platform.transport.AbstractTransportConnectorTest.TransportParameterConfigurer configurer) throws java.io.IOExceptionPerforms the test.- Parameters:
configurer- the test configurer- Throws:
java.io.IOException- in case that connection/communication fails
-
-