You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2009/06/10 18:46:19 UTC
svn commit: r783417 [1/6] - in
/activemq/sandbox/activemq-flow/activemq-openwire/src:
main/java/org/apache/activemq/usage/ test/java/org/apache/activemq/openwire/
test/java/org/apache/activemq/openwire/v1/
test/java/org/apache/activemq/openwire/v2/ tes...
Author: chirino
Date: Wed Jun 10 16:46:15 2009
New Revision: 783417
URL: http://svn.apache.org/viewvc?rev=783417&view=rev
Log:
porting over thest openwire unit tests from trunk
Added:
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/BooleanStreamTest.java
- copied unchanged from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/BooleanStreamTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/BrokerInfoData.java
- copied unchanged from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/BrokerInfoData.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/DataFileGenerator.java
- copied unchanged from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/DataFileGenerator.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java
- copied, changed from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/ItStillMarshallsTheSameTest.java
- copied unchanged from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/ItStillMarshallsTheSameTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/NumberRangesWhileMarshallingTest.java
- copied unchanged from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/NumberRangesWhileMarshallingTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/WireFormatInfoData.java
- copied unchanged from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/WireFormatInfoData.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQBytesMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQDestinationTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMapMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQObjectMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQQueueTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQStreamMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempDestinationTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempQueueTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempTopicTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DataArrayResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DataResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DestinationInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DiscoveryEventTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ExceptionResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/FlushCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/IntegerResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/JournalQueueAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/JournalTopicAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/JournalTraceTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/JournalTransactionTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/KeepAliveInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/LastPartialCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/LocalTransactionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/MessageAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchNotificationTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/MessageDispatchTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/MessageIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/MessageTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/NetworkBridgeFilterTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/PartialCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ProducerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ProducerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/RemoveInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/RemoveSubscriptionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ReplayCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/SessionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/SessionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ShutdownInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/SubscriptionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/TransactionIdTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/TransactionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/WireFormatInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/XATransactionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQBytesMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQDestinationTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQMapMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQObjectMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQQueueTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQStreamMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQTempDestinationTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQTempQueueTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQTempTopicTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQTextMessageTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ActiveMQTopicTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/BaseCommandTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/BrokerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/BrokerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ConnectionControlTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ConnectionErrorTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ConnectionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ConnectionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ConsumerControlTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ConsumerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ConsumerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ControlCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/DataArrayResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/DataResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/DestinationInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/DiscoveryEventTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ExceptionResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/FlushCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/IntegerResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/JournalQueueAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/JournalTopicAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/JournalTraceTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/JournalTransactionTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/KeepAliveInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/LastPartialCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/LocalTransactionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/MessageAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/MessageDispatchNotificationTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/MessageDispatchTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/MessageIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/MessagePullTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/MessageTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/NetworkBridgeFilterTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/PartialCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ProducerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ProducerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/RemoveInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/RemoveSubscriptionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ReplayCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/SessionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/SessionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/ShutdownInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/SubscriptionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/TransactionIdTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/TransactionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/WireFormatInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v2/XATransactionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v3/
- copied from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v3/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v4/
- copied from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/v4/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/BaseCommandTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/BrokerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/BrokerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ConnectionControlTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ConnectionErrorTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ConnectionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ConnectionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ConsumerControlTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ConsumerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ConsumerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ControlCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/DataArrayResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/DataResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/DestinationInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/DiscoveryEventTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ExceptionResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/FlushCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/IntegerResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/JournalQueueAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/JournalTopicAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/JournalTraceTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/JournalTransactionTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/KeepAliveInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/LastPartialCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/LocalTransactionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/MessageAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/MessageDispatchNotificationTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/MessageDispatchTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/MessageIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/MessagePullTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/MessageTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/NetworkBridgeFilterTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/PartialCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ProducerAckTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ProducerIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ProducerInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/RemoveInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/RemoveSubscriptionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ReplayCommandTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ResponseTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/SessionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/SessionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/ShutdownInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/SubscriptionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/TransactionIdTestSupport.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/TransactionInfoTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v5/XATransactionIdTest.java
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/test/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/util/
activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/util/MarshallingSupportTest.java
- copied unchanged from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/util/MarshallingSupportTest.java
Removed:
activemq/sandbox/activemq-flow/activemq-openwire/src/main/java/org/apache/activemq/usage/DefaultUsageCapacity.java
activemq/sandbox/activemq-flow/activemq-openwire/src/main/java/org/apache/activemq/usage/MemoryUsage.java
activemq/sandbox/activemq-flow/activemq-openwire/src/main/java/org/apache/activemq/usage/Usage.java
activemq/sandbox/activemq-flow/activemq-openwire/src/main/java/org/apache/activemq/usage/UsageCapacity.java
activemq/sandbox/activemq-flow/activemq-openwire/src/main/java/org/apache/activemq/usage/UsageListener.java
Copied: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java (from r783310, activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java)
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java?p2=activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java&p1=activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java&r1=783310&r2=783417&rev=783417&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java (original)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/DataFileGeneratorTestSupport.java Wed Jun 10 16:46:15 2009
@@ -35,8 +35,9 @@
import java.util.HashSet;
import java.util.Set;
+import junit.framework.TestCase;
+
import org.apache.activemq.command.ActiveMQDestination;
-import org.apache.activemq.command.ActiveMQMessage;
import org.apache.activemq.command.ActiveMQQueue;
import org.apache.activemq.command.ActiveMQTextMessage;
import org.apache.activemq.command.BrokerId;
@@ -56,12 +57,11 @@
import org.apache.activemq.openwire.v1.ActiveMQTextMessageTest;
import org.apache.activemq.openwire.v1.BrokerInfoTest;
import org.apache.activemq.openwire.v1.MessageAckTest;
-import org.apache.activemq.test.TestSupport;
import org.apache.activemq.util.ByteSequence;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-public abstract class DataFileGeneratorTestSupport extends TestSupport {
+public abstract class DataFileGeneratorTestSupport extends TestCase {
protected static final Object[] EMPTY_ARGUMENTS = {};
private static final Log LOG = LogFactory.getLog(DataFileGeneratorTestSupport.class);
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQBytesMessageTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQBytesMessageTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQBytesMessageTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQBytesMessageTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQBytesMessage;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQBytesMessage
+ *
+ *
+ * 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: 564271 $
+ */
+public class ActiveMQBytesMessageTest extends ActiveMQMessageTest {
+
+ public static final ActiveMQBytesMessageTest SINGLETON = new ActiveMQBytesMessageTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQBytesMessage info = new ActiveMQBytesMessage();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQBytesMessage info = (ActiveMQBytesMessage)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQDestinationTestSupport.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQDestinationTestSupport.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQDestinationTestSupport.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQDestinationTestSupport.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,40 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQDestination;
+import org.apache.activemq.openwire.DataFileGeneratorTestSupport;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQDestination
+ *
+ *
+ * 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: 563982 $
+ */
+public abstract class ActiveMQDestinationTestSupport extends DataFileGeneratorTestSupport {
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQDestination info = (ActiveMQDestination)object;
+ info.setPhysicalName("PhysicalName:1");
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMapMessageTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMapMessageTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMapMessageTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMapMessageTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQMapMessage;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQMapMessage
+ *
+ *
+ * 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: 564271 $
+ */
+public class ActiveMQMapMessageTest extends ActiveMQMessageTest {
+
+ public static final ActiveMQMapMessageTest SINGLETON = new ActiveMQMapMessageTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQMapMessage info = new ActiveMQMapMessage();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQMapMessage info = (ActiveMQMapMessage)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMessageTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMessageTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMessageTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQMessageTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQMessage;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQMessage
+ *
+ *
+ * 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: 564271 $
+ */
+public class ActiveMQMessageTest extends MessageTestSupport {
+
+ public static final ActiveMQMessageTest SINGLETON = new ActiveMQMessageTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQMessage info = new ActiveMQMessage();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQMessage info = (ActiveMQMessage)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQObjectMessageTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQObjectMessageTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQObjectMessageTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQObjectMessageTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQObjectMessage;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQObjectMessage
+ *
+ *
+ * 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: 564271 $
+ */
+public class ActiveMQObjectMessageTest extends ActiveMQMessageTest {
+
+ public static final ActiveMQObjectMessageTest SINGLETON = new ActiveMQObjectMessageTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQObjectMessage info = new ActiveMQObjectMessage();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQObjectMessage info = (ActiveMQObjectMessage)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQQueueTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQQueueTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQQueueTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQQueueTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQQueue;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQQueue 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: 564271 $
+ */
+public class ActiveMQQueueTest extends ActiveMQDestinationTestSupport {
+
+ public static final ActiveMQQueueTest SINGLETON = new ActiveMQQueueTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQQueue info = new ActiveMQQueue();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQQueue info = (ActiveMQQueue)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQStreamMessageTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQStreamMessageTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQStreamMessageTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQStreamMessageTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQStreamMessage;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQStreamMessage 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: 564271 $
+ */
+public class ActiveMQStreamMessageTest extends ActiveMQMessageTest {
+
+ public static final ActiveMQStreamMessageTest SINGLETON = new ActiveMQStreamMessageTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQStreamMessage info = new ActiveMQStreamMessage();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQStreamMessage info = (ActiveMQStreamMessage)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempDestinationTestSupport.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempDestinationTestSupport.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempDestinationTestSupport.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempDestinationTestSupport.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,36 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQTempDestination;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQTempDestination 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: 563982 $
+ */
+public abstract class ActiveMQTempDestinationTestSupport extends ActiveMQDestinationTestSupport {
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQTempDestination info = (ActiveMQTempDestination)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempQueueTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempQueueTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempQueueTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempQueueTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQTempQueue;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQTempQueue 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: 564271 $
+ */
+public class ActiveMQTempQueueTest extends ActiveMQTempDestinationTestSupport {
+
+ public static final ActiveMQTempQueueTest SINGLETON = new ActiveMQTempQueueTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQTempQueue info = new ActiveMQTempQueue();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQTempQueue info = (ActiveMQTempQueue)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempTopicTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempTopicTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempTopicTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTempTopicTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.ActiveMQTempTopic;
+
+/**
+ * Test case for the OpenWire marshalling for ActiveMQTempTopic 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: 564271 $
+ */
+public class ActiveMQTempTopicTest extends ActiveMQTempDestinationTestSupport {
+
+ public static final ActiveMQTempTopicTest SINGLETON = new ActiveMQTempTopicTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQTempTopic info = new ActiveMQTempTopic();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQTempTopic info = (ActiveMQTempTopic)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTextMessageTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 563982 $
+ */
+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;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQTextMessage info = (ActiveMQTextMessage)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ActiveMQTopicTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 564271 $
+ */
+public class ActiveMQTopicTest extends ActiveMQDestinationTestSupport {
+
+ public static final ActiveMQTopicTest SINGLETON = new ActiveMQTopicTest();
+
+ public Object createObject() throws Exception {
+ ActiveMQTopic info = new ActiveMQTopic();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ActiveMQTopic info = (ActiveMQTopic)object;
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BaseCommandTestSupport.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,39 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 563982 $
+ */
+public abstract class BaseCommandTestSupport extends DataFileGeneratorTestSupport {
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ BaseCommand info = (BaseCommand)object;
+ info.setCommandId(1);
+ info.setResponseRequired(true);
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerIdTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,48 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 564271 $
+ */
+public class BrokerIdTest extends DataFileGeneratorTestSupport {
+
+ public static final BrokerIdTest SINGLETON = new BrokerIdTest();
+
+ public Object createObject() throws Exception {
+ BrokerId info = new BrokerId();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ BrokerId info = (BrokerId)object;
+ info.setValue("Value:1");
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerInfoTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerInfoTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerInfoTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/BrokerInfoTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,58 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.BrokerInfo;
+
+/**
+ * Test case for the OpenWire marshalling for BrokerInfo 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: 564057 $
+ */
+public class BrokerInfoTest extends BaseCommandTestSupport {
+
+ public static final BrokerInfoTest SINGLETON = new BrokerInfoTest();
+
+ public Object createObject() throws Exception {
+ BrokerInfo info = new BrokerInfo();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ BrokerInfo info = (BrokerInfo)object;
+ info.setBrokerId(createBrokerId("BrokerId:1"));
+ info.setBrokerURL("BrokerURL:2");
+
+ {
+ BrokerInfo value[] = new BrokerInfo[0];
+ for (int i = 0; i < 0; i++) {
+ value[i] = createBrokerInfo("PeerBrokerInfos:3");
+ }
+ info.setPeerBrokerInfos(value);
+ }
+ info.setBrokerName("BrokerName:4");
+ info.setSlaveBroker(true);
+ info.setMasterBroker(false);
+ info.setFaultTolerantConfiguration(true);
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionControlTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,51 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: $
+ */
+public class ConnectionControlTest extends BaseCommandTestSupport {
+
+ public static final ConnectionControlTest SINGLETON = new ConnectionControlTest();
+
+ public Object createObject() throws Exception {
+ ConnectionControl info = new ConnectionControl();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ConnectionControl info = (ConnectionControl)object;
+ info.setClose(true);
+ info.setExit(false);
+ info.setFaultTolerant(true);
+ info.setResume(false);
+ info.setSuspend(true);
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionErrorTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,48 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 564271 $
+ */
+public class ConnectionErrorTest extends BaseCommandTestSupport {
+
+ public static final ConnectionErrorTest SINGLETON = new ConnectionErrorTest();
+
+ public Object createObject() throws Exception {
+ ConnectionError info = new ConnectionError();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ConnectionError info = (ConnectionError)object;
+ info.setException(createThrowable("Exception:1"));
+ info.setConnectionId(createConnectionId("ConnectionId:2"));
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionIdTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,48 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 564271 $
+ */
+public class ConnectionIdTest extends DataFileGeneratorTestSupport {
+
+ public static final ConnectionIdTest SINGLETON = new ConnectionIdTest();
+
+ public Object createObject() throws Exception {
+ ConnectionId info = new ConnectionId();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ConnectionId info = (ConnectionId)object;
+ info.setValue("Value:1");
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionInfoTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionInfoTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionInfoTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConnectionInfoTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.BrokerId;
+import org.apache.activemq.command.ConnectionInfo;
+
+/**
+ * Test case for the OpenWire marshalling for ConnectionInfo 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: 564271 $
+ */
+public class ConnectionInfoTest extends BaseCommandTestSupport {
+
+ public static final ConnectionInfoTest SINGLETON = new ConnectionInfoTest();
+
+ public Object createObject() throws Exception {
+ ConnectionInfo info = new ConnectionInfo();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ConnectionInfo info = (ConnectionInfo)object;
+ info.setConnectionId(createConnectionId("ConnectionId:1"));
+ info.setClientId("ClientId:2");
+ info.setPassword("Password:3");
+ info.setUserName("UserName:4");
+
+ {
+ BrokerId value[] = new BrokerId[2];
+ for (int i = 0; i < 2; i++) {
+ value[i] = createBrokerId("BrokerPath:5");
+ }
+ info.setBrokerPath(value);
+ }
+ info.setBrokerMasterConnector(true);
+ info.setManageable(false);
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerControlTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,49 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: $
+ */
+public class ConsumerControlTest extends BaseCommandTestSupport {
+
+ public static final ConsumerControlTest SINGLETON = new ConsumerControlTest();
+
+ public Object createObject() throws Exception {
+ ConsumerControl info = new ConsumerControl();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ConsumerControl info = (ConsumerControl)object;
+ info.setClose(true);
+ info.setConsumerId(createConsumerId("ConsumerId:1"));
+ info.setPrefetch(1);
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerIdTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 564271 $
+ */
+public class ConsumerIdTest extends DataFileGeneratorTestSupport {
+
+ public static final ConsumerIdTest SINGLETON = new ConsumerIdTest();
+
+ public Object createObject() throws Exception {
+ ConsumerId info = new ConsumerId();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ConsumerId info = (ConsumerId)object;
+ info.setConnectionId("ConnectionId:1");
+ info.setSessionId(1);
+ info.setValue(2);
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerInfoTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerInfoTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerInfoTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ConsumerInfoTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,69 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.BrokerId;
+import org.apache.activemq.command.ConsumerInfo;
+
+/**
+ * Test case for the OpenWire marshalling for ConsumerInfo 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: 564271 $
+ */
+public class ConsumerInfoTest extends BaseCommandTestSupport {
+
+ public static final ConsumerInfoTest SINGLETON = new ConsumerInfoTest();
+
+ public Object createObject() throws Exception {
+ ConsumerInfo info = new ConsumerInfo();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ConsumerInfo info = (ConsumerInfo)object;
+ info.setConsumerId(createConsumerId("ConsumerId:1"));
+ info.setBrowser(true);
+ info.setDestination(createActiveMQDestination("Destination:2"));
+ info.setPrefetchSize(1);
+ info.setMaximumPendingMessageLimit(2);
+ info.setDispatchAsync(false);
+ info.setSelector("Selector:3");
+ info.setSubscriptionName("SubcriptionName:4");
+ info.setNoLocal(true);
+ info.setExclusive(false);
+ info.setRetroactive(true);
+ info.setPriority((byte)1);
+
+ {
+ BrokerId value[] = new BrokerId[2];
+ for (int i = 0; i < 2; i++) {
+ value[i] = createBrokerId("BrokerPath:5");
+ }
+ info.setBrokerPath(value);
+ }
+ info.setAdditionalPredicate(createBooleanExpression("AdditionalPredicate:6"));
+ info.setNetworkSubscription(false);
+ info.setOptimizedAcknowledge(true);
+ info.setNoRangeAcks(false);
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/ControlCommandTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,47 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+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.
+ *
+ * @version $Revision: 564271 $
+ */
+public class ControlCommandTest extends BaseCommandTestSupport {
+
+ public static final ControlCommandTest SINGLETON = new ControlCommandTest();
+
+ public Object createObject() throws Exception {
+ ControlCommand info = new ControlCommand();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ ControlCommand info = (ControlCommand)object;
+ info.setCommand("Command:1");
+
+ }
+}
Added: activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DataArrayResponseTest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DataArrayResponseTest.java?rev=783417&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DataArrayResponseTest.java (added)
+++ activemq/sandbox/activemq-flow/activemq-openwire/src/test/java/org/apache/activemq/openwire/v1/DataArrayResponseTest.java Wed Jun 10 16:46:15 2009
@@ -0,0 +1,53 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v1;
+
+import org.apache.activemq.command.DataArrayResponse;
+import org.apache.activemq.command.DataStructure;
+
+/**
+ * Test case for the OpenWire marshalling for DataArrayResponse 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: 564271 $
+ */
+public class DataArrayResponseTest extends ResponseTest {
+
+ public static final DataArrayResponseTest SINGLETON = new DataArrayResponseTest();
+
+ public Object createObject() throws Exception {
+ DataArrayResponse info = new DataArrayResponse();
+ populateObject(info);
+ return info;
+ }
+
+ protected void populateObject(Object object) throws Exception {
+ super.populateObject(object);
+ DataArrayResponse info = (DataArrayResponse)object;
+
+ {
+ DataStructure value[] = new DataStructure[2];
+ for (int i = 0; i < 2; i++) {
+ value[i] = createDataStructure("Data:1");
+ }
+ info.setData(value);
+ }
+
+ }
+}