diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ClusterAccessConfigurationTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ClusterAccessConfigurationIT.java similarity index 97% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ClusterAccessConfigurationTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ClusterAccessConfigurationIT.java index 3cd03873..3c80cb93 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ClusterAccessConfigurationTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ClusterAccessConfigurationIT.java @@ -23,7 +23,7 @@ "bcgov.access.output.plugin=rabbitmq" }) @ContextConfiguration -public class ClusterAccessConfigurationTests { +public class ClusterAccessConfigurationIT { @Autowired private JedisConnectionFactory jedisConnectionFactory; diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ConnectionFactoryTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ConnectionFactoryIT.java similarity index 96% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ConnectionFactoryTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ConnectionFactoryIT.java index c51d623b..f12d9d6d 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ConnectionFactoryTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/ConnectionFactoryIT.java @@ -19,7 +19,7 @@ "bcgov.access.output.plugin=rabbitmq" }) @ContextConfiguration -public class ConnectionFactoryTests { +public class ConnectionFactoryIT { @Autowired private ConnectionFactory sut; diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DeadLetterQConfigurationTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DeadLetterQConfigurationIT.java similarity index 97% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DeadLetterQConfigurationTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DeadLetterQConfigurationIT.java index 89857cf0..05f152c2 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DeadLetterQConfigurationTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DeadLetterQConfigurationIT.java @@ -24,7 +24,7 @@ "bcgov.access.output.plugin=console" }) @ContextConfiguration -public class DeadLetterQConfigurationTests { +public class DeadLetterQConfigurationIT { @Autowired @Qualifier("documentReadyDeadLetterQueue") diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DocumentReadyTemplateTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DocumentReadyTemplateIT.java similarity index 97% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DocumentReadyTemplateTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DocumentReadyTemplateIT.java index d70c05ea..38345242 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DocumentReadyTemplateTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/DocumentReadyTemplateIT.java @@ -26,7 +26,7 @@ "bcgov.access.output.document-type=test-doc" }) @ContextConfiguration -public class DocumentReadyTemplateTests { +public class DocumentReadyTemplateIT { @Qualifier("documentReadyTopicTemplate") @Autowired diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/MessageConverterTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/MessageConverterIT.java similarity index 96% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/MessageConverterTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/MessageConverterIT.java index c69ca9f7..b6a745cf 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/MessageConverterTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/MessageConverterIT.java @@ -21,7 +21,7 @@ "bcgov.access.output.plugin=rabbitmq" }) @ContextConfiguration -public class MessageConverterTests { +public class MessageConverterIT { @Qualifier("jsonMessageConverter") @Autowired diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqDocumentReadyServiceTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqDocumentReadyServiceTests.java index 8da78d3f..e932133e 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqDocumentReadyServiceTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqDocumentReadyServiceTests.java @@ -22,14 +22,6 @@ import java.time.LocalDateTime; -@RunWith(SpringRunner.class) -@SpringBootTest( - classes = AccessApplication.class, - properties = { - "bcgov.access.input.plugin=http", - "bcgov.access.output.plugin=rabbitmq" - }) -@ContextConfiguration public class RabbitMqDocumentReadyServiceTests { diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/rabbitMqInputPropertiesTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqInputPropertiesTests.java similarity index 98% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/rabbitMqInputPropertiesTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqInputPropertiesTests.java index 20f01c21..36b9f256 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/rabbitMqInputPropertiesTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqInputPropertiesTests.java @@ -11,7 +11,7 @@ import static org.junit.Assert.assertEquals; -public class rabbitMqInputPropertiesTests { +public class RabbitMqInputPropertiesTests { private static Validator validator; diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/rabbitMqOutputPropertiesTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqOutputPropertiesTests.java similarity index 96% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/rabbitMqOutputPropertiesTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqOutputPropertiesTests.java index 2a78121e..6c1b9595 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/rabbitMqOutputPropertiesTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/RabbitMqOutputPropertiesTests.java @@ -11,7 +11,7 @@ import static org.junit.Assert.assertEquals; -public class rabbitMqOutputPropertiesTests { +public class RabbitMqOutputPropertiesTests { private static Validator validator; diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/StandaloneAccessConfigurationTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/StandaloneAccessConfigurationIT.java similarity index 96% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/StandaloneAccessConfigurationTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/StandaloneAccessConfigurationIT.java index 39d0dbd6..f6d7c221 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/StandaloneAccessConfigurationTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/StandaloneAccessConfigurationIT.java @@ -21,7 +21,7 @@ "bcgov.access.output.plugin=rabbitmq" }) @ContextConfiguration -public class StandaloneAccessConfigurationTests { +public class StandaloneAccessConfigurationIT { @Autowired private JedisConnectionFactory jedisConnectionFactory; diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/TopicExchangeTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/TopicExchangeIT.java similarity index 96% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/TopicExchangeTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/TopicExchangeIT.java index 9f033358..95df72f4 100644 --- a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/TopicExchangeTests.java +++ b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/TopicExchangeIT.java @@ -20,7 +20,7 @@ "bcgov.access.output.plugin=rabbitmq" }) @ContextConfiguration -public class TopicExchangeTests { +public class TopicExchangeIT { @Qualifier("documentReadyTopic") @Autowired diff --git a/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/inputQueueConfigurationTests.java b/jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/inputQueueConfigurationIT.java similarity index 100% rename from jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/inputQueueConfigurationTests.java rename to jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/plugins/rabbitmq/inputQueueConfigurationIT.java