Class PahoMqttV5TransportConnectorTest
java.lang.Object
test.de.iip_ecosphere.platform.transport.mqttv5.PahoMqttV5TransportConnectorTest
Tests the
PahoMqttV5TransportConnector.- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddoTest(test.de.iip_ecosphere.platform.transport.AbstractTransportConnectorTest.TransportParameterConfigurer configurer) Performs the test.voidTests the connector through explicitly setting/resetting the factory implementation.voidTests the TLS connector through explicitly setting/resetting the factory implementation.
-
Constructor Details
-
PahoMqttV5TransportConnectorTest
public PahoMqttV5TransportConnectorTest()
-
-
Method Details
-
testPahoConnector
Tests 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
Tests 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 IOException Performs the test.- Parameters:
configurer- the test configurer- Throws:
IOException- in case that connection/communication fails
-