Class RabbitMqAmqpTransportConnectorTest
- java.lang.Object
-
- test.de.iip_ecosphere.platform.transport.connectors.rabbitmq.RabbitMqAmqpTransportConnectorTest
-
public class RabbitMqAmqpTransportConnectorTest extends java.lang.ObjectTests theRabbitMqAmqpTransportConnector.- Author:
- Holger Eichelberger, SSE
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classRabbitMqAmqpTransportConnectorTest.FakeAuthConnectorAn extended AMQP connector with fixed plaintext authentication (see src/test/config.json).
-
Constructor Summary
Constructors Constructor Description RabbitMqAmqpTransportConnectorTest()
-
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.voidtestRabbitMqConnector()Tests the connector through explicitly setting/resetting the factory implementation.voidtestRabbitMqTlsConnector()Tests the connector through TLS and explicitly setting/resetting the factory implementation.
-
-
-
Method Detail
-
testRabbitMqConnector
public void testRabbitMqConnector() throws java.io.IOExceptionTests the connector through explicitly setting/resetting the factory implementation. Builds up aTestQpidServerso that the test is self-contained.- Throws:
java.io.IOException- in case that connection/communication fails
-
testRabbitMqTlsConnector
public void testRabbitMqTlsConnector() throws java.io.IOExceptionTests the connector through TLS and explicitly setting/resetting the factory implementation. Builds up a TLSTestQpidServerso 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
-
-