Author: clebert.suconic(a)jboss.com
Date: 2011-09-29 18:03:44 -0400 (Thu, 29 Sep 2011)
New Revision: 11445
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/SecurityTest.java
Log:
JBPAPP-7256 & SOA-3363 - added a test for this on SecurityTest
Modified:
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/SecurityTest.java
===================================================================
---
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/SecurityTest.java 2011-09-29
22:02:54 UTC (rev 11444)
+++
branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/SecurityTest.java 2011-09-29
22:03:44 UTC (rev 11445)
@@ -538,8 +538,9 @@
roles.add(role);
+
+ // This was added to validate
https://issues.jboss.org/browse/SOA-3363
securityRepository.addMatch(SecurityTest.addressA, roles);
-
boolean failed = false;
try
{
@@ -549,6 +550,7 @@
{
failed = true;
}
+ // This was added to validate
https://issues.jboss.org/browse/SOA-3363 ^^^^^
assertTrue("Failure expected on send after removing the match",
failed);