Class PahoMqttV3TransportConnectorTest
- java.lang.Object
-
- test.de.iip_ecosphere.platform.transport.mqttv3.PahoMqttV3TransportConnectorTest
-
public class PahoMqttV3TransportConnectorTest extends java.lang.ObjectTests thePahoMqttV3TransportConnector.- Author:
- Holger Eichelberger, SSE
-
-
Constructor Summary
Constructors Constructor Description PahoMqttV3TransportConnectorTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddoTest(test.de.iip_ecosphere.platform.transport.AbstractTransportConnectorTest.TransportParameterConfigurer configurer)Performs the test.static voidinit()Sets up the tests.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
-
init
public static void init()
Sets up the tests.
-
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
-
-