activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r983035 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java
Date Fri, 06 Aug 2010 15:58:46 GMT
Author: dejanb
Date: Fri Aug  6 15:58:46 2010
New Revision: 983035

URL: http://svn.apache.org/viewvc?rev=983035&view=rev
Log:
test case for https://issues.apache.org/activemq/browse/AMQ-2203 - start=false

Added:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java

Added: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java?rev=983035&view=auto
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java
(added)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/xbean/XBeanStartFalseTest.java
Fri Aug  6 15:58:46 2010
@@ -0,0 +1,17 @@
+package org.apache.activemq.xbean;
+
+import java.net.URI;
+
+import junit.framework.TestCase;
+
+import org.apache.activemq.broker.BrokerFactory;
+import org.apache.activemq.broker.BrokerService;
+
+public class XBeanStartFalseTest extends TestCase {
+    
+    public void testStartFalse() throws Exception {
+        BrokerService broker = BrokerFactory.createBroker(new URI("xbean:org/apache/activemq/xbean/activemq2.xml"));
+        assertFalse("Broker is started", broker.isStarted());
+    }
+
+}



Mime
View raw message