package protected tests in rabbit binder
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2022-2022 the original author or authors.
|
||||
* Copyright 2022-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -56,7 +56,7 @@ import static org.mockito.Mockito.mock;
|
||||
* @since 3.2.3
|
||||
*
|
||||
*/
|
||||
public class RabbitExchangeQueueProvisionerTests {
|
||||
class RabbitExchangeQueueProvisionerTests {
|
||||
|
||||
@Test
|
||||
void consumerDeclarationsWithDlq() throws IOException {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2015-2022 the original author or authors.
|
||||
* Copyright 2015-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -55,7 +55,7 @@ import static org.junit.Assert.fail;
|
||||
* @author Chris Bono
|
||||
* @since 1.2
|
||||
*/
|
||||
public class RabbitBinderCleanerTests {
|
||||
class RabbitBinderCleanerTests {
|
||||
|
||||
private static final RabbitMQContainer RABBITMQ = RabbitTestContainer.sharedInstance();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2022 the original author or authors.
|
||||
* Copyright 2013-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -154,7 +154,7 @@ import static org.mockito.Mockito.when;
|
||||
* @author Chris Bono
|
||||
*/
|
||||
// @checkstyle:off
|
||||
public class RabbitBinderTests extends
|
||||
class RabbitBinderTests extends
|
||||
PartitionCapableBinderTests<RabbitTestBinder, ExtendedConsumerProperties<RabbitConsumerProperties>, ExtendedProducerProperties<RabbitProducerProperties>> {
|
||||
|
||||
protected static final RabbitMQContainer RABBITMQ = RabbitTestContainer.sharedInstance();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2015-2018 the original author or authors.
|
||||
* Copyright 2015-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -47,7 +47,7 @@ import org.springframework.util.StringUtils;
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
// @checkstyle:off
|
||||
public class RabbitTestBinder extends
|
||||
class RabbitTestBinder extends
|
||||
AbstractPollableConsumerTestBinder<RabbitMessageChannelBinder, ExtendedConsumerProperties<RabbitConsumerProperties>, ExtendedProducerProperties<RabbitProducerProperties>> {
|
||||
|
||||
// @checkstyle:on
|
||||
@@ -61,13 +61,13 @@ public class RabbitTestBinder extends
|
||||
|
||||
private final AnnotationConfigApplicationContext applicationContext;
|
||||
|
||||
public RabbitTestBinder(ConnectionFactory connectionFactory,
|
||||
RabbitTestBinder(ConnectionFactory connectionFactory,
|
||||
RabbitProperties rabbitProperties) {
|
||||
this(connectionFactory, new RabbitMessageChannelBinder(connectionFactory,
|
||||
rabbitProperties, new RabbitExchangeQueueProvisioner(connectionFactory)));
|
||||
}
|
||||
|
||||
public RabbitTestBinder(ConnectionFactory connectionFactory,
|
||||
RabbitTestBinder(ConnectionFactory connectionFactory,
|
||||
RabbitMessageChannelBinder binder) {
|
||||
this.applicationContext = new AnnotationConfigApplicationContext(Config.class);
|
||||
binder.setApplicationContext(this.applicationContext);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2020-2022 the original author or authors.
|
||||
* Copyright 2020-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -47,7 +47,7 @@ import static org.mockito.Mockito.verify;
|
||||
* @since 3.0.6
|
||||
*
|
||||
*/
|
||||
public class RepublishUnitTests {
|
||||
class RepublishUnitTests {
|
||||
|
||||
@Test
|
||||
public void testBadRepublishSetting() throws IOException {
|
||||
|
||||
@@ -96,7 +96,7 @@ import static org.mockito.Mockito.verify;
|
||||
* @author Chris Bono
|
||||
* @author Byungjun You
|
||||
*/
|
||||
public class RabbitBinderModuleTests {
|
||||
class RabbitBinderModuleTests {
|
||||
|
||||
private static final RabbitMQContainer RABBITMQ = RabbitTestContainer.sharedInstance();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2021-2021 the original author or authors.
|
||||
* Copyright 2021-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -60,7 +60,7 @@ import static org.mockito.Mockito.verify;
|
||||
/**
|
||||
* @author Gary Russell
|
||||
*/
|
||||
public class RabbitStreamBinderModuleTests {
|
||||
class RabbitStreamBinderModuleTests {
|
||||
|
||||
private static final RabbitMQContainer RABBITMQ = RabbitTestContainer.sharedInstance();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2021-2021 the original author or authors.
|
||||
* Copyright 2021-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -53,7 +53,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
/**
|
||||
* @author Gary Russell
|
||||
*/
|
||||
public class RabbitStreamBinderModuleIntegrationTests {
|
||||
class RabbitStreamBinderModuleIntegrationTests {
|
||||
|
||||
private static final RabbitMQContainer RABBITMQ = RabbitTestContainer.sharedInstance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user