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 07:49:41 UTC
[qpid-broker-j] branch fix-junit-imports updated: QPID-8618: [Broker-J] Fixed junit imports
This is an automated email from the ASF dual-hosted git repository.
vavrtom pushed a commit to branch fix-junit-imports
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/fix-junit-imports by this push:
new afcb24df5f QPID-8618: [Broker-J] Fixed junit imports
afcb24df5f is described below
commit afcb24df5f27de2734aec03a8aacba40f6038f2f
Author: vavrtom <va...@gmail.com>
AuthorDate: Fri Feb 3 08:49:36 2023 +0100
QPID-8618: [Broker-J] Fixed junit imports
---
.../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