Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 50136 invoked from network); 8 Aug 2007 19:00:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 19:00:40 -0000 Received: (qmail 68999 invoked by uid 500); 8 Aug 2007 19:00:38 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 68935 invoked by uid 500); 8 Aug 2007 19:00:38 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 68874 invoked by uid 99); 8 Aug 2007 19:00:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 12:00:37 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 19:00:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0C1C41A9896; Wed, 8 Aug 2007 11:59:21 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r563982 [30/32] - in /activemq/trunk/activemq-core/src: main/java/org/apache/activemq/ main/java/org/apache/activemq/advisory/ main/java/org/apache/activemq/blob/ main/java/org/apache/activemq/broker/ main/java/org/apache/activemq/broker/jm... Date: Wed, 08 Aug 2007 18:58:13 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070808185921.0C1C41A9896@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java Wed Aug 8 11:56:59 2007 @@ -16,40 +16,29 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ActiveMQTextMessage; /** - * Test case for the OpenWire marshalling for ActiveMQTextMessage - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * Test case for the OpenWire marshalling for ActiveMQTextMessage NOTE!: This + * file is auto generated - do not modify! if you need to make a change, please + * see the modify the groovy scripts in the under src/gram/script and then use + * maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ActiveMQTextMessageTest extends ActiveMQMessageTest { - public static final ActiveMQTextMessageTest SINGLETON = new ActiveMQTextMessageTest(); public Object createObject() throws Exception { - ActiveMQTextMessage info = new ActiveMQTextMessage(); - populateObject(info); - return info; + ActiveMQTextMessage info = new ActiveMQTextMessage(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ActiveMQTextMessage info = (ActiveMQTextMessage) object; + super.populateObject(object); + ActiveMQTextMessage info = (ActiveMQTextMessage)object; - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java Wed Aug 8 11:56:59 2007 @@ -16,40 +16,29 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ActiveMQTopic; /** - * Test case for the OpenWire marshalling for ActiveMQTopic - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * Test case for the OpenWire marshalling for ActiveMQTopic NOTE!: This file is + * auto generated - do not modify! if you need to make a change, please see the + * modify the groovy scripts in the under src/gram/script and then use maven + * openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ActiveMQTopicTest extends ActiveMQDestinationTestSupport { - public static ActiveMQTopicTest SINGLETON = new ActiveMQTopicTest(); public Object createObject() throws Exception { - ActiveMQTopic info = new ActiveMQTopic(); - populateObject(info); - return info; + ActiveMQTopic info = new ActiveMQTopic(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ActiveMQTopic info = (ActiveMQTopic) object; + super.populateObject(object); + ActiveMQTopic info = (ActiveMQTopic)object; - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java Wed Aug 8 11:56:59 2007 @@ -16,33 +16,24 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.BaseCommand; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** - * Test case for the OpenWire marshalling for BaseCommand - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * Test case for the OpenWire marshalling for BaseCommand NOTE!: This file is + * auto generated - do not modify! if you need to make a change, please see the + * modify the groovy scripts in the under src/gram/script and then use maven + * openwire:generate to regenerate this file. + * * @version $Revision$ */ public abstract class BaseCommandTestSupport extends DataFileGeneratorTestSupport { - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - BaseCommand info = (BaseCommand) object; + super.populateObject(object); + BaseCommand info = (BaseCommand)object; info.setCommandId(1); info.setResponseRequired(true); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,33 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.BrokerId; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for BrokerId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class BrokerIdTest extends DataFileGeneratorTestSupport { - public static BrokerIdTest SINGLETON = new BrokerIdTest(); public Object createObject() throws Exception { - BrokerId info = new BrokerId(); - populateObject(info); - return info; + BrokerId info = new BrokerId(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - BrokerId info = (BrokerId) object; + super.populateObject(object); + BrokerId info = (BrokerId)object; info.setValue("Value:1"); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java Wed Aug 8 11:56:59 2007 @@ -16,45 +16,36 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ConnectionControl; /** * Test case for the OpenWire marshalling for ConnectionControl - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision: $ */ public class ConnectionControlTest extends BaseCommandTestSupport { - public static ConnectionControlTest SINGLETON = new ConnectionControlTest(); public Object createObject() throws Exception { - ConnectionControl info = new ConnectionControl(); - populateObject(info); - return info; + ConnectionControl info = new ConnectionControl(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ConnectionControl info = (ConnectionControl) object; + super.populateObject(object); + ConnectionControl info = (ConnectionControl)object; info.setClose(true); info.setExit(false); info.setFaultTolerant(true); info.setResume(false); info.setSuspend(true); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,33 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ConnectionError; /** * Test case for the OpenWire marshalling for ConnectionError - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ConnectionErrorTest extends BaseCommandTestSupport { - public static ConnectionErrorTest SINGLETON = new ConnectionErrorTest(); public Object createObject() throws Exception { - ConnectionError info = new ConnectionError(); - populateObject(info); - return info; + ConnectionError info = new ConnectionError(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ConnectionError info = (ConnectionError) object; + super.populateObject(object); + ConnectionError info = (ConnectionError)object; info.setException(createThrowable("Exception:1")); info.setConnectionId(createConnectionId("ConnectionId:2")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,33 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ConnectionId; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for ConnectionId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ConnectionIdTest extends DataFileGeneratorTestSupport { - public static ConnectionIdTest SINGLETON = new ConnectionIdTest(); public Object createObject() throws Exception { - ConnectionId info = new ConnectionId(); - populateObject(info); - return info; + ConnectionId info = new ConnectionId(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ConnectionId info = (ConnectionId) object; + super.populateObject(object); + ConnectionId info = (ConnectionId)object; info.setValue("Value:1"); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java Wed Aug 8 11:56:59 2007 @@ -16,43 +16,34 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ConsumerControl; /** * Test case for the OpenWire marshalling for ConsumerControl - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision: $ */ public class ConsumerControlTest extends BaseCommandTestSupport { - public static ConsumerControlTest SINGLETON = new ConsumerControlTest(); public Object createObject() throws Exception { - ConsumerControl info = new ConsumerControl(); - populateObject(info); - return info; + ConsumerControl info = new ConsumerControl(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ConsumerControl info = (ConsumerControl) object; + super.populateObject(object); + ConsumerControl info = (ConsumerControl)object; info.setClose(true); info.setConsumerId(createConsumerId("ConsumerId:1")); info.setPrefetch(1); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java Wed Aug 8 11:56:59 2007 @@ -16,43 +16,35 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ConsumerId; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for ConsumerId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ConsumerIdTest extends DataFileGeneratorTestSupport { - public static ConsumerIdTest SINGLETON = new ConsumerIdTest(); public Object createObject() throws Exception { - ConsumerId info = new ConsumerId(); - populateObject(info); - return info; + ConsumerId info = new ConsumerId(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ConsumerId info = (ConsumerId) object; + super.populateObject(object); + ConsumerId info = (ConsumerId)object; info.setConnectionId("ConnectionId:1"); info.setSessionId(1); info.setValue(2); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ControlCommand; /** * Test case for the OpenWire marshalling for ControlCommand - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ControlCommandTest extends BaseCommandTestSupport { - public static ControlCommandTest SINGLETON = new ControlCommandTest(); public Object createObject() throws Exception { - ControlCommand info = new ControlCommand(); - populateObject(info); - return info; + ControlCommand info = new ControlCommand(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ControlCommand info = (ControlCommand) object; + super.populateObject(object); + ControlCommand info = (ControlCommand)object; info.setCommand("Command:1"); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DataResponseTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DataResponseTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DataResponseTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DataResponseTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.DataResponse; /** * Test case for the OpenWire marshalling for DataResponse - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class DataResponseTest extends ResponseTest { - public static DataResponseTest SINGLETON = new DataResponseTest(); public Object createObject() throws Exception { - DataResponse info = new DataResponse(); - populateObject(info); - return info; + DataResponse info = new DataResponse(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - DataResponse info = (DataResponse) object; + super.populateObject(object); + DataResponse info = (DataResponse)object; info.setData(createDataStructure("Data:1")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DiscoveryEventTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DiscoveryEventTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DiscoveryEventTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/DiscoveryEventTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,34 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.DiscoveryEvent; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for DiscoveryEvent - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class DiscoveryEventTest extends DataFileGeneratorTestSupport { - public static DiscoveryEventTest SINGLETON = new DiscoveryEventTest(); public Object createObject() throws Exception { - DiscoveryEvent info = new DiscoveryEvent(); - populateObject(info); - return info; + DiscoveryEvent info = new DiscoveryEvent(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - DiscoveryEvent info = (DiscoveryEvent) object; + super.populateObject(object); + DiscoveryEvent info = (DiscoveryEvent)object; info.setServiceName("ServiceName:1"); info.setBrokerName("BrokerName:2"); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ExceptionResponseTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ExceptionResponseTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ExceptionResponseTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ExceptionResponseTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ExceptionResponse; /** * Test case for the OpenWire marshalling for ExceptionResponse - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ExceptionResponseTest extends ResponseTest { - public static ExceptionResponseTest SINGLETON = new ExceptionResponseTest(); public Object createObject() throws Exception { - ExceptionResponse info = new ExceptionResponse(); - populateObject(info); - return info; + ExceptionResponse info = new ExceptionResponse(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ExceptionResponse info = (ExceptionResponse) object; + super.populateObject(object); + ExceptionResponse info = (ExceptionResponse)object; info.setException(createThrowable("Exception:1")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/FlushCommandTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/FlushCommandTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/FlushCommandTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/FlushCommandTest.java Wed Aug 8 11:56:59 2007 @@ -16,40 +16,31 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.FlushCommand; /** * Test case for the OpenWire marshalling for FlushCommand - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class FlushCommandTest extends BaseCommandTestSupport { - public static FlushCommandTest SINGLETON = new FlushCommandTest(); public Object createObject() throws Exception { - FlushCommand info = new FlushCommand(); - populateObject(info); - return info; + FlushCommand info = new FlushCommand(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - FlushCommand info = (FlushCommand) object; + super.populateObject(object); + FlushCommand info = (FlushCommand)object; - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/IntegerResponseTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/IntegerResponseTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/IntegerResponseTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/IntegerResponseTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.IntegerResponse; /** * Test case for the OpenWire marshalling for IntegerResponse - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class IntegerResponseTest extends ResponseTest { - public static IntegerResponseTest SINGLETON = new IntegerResponseTest(); public Object createObject() throws Exception { - IntegerResponse info = new IntegerResponse(); - populateObject(info); - return info; + IntegerResponse info = new IntegerResponse(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - IntegerResponse info = (IntegerResponse) object; + super.populateObject(object); + IntegerResponse info = (IntegerResponse)object; info.setResult(1); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalQueueAckTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalQueueAckTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalQueueAckTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalQueueAckTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,34 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.JournalQueueAck; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for JournalQueueAck - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class JournalQueueAckTest extends DataFileGeneratorTestSupport { - public static JournalQueueAckTest SINGLETON = new JournalQueueAckTest(); public Object createObject() throws Exception { - JournalQueueAck info = new JournalQueueAck(); - populateObject(info); - return info; + JournalQueueAck info = new JournalQueueAck(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - JournalQueueAck info = (JournalQueueAck) object; + super.populateObject(object); + JournalQueueAck info = (JournalQueueAck)object; info.setDestination(createActiveMQDestination("Destination:1")); info.setMessageAck(createMessageAck("MessageAck:2")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTopicAckTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTopicAckTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTopicAckTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTopicAckTest.java Wed Aug 8 11:56:59 2007 @@ -16,40 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.JournalTopicAck; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for JournalTopicAck - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class JournalTopicAckTest extends DataFileGeneratorTestSupport { - public static JournalTopicAckTest SINGLETON = new JournalTopicAckTest(); public Object createObject() throws Exception { - JournalTopicAck info = new JournalTopicAck(); - populateObject(info); - return info; + JournalTopicAck info = new JournalTopicAck(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - JournalTopicAck info = (JournalTopicAck) object; + super.populateObject(object); + JournalTopicAck info = (JournalTopicAck)object; info.setDestination(createActiveMQDestination("Destination:1")); info.setMessageId(createMessageId("MessageId:2")); info.setMessageSequenceId(1); @@ -57,5 +49,5 @@ info.setClientId("ClientId:4"); info.setTransactionId(createTransactionId("TransactionId:5")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTraceTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTraceTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTraceTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTraceTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,33 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.JournalTrace; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for JournalTrace - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class JournalTraceTest extends DataFileGeneratorTestSupport { - public static JournalTraceTest SINGLETON = new JournalTraceTest(); public Object createObject() throws Exception { - JournalTrace info = new JournalTrace(); - populateObject(info); - return info; + JournalTrace info = new JournalTrace(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - JournalTrace info = (JournalTrace) object; + super.populateObject(object); + JournalTrace info = (JournalTrace)object; info.setMessage("Message:1"); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTransactionTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTransactionTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTransactionTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/JournalTransactionTest.java Wed Aug 8 11:56:59 2007 @@ -16,43 +16,35 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.JournalTransaction; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for JournalTransaction - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class JournalTransactionTest extends DataFileGeneratorTestSupport { - public static JournalTransactionTest SINGLETON = new JournalTransactionTest(); public Object createObject() throws Exception { - JournalTransaction info = new JournalTransaction(); - populateObject(info); - return info; + JournalTransaction info = new JournalTransaction(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - JournalTransaction info = (JournalTransaction) object; + super.populateObject(object); + JournalTransaction info = (JournalTransaction)object; info.setTransactionId(createTransactionId("TransactionId:1")); - info.setType((byte) 1); + info.setType((byte)1); info.setWasPrepared(true); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/KeepAliveInfoTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/KeepAliveInfoTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/KeepAliveInfoTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/KeepAliveInfoTest.java Wed Aug 8 11:56:59 2007 @@ -16,40 +16,31 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.KeepAliveInfo; /** * Test case for the OpenWire marshalling for KeepAliveInfo - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class KeepAliveInfoTest extends BaseCommandTestSupport { - public static KeepAliveInfoTest SINGLETON = new KeepAliveInfoTest(); public Object createObject() throws Exception { - KeepAliveInfo info = new KeepAliveInfo(); - populateObject(info); - return info; + KeepAliveInfo info = new KeepAliveInfo(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - KeepAliveInfo info = (KeepAliveInfo) object; + super.populateObject(object); + KeepAliveInfo info = (KeepAliveInfo)object; - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LastPartialCommandTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LastPartialCommandTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LastPartialCommandTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LastPartialCommandTest.java Wed Aug 8 11:56:59 2007 @@ -16,40 +16,31 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.LastPartialCommand; /** * Test case for the OpenWire marshalling for LastPartialCommand - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class LastPartialCommandTest extends PartialCommandTest { - public static LastPartialCommandTest SINGLETON = new LastPartialCommandTest(); public Object createObject() throws Exception { - LastPartialCommand info = new LastPartialCommand(); - populateObject(info); - return info; + LastPartialCommand info = new LastPartialCommand(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - LastPartialCommand info = (LastPartialCommand) object; + super.populateObject(object); + LastPartialCommand info = (LastPartialCommand)object; - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LocalTransactionIdTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LocalTransactionIdTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LocalTransactionIdTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/LocalTransactionIdTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,33 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.LocalTransactionId; /** * Test case for the OpenWire marshalling for LocalTransactionId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class LocalTransactionIdTest extends TransactionIdTestSupport { - public static LocalTransactionIdTest SINGLETON = new LocalTransactionIdTest(); public Object createObject() throws Exception { - LocalTransactionId info = new LocalTransactionId(); - populateObject(info); - return info; + LocalTransactionId info = new LocalTransactionId(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - LocalTransactionId info = (LocalTransactionId) object; + super.populateObject(object); + LocalTransactionId info = (LocalTransactionId)object; info.setValue(1); info.setConnectionId(createConnectionId("ConnectionId:1")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageAckTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageAckTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageAckTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageAckTest.java Wed Aug 8 11:56:59 2007 @@ -16,47 +16,38 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.MessageAck; /** * Test case for the OpenWire marshalling for MessageAck - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class MessageAckTest extends BaseCommandTestSupport { - public static final MessageAckTest SINGLETON = new MessageAckTest(); public Object createObject() throws Exception { - MessageAck info = new MessageAck(); - populateObject(info); - return info; + MessageAck info = new MessageAck(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - MessageAck info = (MessageAck) object; + super.populateObject(object); + MessageAck info = (MessageAck)object; info.setDestination(createActiveMQDestination("Destination:1")); info.setTransactionId(createTransactionId("TransactionId:2")); info.setConsumerId(createConsumerId("ConsumerId:3")); - info.setAckType((byte) 1); + info.setAckType((byte)1); info.setFirstMessageId(createMessageId("FirstMessageId:4")); info.setLastMessageId(createMessageId("LastMessageId:5")); info.setMessageCount(1); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchNotificationTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchNotificationTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchNotificationTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchNotificationTest.java Wed Aug 8 11:56:59 2007 @@ -16,44 +16,35 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.MessageDispatchNotification; /** * Test case for the OpenWire marshalling for MessageDispatchNotification - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class MessageDispatchNotificationTest extends BaseCommandTestSupport { - public static MessageDispatchNotificationTest SINGLETON = new MessageDispatchNotificationTest(); public Object createObject() throws Exception { - MessageDispatchNotification info = new MessageDispatchNotification(); - populateObject(info); - return info; + MessageDispatchNotification info = new MessageDispatchNotification(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - MessageDispatchNotification info = (MessageDispatchNotification) object; + super.populateObject(object); + MessageDispatchNotification info = (MessageDispatchNotification)object; info.setConsumerId(createConsumerId("ConsumerId:1")); info.setDestination(createActiveMQDestination("Destination:2")); info.setDeliverySequenceId(1); info.setMessageId(createMessageId("MessageId:3")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchTest.java Wed Aug 8 11:56:59 2007 @@ -16,44 +16,35 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.MessageDispatch; /** * Test case for the OpenWire marshalling for MessageDispatch - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class MessageDispatchTest extends BaseCommandTestSupport { - public static MessageDispatchTest SINGLETON = new MessageDispatchTest(); public Object createObject() throws Exception { - MessageDispatch info = new MessageDispatch(); - populateObject(info); - return info; + MessageDispatch info = new MessageDispatch(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - MessageDispatch info = (MessageDispatch) object; + super.populateObject(object); + MessageDispatch info = (MessageDispatch)object; info.setConsumerId(createConsumerId("ConsumerId:1")); info.setDestination(createActiveMQDestination("Destination:2")); info.setMessage(createMessage("Message:3")); info.setRedeliveryCounter(1); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageIdTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageIdTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageIdTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/MessageIdTest.java Wed Aug 8 11:56:59 2007 @@ -16,43 +16,35 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.MessageId; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for MessageId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class MessageIdTest extends DataFileGeneratorTestSupport { - public static MessageIdTest SINGLETON = new MessageIdTest(); public Object createObject() throws Exception { - MessageId info = new MessageId(); - populateObject(info); - return info; + MessageId info = new MessageId(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - MessageId info = (MessageId) object; + super.populateObject(object); + MessageId info = (MessageId)object; info.setProducerId(createProducerId("ProducerId:1")); info.setProducerSequenceId(1); info.setBrokerSequenceId(2); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/NetworkBridgeFilterTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/NetworkBridgeFilterTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/NetworkBridgeFilterTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/NetworkBridgeFilterTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,34 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.NetworkBridgeFilter; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for NetworkBridgeFilter - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision: $ */ public class NetworkBridgeFilterTest extends DataFileGeneratorTestSupport { - public static NetworkBridgeFilterTest SINGLETON = new NetworkBridgeFilterTest(); public Object createObject() throws Exception { - NetworkBridgeFilter info = new NetworkBridgeFilter(); - populateObject(info); - return info; + NetworkBridgeFilter info = new NetworkBridgeFilter(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - NetworkBridgeFilter info = (NetworkBridgeFilter) object; + super.populateObject(object); + NetworkBridgeFilter info = (NetworkBridgeFilter)object; info.setNetworkTTL(1); info.setNetworkBrokerId(createBrokerId("NetworkBrokerId:1")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/PartialCommandTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/PartialCommandTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/PartialCommandTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/PartialCommandTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,34 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.PartialCommand; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for PartialCommand - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class PartialCommandTest extends DataFileGeneratorTestSupport { - public static PartialCommandTest SINGLETON = new PartialCommandTest(); public Object createObject() throws Exception { - PartialCommand info = new PartialCommand(); - populateObject(info); - return info; + PartialCommand info = new PartialCommand(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - PartialCommand info = (PartialCommand) object; + super.populateObject(object); + PartialCommand info = (PartialCommand)object; info.setCommandId(1); info.setData("Data:1".getBytes()); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ProducerIdTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ProducerIdTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ProducerIdTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ProducerIdTest.java Wed Aug 8 11:56:59 2007 @@ -16,43 +16,35 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ProducerId; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for ProducerId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ProducerIdTest extends DataFileGeneratorTestSupport { - public static ProducerIdTest SINGLETON = new ProducerIdTest(); public Object createObject() throws Exception { - ProducerId info = new ProducerId(); - populateObject(info); - return info; + ProducerId info = new ProducerId(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ProducerId info = (ProducerId) object; + super.populateObject(object); + ProducerId info = (ProducerId)object; info.setConnectionId("ConnectionId:1"); info.setValue(1); info.setSessionId(2); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveInfoTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveInfoTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveInfoTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveInfoTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.RemoveInfo; /** * Test case for the OpenWire marshalling for RemoveInfo - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class RemoveInfoTest extends BaseCommandTestSupport { - public static RemoveInfoTest SINGLETON = new RemoveInfoTest(); public Object createObject() throws Exception { - RemoveInfo info = new RemoveInfo(); - populateObject(info); - return info; + RemoveInfo info = new RemoveInfo(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - RemoveInfo info = (RemoveInfo) object; + super.populateObject(object); + RemoveInfo info = (RemoveInfo)object; info.setObjectId(createDataStructure("ObjectId:1")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveSubscriptionInfoTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveSubscriptionInfoTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveSubscriptionInfoTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/RemoveSubscriptionInfoTest.java Wed Aug 8 11:56:59 2007 @@ -16,43 +16,34 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.RemoveSubscriptionInfo; /** * Test case for the OpenWire marshalling for RemoveSubscriptionInfo - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class RemoveSubscriptionInfoTest extends BaseCommandTestSupport { - public static RemoveSubscriptionInfoTest SINGLETON = new RemoveSubscriptionInfoTest(); public Object createObject() throws Exception { - RemoveSubscriptionInfo info = new RemoveSubscriptionInfo(); - populateObject(info); - return info; + RemoveSubscriptionInfo info = new RemoveSubscriptionInfo(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - RemoveSubscriptionInfo info = (RemoveSubscriptionInfo) object; + super.populateObject(object); + RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)object; info.setConnectionId(createConnectionId("ConnectionId:1")); info.setSubcriptionName("SubcriptionName:2"); info.setClientId("ClientId:3"); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ReplayCommandTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ReplayCommandTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ReplayCommandTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ReplayCommandTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,33 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ReplayCommand; /** * Test case for the OpenWire marshalling for ReplayCommand - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ReplayCommandTest extends BaseCommandTestSupport { - public static ReplayCommandTest SINGLETON = new ReplayCommandTest(); public Object createObject() throws Exception { - ReplayCommand info = new ReplayCommand(); - populateObject(info); - return info; + ReplayCommand info = new ReplayCommand(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ReplayCommand info = (ReplayCommand) object; + super.populateObject(object); + ReplayCommand info = (ReplayCommand)object; info.setFirstNakNumber(1); info.setLastNakNumber(2); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ResponseTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ResponseTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ResponseTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ResponseTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.Response; /** * Test case for the OpenWire marshalling for Response - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ResponseTest extends BaseCommandTestSupport { - public static ResponseTest SINGLETON = new ResponseTest(); public Object createObject() throws Exception { - Response info = new Response(); - populateObject(info); - return info; + Response info = new Response(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - Response info = (Response) object; + super.populateObject(object); + Response info = (Response)object; info.setCorrelationId(1); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionIdTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionIdTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionIdTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionIdTest.java Wed Aug 8 11:56:59 2007 @@ -16,42 +16,34 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.SessionId; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for SessionId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class SessionIdTest extends DataFileGeneratorTestSupport { - public static SessionIdTest SINGLETON = new SessionIdTest(); public Object createObject() throws Exception { - SessionId info = new SessionId(); - populateObject(info); - return info; + SessionId info = new SessionId(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - SessionId info = (SessionId) object; + super.populateObject(object); + SessionId info = (SessionId)object; info.setConnectionId("ConnectionId:1"); info.setValue(1); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionInfoTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionInfoTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionInfoTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SessionInfoTest.java Wed Aug 8 11:56:59 2007 @@ -16,41 +16,32 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.SessionInfo; /** * Test case for the OpenWire marshalling for SessionInfo - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class SessionInfoTest extends BaseCommandTestSupport { - public static SessionInfoTest SINGLETON = new SessionInfoTest(); public Object createObject() throws Exception { - SessionInfo info = new SessionInfo(); - populateObject(info); - return info; + SessionInfo info = new SessionInfo(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - SessionInfo info = (SessionInfo) object; + super.populateObject(object); + SessionInfo info = (SessionInfo)object; info.setSessionId(createSessionId("SessionId:1")); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ShutdownInfoTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ShutdownInfoTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ShutdownInfoTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/ShutdownInfoTest.java Wed Aug 8 11:56:59 2007 @@ -16,40 +16,31 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.ShutdownInfo; /** * Test case for the OpenWire marshalling for ShutdownInfo - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class ShutdownInfoTest extends BaseCommandTestSupport { - public static ShutdownInfoTest SINGLETON = new ShutdownInfoTest(); public Object createObject() throws Exception { - ShutdownInfo info = new ShutdownInfo(); - populateObject(info); - return info; + ShutdownInfo info = new ShutdownInfo(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - ShutdownInfo info = (ShutdownInfo) object; + super.populateObject(object); + ShutdownInfo info = (ShutdownInfo)object; - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SubscriptionInfoTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SubscriptionInfoTest.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SubscriptionInfoTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/SubscriptionInfoTest.java Wed Aug 8 11:56:59 2007 @@ -16,44 +16,36 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.SubscriptionInfo; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for SubscriptionInfo - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public class SubscriptionInfoTest extends DataFileGeneratorTestSupport { - public static SubscriptionInfoTest SINGLETON = new SubscriptionInfoTest(); public Object createObject() throws Exception { - SubscriptionInfo info = new SubscriptionInfo(); - populateObject(info); - return info; + SubscriptionInfo info = new SubscriptionInfo(); + populateObject(info); + return info; } - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - SubscriptionInfo info = (SubscriptionInfo) object; + super.populateObject(object); + SubscriptionInfo info = (SubscriptionInfo)object; info.setClientId("ClientId:1"); info.setDestination(createActiveMQDestination("Destination:2")); info.setSelector("Selector:3"); info.setSubcriptionName("SubcriptionName:4"); - } - } + } +} Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/TransactionIdTestSupport.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/TransactionIdTestSupport.java?view=diff&rev=563982&r1=563981&r2=563982 ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/TransactionIdTestSupport.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v1/TransactionIdTestSupport.java Wed Aug 8 11:56:59 2007 @@ -16,31 +16,24 @@ */ package org.apache.activemq.openwire.v1; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import org.apache.activemq.openwire.*; -import org.apache.activemq.command.*; - +import org.apache.activemq.command.TransactionId; +import org.apache.activemq.openwire.DataFileGeneratorTestSupport; /** * Test case for the OpenWire marshalling for TransactionId - * - * - * NOTE!: This file is auto generated - do not modify! - * if you need to make a change, please see the modify the groovy scripts in the - * under src/gram/script and then use maven openwire:generate to regenerate - * this file. - * + * + * + * NOTE!: This file is auto generated - do not modify! if you need to make a + * change, please see the modify the groovy scripts in the under src/gram/script + * and then use maven openwire:generate to regenerate this file. + * * @version $Revision$ */ public abstract class TransactionIdTestSupport extends DataFileGeneratorTestSupport { - protected void populateObject(Object object) throws Exception { - super.populateObject(object); - TransactionId info = (TransactionId) object; + super.populateObject(object); + TransactionId info = (TransactionId)object; - } - } + } +}