From 8b7d8990366ca25e267d7b93a95cae766af94323 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Fri, 4 Jun 2010 09:39:47 +0000 Subject: QPID-2632 : Applied patch from Andrew Kennedy. To convert RST and PPT to QTCs not IBBCs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@951341 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/qpid/server/security/access/plugins/RuleSetTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/java/broker-plugins/access-control/src') diff --git a/qpid/java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java b/qpid/java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java index ef541dd0a8..aad7290557 100644 --- a/qpid/java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java +++ b/qpid/java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java @@ -21,7 +21,6 @@ package org.apache.qpid.server.security.access.plugins; - import org.apache.qpid.framing.AMQShortString; import org.apache.qpid.server.security.Result; import org.apache.qpid.server.security.access.ObjectProperties; @@ -29,7 +28,7 @@ import org.apache.qpid.server.security.access.ObjectType; import org.apache.qpid.server.security.access.Operation; import org.apache.qpid.server.security.access.Permission; import org.apache.qpid.server.security.access.config.RuleSet; -import org.apache.qpid.server.util.InternalBrokerBaseCase; +import org.apache.qpid.test.utils.QpidTestCase; /** * This test checks that the {@link RuleSet} object which forms the core of the access control plugin performs correctly. @@ -39,7 +38,7 @@ import org.apache.qpid.server.util.InternalBrokerBaseCase; * access control mechanism is validated by checking whether operations would be authorised by calling the * {@link RuleSet#check(String, Operation, ObjectType, ObjectProperties)} method. */ -public class RuleSetTest extends InternalBrokerBaseCase +public class RuleSetTest extends QpidTestCase { private RuleSet _ruleSet; @@ -52,6 +51,7 @@ public class RuleSetTest extends InternalBrokerBaseCase public void setUp() throws Exception { super.setUp(); + _ruleSet = new RuleSet(); _ruleSet.configure(RuleSet.TRANSITIVE, Boolean.FALSE); } -- cgit v1.2.1