qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject [2/2] qpid-broker-j git commit: QPID-8219: [Broker-J] Cache authentication results for the same remote hosts and credentials
Date Tue, 07 Aug 2018 11:15:45 GMT
QPID-8219: [Broker-J] Cache authentication results for the same remote hosts and credentials

(cherry picked from commit 4e240ba1a9bcdea65002c37101fd1889e16c6955)

# Conflicts:
#	broker-core/src/test/java/org/apache/qpid/server/security/auth/manager/AuthenticationResultCacherTest.java


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/603be3e7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/603be3e7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/603be3e7

Branch: refs/heads/7.0.x
Commit: 603be3e7c523d1e796bad0281ca503ddafd21a93
Parents: de4c356
Author: Alex Rudyy <orudyy@apache.org>
Authored: Tue Aug 7 11:36:26 2018 +0100
Committer: Alex Rudyy <orudyy@apache.org>
Committed: Tue Aug 7 11:36:26 2018 +0100

----------------------------------------------------------------------
 .../server/protocol/v1_0/SendingLinkEndpointTest.java   | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/603be3e7/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/SendingLinkEndpointTest.java
----------------------------------------------------------------------
diff --git a/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/SendingLinkEndpointTest.java
b/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/SendingLinkEndpointTest.java
index 3ce0f9f..887c02c 100644
--- a/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/SendingLinkEndpointTest.java
+++ b/broker-plugins/amqp-1-0-protocol/src/test/java/org/apache/qpid/server/protocol/v1_0/SendingLinkEndpointTest.java
@@ -27,9 +27,6 @@ import static org.mockito.Matchers.any;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
-import org.junit.Before;
-import org.junit.Test;
-
 import org.apache.qpid.server.message.MessageSource;
 import org.apache.qpid.server.model.Consumer;
 import org.apache.qpid.server.model.NamedAddressSpace;
@@ -42,16 +39,18 @@ import org.apache.qpid.server.protocol.v1_0.type.messaging.TerminusExpiryPolicy;
 import org.apache.qpid.server.protocol.v1_0.type.transport.Attach;
 import org.apache.qpid.server.protocol.v1_0.type.transport.Flow;
 import org.apache.qpid.server.protocol.v1_0.type.transport.Role;
+import org.apache.qpid.test.utils.QpidTestCase;
 
-public class SendingLinkEndpointTest
+public class SendingLinkEndpointTest extends QpidTestCase
 {
     private static final String ADDRESS = "test";
 
     private SendingLinkEndpoint _sendingLinkEndpoint;
 
-    @Before
+    @Override
     public void setUp() throws Exception
     {
+        super.setUp();
         NamedAddressSpace addressSpace = mock(NamedAddressSpace.class);
 
         final LinkImpl<Source, Target> link = mock(LinkImpl.class);
@@ -72,8 +71,7 @@ public class SendingLinkEndpointTest
         _sendingLinkEndpoint = new SendingLinkEndpoint(session, link);
     }
 
-    @Test
-    public void receiveFlow() throws Exception
+    public void testReceiveFlow() throws Exception
     {
         receiveAttach(_sendingLinkEndpoint);
 


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


Mime
View raw message