summaryrefslogtreecommitdiff
path: root/java/broker-plugins/access-control/src
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2010-06-04 09:39:47 +0000
committerMartin Ritchie <ritchiem@apache.org>2010-06-04 09:39:47 +0000
commit2b94edf427e4a8bc2446cc59eb721f97c83f394a (patch)
treef0b5ba6c0855c6a1d95d9a122c44ef58ee111890 /java/broker-plugins/access-control/src
parenta8a04d986ca896c5ddd28579043cd52205bca1d3 (diff)
downloadqpid-python-2b94edf427e4a8bc2446cc59eb721f97c83f394a.tar.gz
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/qpid@951341 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker-plugins/access-control/src')
-rw-r--r--java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java b/java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java
index ef541dd0a8..aad7290557 100644
--- a/java/broker-plugins/access-control/src/test/java/org/apache/qpid/server/security/access/plugins/RuleSetTest.java
+++ b/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);
}