Skip to content

Commit 6087858

Browse files
committed
Merge branch '4.1.x-stable' of github.com:rabbitmq/rabbitmq-java-client into 4.1.x-stable
2 parents e07af7f + db1ff82 commit 6087858

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,12 @@
693693
<version>${mockito.version}</version>
694694
<scope>test</scope>
695695
</dependency>
696+
<dependency>
697+
<groupId>org.hamcrest</groupId>
698+
<artifactId>hamcrest-library</artifactId>
699+
<version>1.3</version>
700+
<scope>test</scope>
701+
</dependency>
696702
</dependencies>
697703

698704
<build>

src/test/java/com/rabbitmq/client/test/AMQChannelTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@
3232
import java.util.concurrent.ScheduledExecutorService;
3333
import java.util.concurrent.TimeUnit;
3434

35-
import static org.hamcrest.Matchers.is;
35+
import static org.hamcrest.Matchers.*;
3636
import static org.junit.Assert.*;
37-
import static org.mockito.Mockito.mock;
38-
import static org.mockito.Mockito.when;
37+
import static org.mockito.Mockito.*;
3938

4039
public class AMQChannelTest {
4140

src/test/java/com/rabbitmq/client/test/ChannelRpcTimeoutIntegrationTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@
2727
import java.util.concurrent.ThreadFactory;
2828
import java.util.concurrent.TimeoutException;
2929

30-
import static org.hamcrest.Matchers.instanceOf;
31-
import static org.hamcrest.Matchers.is;
32-
import static org.junit.Assert.assertThat;
33-
import static org.junit.Assert.fail;
30+
import static org.hamcrest.Matchers.*;
31+
import static org.junit.Assert.*;
3432

3533
public class ChannelRpcTimeoutIntegrationTest {
3634

src/test/java/com/rabbitmq/client/test/FrameTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
import java.nio.channels.WritableByteChannel;
1616
import java.util.*;
1717

18-
import static org.hamcrest.Matchers.equalTo;
19-
import static org.junit.Assert.assertThat;
18+
import static org.hamcrest.Matchers.*;
19+
import static org.junit.Assert.*;
2020

2121
/**
2222
*

src/test/java/com/rabbitmq/client/test/StandardMetricsCollectorTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@
2020
import com.rabbitmq.client.impl.StandardMetricsCollector;
2121
import org.junit.Test;
2222

23-
import static org.hamcrest.Matchers.is;
24-
import static org.junit.Assert.assertThat;
25-
import static org.mockito.Mockito.mock;
26-
import static org.mockito.Mockito.when;
23+
import static org.hamcrest.Matchers.*;
24+
import static org.junit.Assert.*;
25+
import static org.mockito.Mockito.*;
2726

2827
/**
2928
*

src/test/java/com/rabbitmq/client/test/functional/Metrics.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@
3232
import java.util.Random;
3333
import java.util.concurrent.*;
3434

35-
import static org.awaitility.Awaitility.waitAtMost;
36-
import static org.hamcrest.Matchers.equalTo;
37-
import static org.hamcrest.Matchers.is;
38-
import static org.junit.Assert.assertThat;
39-
import static org.junit.Assert.assertTrue;
35+
import static org.awaitility.Awaitility.*;
36+
import static org.hamcrest.Matchers.*;
37+
import static org.junit.Assert.*;
4038

4139
/**
4240
*

0 commit comments

Comments
 (0)