activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject [1/2] git commit: Improve test for AMQ-4717: verify that propertyExists also works.
Date Tue, 10 Sep 2013 16:56:32 GMT
Updated Branches:
  refs/heads/trunk 9c75fe7b6 -> 0ff359341


Improve test for AMQ-4717: verify that propertyExists also works.

Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/fd67eefa
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/fd67eefa
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/fd67eefa

Branch: refs/heads/trunk
Commit: fd67eefad63ec1676734fefa1037c1d12bdb35c4
Parents: 9c75fe7
Author: Hiram Chirino <hiram@hiramchirino.com>
Authored: Tue Sep 10 12:53:46 2013 -0400
Committer: Hiram Chirino <hiram@hiramchirino.com>
Committed: Tue Sep 10 12:53:46 2013 -0400

----------------------------------------------------------------------
 .../apache/activemq/security/SimpleSecurityBrokerSystemTest.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/fd67eefa/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java
index af370c8..09d96b7 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java
@@ -107,6 +107,7 @@ public class SimpleSecurityBrokerSystemTest extends SecurityTestSupport
{
         // And also via JMS.
         MessageConsumer consumer = session.createConsumer(destination);
         Message m = consumer.receive(1000);
+        assertTrue(m.propertyExists("JMSXUserID"));
         assertEquals("system",  m.getStringProperty("JMSXUserID"));
     }
 


Mime
View raw message