Fix test that fails now that the parser checks the full expression.
This commit is contained in:
Timothy Bish 2016-06-16 10:59:08 -04:00
parent 6713c0c715
commit c0713415f5
1 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,6 @@ import javax.management.MBeanServerInvocationHandler;
import javax.management.ObjectInstance; import javax.management.ObjectInstance;
import javax.management.ObjectName; import javax.management.ObjectName;
import junit.framework.TestCase;
import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.broker.BrokerService; import org.apache.activemq.broker.BrokerService;
import org.apache.activemq.broker.jmx.QueueViewMBean; import org.apache.activemq.broker.jmx.QueueViewMBean;
@ -51,6 +49,8 @@ import org.slf4j.LoggerFactory;
import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext;
import junit.framework.TestCase;
public class PurgeCommandTest extends TestCase { public class PurgeCommandTest extends TestCase {
private static final Logger LOG = LoggerFactory private static final Logger LOG = LoggerFactory
.getLogger(PurgeCommandTest.class); .getLogger(PurgeCommandTest.class);
@ -69,7 +69,7 @@ public class PurgeCommandTest extends TestCase {
// complex message selector query using XTestProperty and JMSPriority // complex message selector query using XTestProperty and JMSPriority
protected static final String MSG_SEL_COMPLEX = PROPERTY_NAME + "='" + protected static final String MSG_SEL_COMPLEX = PROPERTY_NAME + "='" +
"1:1" + "',JMSPriority>3"; "1:1" + "' AND JMSPriority>3";
// complex message selector query using XTestProperty AND JMSPriority // complex message selector query using XTestProperty AND JMSPriority
// but in SQL-92 syntax // but in SQL-92 syntax