From 946bf3f4ea756513556c04d7fd9bd8cbdd9f382e Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Mon, 3 Aug 2009 16:00:51 +0000 Subject: QPID-2019 : Update Exclude mechanism so we can exclude the new logging tests from the CPP broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800439 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/qpid/test/utils/QpidTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java/systests') diff --git a/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java b/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java index 096bf4cfd1..c182db5d78 100644 --- a/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java +++ b/java/systests/src/main/java/org/apache/qpid/test/utils/QpidTestCase.java @@ -251,7 +251,8 @@ public class QpidTestCase extends TestCase public void run(TestResult testResult) { - if (_exclusionList != null && (_exclusionList.contains(getClass().getName() + "#*") || + if (_exclusionList != null && (_exclusionList.contains(getClass().getPackage().getName() + ".*") || + _exclusionList.contains(getClass().getName() + "#*") || _exclusionList.contains(getClass().getName() + "#" + getName()))) { _logger.info("Test: " + getName() + " is excluded"); -- cgit v1.2.1