You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by va...@apache.org on 2023/02/03 08:11:01 UTC

[qpid-broker-j] branch main updated: QPID-8618: [Broker-J] Fixed junit imports (#175)

This is an automated email from the ASF dual-hosted git repository.

vavrtom pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git


The following commit(s) were added to refs/heads/main by this push:
     new 6470652294 QPID-8618: [Broker-J] Fixed junit imports (#175)
6470652294 is described below

commit 6470652294cb4c4b8a02983dbb0ef3a0f9f4938f
Author: vavrtom <va...@gmail.com>
AuthorDate: Fri Feb 3 09:10:55 2023 +0100

    QPID-8618: [Broker-J] Fixed junit imports (#175)
---
 .../java/org/apache/qpid/server/protocol/v1_0/LinkImplTest.java  | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/LinkImplTest.java b/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/LinkImplTest.java
index 96cd1d3db7..b365b29e57 100644
--- a/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/LinkImplTest.java
+++ b/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/LinkImplTest.java
@@ -18,7 +18,7 @@
  */
 package org.apache.qpid.server.protocol.v1_0;
 
-import static org.junit.Assert.assertTrue;
+import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.ArgumentMatchers.eq;
 import static org.mockito.Mockito.doReturn;
@@ -28,8 +28,9 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 import com.google.common.util.concurrent.ListenableFuture;
-import org.junit.Before;
-import org.junit.Test;
+
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
 
 import org.apache.qpid.server.message.MessageDestination;
 import org.apache.qpid.server.message.MessageInstanceConsumer;
@@ -59,7 +60,7 @@ public class LinkImplTest
 
     private LinkRegistry<Source, Target> _linkRegistry;
 
-    @Before
+    @BeforeEach
     public void setUp()
     {
         _linkRegistry = mock(LinkRegistry.class);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org