Class PahoMqttV5TransportConnectorTest


  • public class PahoMqttV5TransportConnectorTest
    extends Object
    Tests the PahoMqttV5TransportConnector.
    Author:
    Holger Eichelberger, SSE
    • Constructor Detail

      • PahoMqttV5TransportConnectorTest

        public PahoMqttV5TransportConnectorTest()
    • Method Detail

      • testPahoConnector

        public void testPahoConnector()
                               throws IOException
        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

        public void testPahoTlsConnector()
                                  throws IOException
        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