Class PahoMqttV5TransportConnectorTest
- java.lang.Object
-
- test.de.iip_ecosphere.platform.transport.mqttv5.PahoMqttV5TransportConnectorTest
-
public class PahoMqttV5TransportConnectorTest extends Object
Tests 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 IOExceptionTests the connector through explicitly setting/resetting the factory implementation. Builds up aTestHiveMqServerso that the test is self-contained.- Throws:
IOException- in case that connection/communication fails
-
testPahoTlsConnector
public void testPahoTlsConnector() throws IOExceptionTests the TLS connector through explicitly setting/resetting the factory implementation. Builds up aTestHiveMqServerso that the test is self-contained.- Throws:
IOException- in case that connection/communication fails
-
doTest
private void doTest(test.de.iip_ecosphere.platform.transport.AbstractTransportConnectorTest.TransportParameterConfigurer configurer) throws IOExceptionPerforms the test.- Parameters:
configurer- the test configurer- Throws:
IOException- in case that connection/communication fails
-
-