[hornetq-commits] JBoss hornetq SVN: r8115 - in trunk/tests/src/org/hornetq/tests/integration: largemessage/mock and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Oct 15 12:17:52 EDT 2009
Author: timfox
Date: 2009-10-15 12:17:52 -0400 (Thu, 15 Oct 2009)
New Revision: 8115
Modified:
trunk/tests/src/org/hornetq/tests/integration/jms/server/management/JMSServerControlTest.java
trunk/tests/src/org/hornetq/tests/integration/largemessage/mock/MockConnectorFactory.java
Log:
fixed some tests
Modified: trunk/tests/src/org/hornetq/tests/integration/jms/server/management/JMSServerControlTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/jms/server/management/JMSServerControlTest.java 2009-10-15 14:58:20 UTC (rev 8114)
+++ trunk/tests/src/org/hornetq/tests/integration/jms/server/management/JMSServerControlTest.java 2009-10-15 16:17:52 UTC (rev 8115)
@@ -226,7 +226,7 @@
public void createConnectionFactory(JMSServerControl control, String cfName, Object[] bindings) throws Exception
{
String jndiBindings = toCSV(bindings);
- String params = "\"key1\"=1, \"key2\"=false, \"key3\"=\"value3\"";
+ String params = "\"" + TransportConstants.SERVER_ID_PROP_NAME + "\"=1";
control.createConnectionFactory(cfName, InVMConnectorFactory.class.getName(), params, jndiBindings);
}
@@ -258,8 +258,8 @@
public void createConnectionFactory(JMSServerControl control, String cfName, Object[] bindings) throws Exception
{
String clientID = randomString();
- String jndiBindings = toCSV(bindings);
- String params = "\"key1\"=1, \"key2\"=false, \"key3\"=\"value3\"";
+ String jndiBindings = toCSV(bindings);
+ String params = "\"" + TransportConstants.SERVER_ID_PROP_NAME + "\"=1";
control.createConnectionFactory(cfName,
InVMConnectorFactory.class.getName(),
@@ -295,8 +295,8 @@
{
public void createConnectionFactory(JMSServerControl control, String cfName, Object[] bindings) throws Exception
{
- String jndiBindings = toCSV(bindings);
- String params = "\"key1\"=1, \"key2\"=false, \"key3\"=\"value3\"";
+ String jndiBindings = toCSV(bindings);
+ String params = "\"" + TransportConstants.SERVER_ID_PROP_NAME + "\"=1";
control.createConnectionFactory(cfName,
InVMConnectorFactory.class.getName(),
Modified: trunk/tests/src/org/hornetq/tests/integration/largemessage/mock/MockConnectorFactory.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/largemessage/mock/MockConnectorFactory.java 2009-10-15 14:58:20 UTC (rev 8114)
+++ trunk/tests/src/org/hornetq/tests/integration/largemessage/mock/MockConnectorFactory.java 2009-10-15 16:17:52 UTC (rev 8115)
@@ -13,7 +13,7 @@
package org.hornetq.tests.integration.largemessage.mock;
-import java.util.Collections;
+import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Executor;
@@ -61,7 +61,11 @@
*/
public Set<String> getAllowableProperties()
{
- return Collections.EMPTY_SET;
+ Set<String> set = new HashSet<String>();
+
+ set.add("callback");
+
+ return set;
}
// Package protected ---------------------------------------------
More information about the hornetq-commits
mailing list