Class PahoMqttV3TransportConnectorTest
java.lang.Object
test.de.iip_ecosphere.platform.transport.mqttv3.PahoMqttV3TransportConnectorTest
Tests the
PahoMqttV3TransportConnector.- 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.static voidinit()Sets up the tests.voidTests the connector through explicitly setting/resetting the factory implementation.voidTests the TLS connector through explicitly setting/resetting the factory implementation.
-
Constructor Details
-
PahoMqttV3TransportConnectorTest
public PahoMqttV3TransportConnectorTest()
-
-
Method Details
-
init
public static void init()Sets up the tests. -
testPahoConnector
Tests the connector through explicitly setting/resetting the factory implementation. Builds up a TestHiveMqServer so 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 a TestHiveMqServer so 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
-