Added: activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.cpp?rev=685729&view=auto ============================================================================== --- activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.cpp (added) +++ activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.cpp Wed Aug 13 16:42:56 2008 @@ -0,0 +1,154 @@ +/* + * 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. + */ + +#include <activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.h> + +#include <activemq/connector/openwire/marshal/v3/WireFormatInfoMarshaller.h> +#include <activemq/connector/openwire/commands/WireFormatInfo.h> + +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::v3::WireFormatInfoMarshallerTest ); + +#include <activemq/connector/openwire/OpenWireFormat.h> +#include <activemq/connector/openwire/commands/DataStructure.h> +#include <activemq/connector/openwire/utils/BooleanStream.h> +#include <decaf/io/DataInputStream.h> +#include <decaf/io/DataOutputStream.h> +#include <decaf/io/IOException.h> +#include <decaf/io/ByteArrayOutputStream.h> +#include <decaf/io/ByteArrayInputStream.h> +#include <decaf/util/Properties.h> +// +// NOTE!: This file is autogenerated - do not modify! +// if you need to make a change, please see the Java Classes in the +// activemq-core module +// + +using namespace std; +using namespace activemq; +using namespace activemq::util; +using namespace activemq::exceptions; +using namespace activemq::connector; +using namespace activemq::connector::openwire; +using namespace activemq::connector::openwire::commands; +using namespace activemq::connector::openwire::marshal; +using namespace activemq::connector::openwire::utils; +using namespace activemq::connector::openwire::marshal::v3; +using namespace decaf::io; +using namespace decaf::lang; +using namespace decaf::util; + +/////////////////////////////////////////////////////////////////////////////// +void WireFormatInfoMarshallerTest::test() { + + WireFormatInfoMarshaller myMarshaller; + WireFormatInfo myCommand; + WireFormatInfo* myCommand2; + + CPPUNIT_ASSERT( myMarshaller.getDataStructureType() == myCommand.getDataStructureType() ); + myCommand2 = dynamic_cast<WireFormatInfo*>( myMarshaller.createObject() ); + CPPUNIT_ASSERT( myCommand2 != NULL ); + delete myCommand2; +} + +/////////////////////////////////////////////////////////////////////////////// +void WireFormatInfoMarshallerTest::testLooseMarshal() { + + WireFormatInfoMarshaller marshaller; + Properties props; + OpenWireFormat openWireFormat( props ); + + // Configure for this test. + openWireFormat.setVersion( 3 ); + openWireFormat.setTightEncodingEnabled( false ); + + WireFormatInfo outCommand; + WireFormatInfo inCommand; + + try { + + // Marshal the dataStructure to a byte array. + ByteArrayOutputStream baos; + DataOutputStream dataOut( &baos ); + dataOut.writeByte( outCommand.getDataStructureType() ); + marshaller.looseMarshal( &openWireFormat, &outCommand, &dataOut ); + + // Now read it back in and make sure it's all right. + ByteArrayInputStream bais( baos.toByteArray(), baos.size() ); + DataInputStream dataIn( &bais ); + unsigned char dataType = dataIn.readByte(); + CPPUNIT_ASSERT( dataType == outCommand.getDataStructureType() ); + marshaller.looseUnmarshal( &openWireFormat, &inCommand, &dataIn ); + + CPPUNIT_ASSERT( inCommand.equals( &outCommand ) == true ); + + } catch( ActiveMQException& e ) { + e.printStackTrace(); + CPPUNIT_ASSERT( false ); + } catch( ... ) { + CPPUNIT_ASSERT( false ); + } +} + +/////////////////////////////////////////////////////////////////////////////// +void WireFormatInfoMarshallerTest::testTightMarshal() { + + WireFormatInfoMarshaller marshaller; + Properties props; + OpenWireFormat openWireFormat( props ); + + // Configure for this test. + openWireFormat.setVersion( 3 ); + openWireFormat.setTightEncodingEnabled( true ); + + WireFormatInfo outCommand; + WireFormatInfo inCommand; + + try { + + // Marshal the dataStructure to a byte array. + ByteArrayOutputStream baos; + DataOutputStream dataOut( &baos ); + // Phase 1 - count the size + int size = 1; + BooleanStream bs; + size += marshaller.tightMarshal1( &openWireFormat, &outCommand, &bs ); + size += bs.marshalledSize(); + // Phase 2 - marshal + dataOut.writeByte( outCommand.getDataStructureType() ); + bs.marshal( &dataOut ); + marshaller.tightMarshal2( &openWireFormat, &outCommand, &dataOut, &bs ); + + // Now read it back in and make sure it's all right. + ByteArrayInputStream bais( baos.toByteArray(), baos.size() ); + DataInputStream dataIn( &bais ); + + unsigned char dataType = dataIn.readByte(); + CPPUNIT_ASSERT( dataType == outCommand.getDataStructureType() ); + bs.clear(); + bs.unmarshal( &dataIn ); + marshaller.tightUnmarshal( &openWireFormat, &inCommand, &dataIn, &bs ); + + CPPUNIT_ASSERT( inCommand.equals( &outCommand ) == true ); + + } catch( ActiveMQException& e ) { + e.printStackTrace(); + CPPUNIT_ASSERT( false ); + } catch( ... ) { + CPPUNIT_ASSERT( false ); + } +} +
Added: activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.h?rev=685729&view=auto ============================================================================== --- activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.h (added) +++ activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.h Wed Aug 13 16:42:56 2008 @@ -0,0 +1,67 @@ +/* + * 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. + */ + +#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_MARSAHAL_V3_WIREFORMATINFOMARSHALLERTEST_H_ +#define _ACTIVEMQ_CONNECTOR_OPENWIRE_MARSAHAL_V3_WIREFORMATINFOMARSHALLERTEST_H_ + +// Turn off warning message for ignored exception specification +#ifdef _MSC_VER +#pragma warning( disable : 4290 ) +#endif + +#include <cppunit/TestFixture.h> +#include <cppunit/extensions/HelperMacros.h> + +namespace activemq{ +namespace connector{ +namespace openwire{ +namespace marshal{ +namespace v3{ + + /** + * Marshalling Test code for Open Wire Format for WireFormatInfoMarshallerTest + * + * NOTE!: This file is autogenerated - do not modify! + * if you need to make a change, please see the Java Classes + * in the activemq-openwire-generator module + */ + class WireFormatInfoMarshallerTest : public CppUnit::TestFixture { + + CPPUNIT_TEST_SUITE( WireFormatInfoMarshallerTest ); + CPPUNIT_TEST( test ); + CPPUNIT_TEST( testLooseMarshal ); + CPPUNIT_TEST( testTightMarshal ); + CPPUNIT_TEST_SUITE_END(); + + public: + + WireFormatInfoMarshallerTest() {} + virtual ~WireFormatInfoMarshallerTest() {} + + /** + * Test the marshaller and its marshalled type. + */ + virtual void test(); + virtual void testLooseMarshal(); + virtual void testTightMarshal(); + + }; + +}}}}} + +#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_MARSAHAL_V3_WIREFORMATINFOMARSHALLERTEST_H_*/ + Added: activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.cpp?rev=685729&view=auto ============================================================================== --- activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.cpp (added) +++ activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.cpp Wed Aug 13 16:42:56 2008 @@ -0,0 +1,154 @@ +/* + * 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. + */ + +#include <activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.h> + +#include <activemq/connector/openwire/marshal/v3/XATransactionIdMarshaller.h> +#include <activemq/connector/openwire/commands/XATransactionId.h> + +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::v3::XATransactionIdMarshallerTest ); + +#include <activemq/connector/openwire/OpenWireFormat.h> +#include <activemq/connector/openwire/commands/DataStructure.h> +#include <activemq/connector/openwire/utils/BooleanStream.h> +#include <decaf/io/DataInputStream.h> +#include <decaf/io/DataOutputStream.h> +#include <decaf/io/IOException.h> +#include <decaf/io/ByteArrayOutputStream.h> +#include <decaf/io/ByteArrayInputStream.h> +#include <decaf/util/Properties.h> +// +// NOTE!: This file is autogenerated - do not modify! +// if you need to make a change, please see the Java Classes in the +// activemq-core module +// + +using namespace std; +using namespace activemq; +using namespace activemq::util; +using namespace activemq::exceptions; +using namespace activemq::connector; +using namespace activemq::connector::openwire; +using namespace activemq::connector::openwire::commands; +using namespace activemq::connector::openwire::marshal; +using namespace activemq::connector::openwire::utils; +using namespace activemq::connector::openwire::marshal::v3; +using namespace decaf::io; +using namespace decaf::lang; +using namespace decaf::util; + +/////////////////////////////////////////////////////////////////////////////// +void XATransactionIdMarshallerTest::test() { + + XATransactionIdMarshaller myMarshaller; + XATransactionId myCommand; + XATransactionId* myCommand2; + + CPPUNIT_ASSERT( myMarshaller.getDataStructureType() == myCommand.getDataStructureType() ); + myCommand2 = dynamic_cast<XATransactionId*>( myMarshaller.createObject() ); + CPPUNIT_ASSERT( myCommand2 != NULL ); + delete myCommand2; +} + +/////////////////////////////////////////////////////////////////////////////// +void XATransactionIdMarshallerTest::testLooseMarshal() { + + XATransactionIdMarshaller marshaller; + Properties props; + OpenWireFormat openWireFormat( props ); + + // Configure for this test. + openWireFormat.setVersion( 3 ); + openWireFormat.setTightEncodingEnabled( false ); + + XATransactionId outCommand; + XATransactionId inCommand; + + try { + + // Marshal the dataStructure to a byte array. + ByteArrayOutputStream baos; + DataOutputStream dataOut( &baos ); + dataOut.writeByte( outCommand.getDataStructureType() ); + marshaller.looseMarshal( &openWireFormat, &outCommand, &dataOut ); + + // Now read it back in and make sure it's all right. + ByteArrayInputStream bais( baos.toByteArray(), baos.size() ); + DataInputStream dataIn( &bais ); + unsigned char dataType = dataIn.readByte(); + CPPUNIT_ASSERT( dataType == outCommand.getDataStructureType() ); + marshaller.looseUnmarshal( &openWireFormat, &inCommand, &dataIn ); + + CPPUNIT_ASSERT( inCommand.equals( &outCommand ) == true ); + + } catch( ActiveMQException& e ) { + e.printStackTrace(); + CPPUNIT_ASSERT( false ); + } catch( ... ) { + CPPUNIT_ASSERT( false ); + } +} + +/////////////////////////////////////////////////////////////////////////////// +void XATransactionIdMarshallerTest::testTightMarshal() { + + XATransactionIdMarshaller marshaller; + Properties props; + OpenWireFormat openWireFormat( props ); + + // Configure for this test. + openWireFormat.setVersion( 3 ); + openWireFormat.setTightEncodingEnabled( true ); + + XATransactionId outCommand; + XATransactionId inCommand; + + try { + + // Marshal the dataStructure to a byte array. + ByteArrayOutputStream baos; + DataOutputStream dataOut( &baos ); + // Phase 1 - count the size + int size = 1; + BooleanStream bs; + size += marshaller.tightMarshal1( &openWireFormat, &outCommand, &bs ); + size += bs.marshalledSize(); + // Phase 2 - marshal + dataOut.writeByte( outCommand.getDataStructureType() ); + bs.marshal( &dataOut ); + marshaller.tightMarshal2( &openWireFormat, &outCommand, &dataOut, &bs ); + + // Now read it back in and make sure it's all right. + ByteArrayInputStream bais( baos.toByteArray(), baos.size() ); + DataInputStream dataIn( &bais ); + + unsigned char dataType = dataIn.readByte(); + CPPUNIT_ASSERT( dataType == outCommand.getDataStructureType() ); + bs.clear(); + bs.unmarshal( &dataIn ); + marshaller.tightUnmarshal( &openWireFormat, &inCommand, &dataIn, &bs ); + + CPPUNIT_ASSERT( inCommand.equals( &outCommand ) == true ); + + } catch( ActiveMQException& e ) { + e.printStackTrace(); + CPPUNIT_ASSERT( false ); + } catch( ... ) { + CPPUNIT_ASSERT( false ); + } +} + Added: activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.h?rev=685729&view=auto ============================================================================== --- activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.h (added) +++ activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.h Wed Aug 13 16:42:56 2008 @@ -0,0 +1,67 @@ +/* + * 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. + */ + +#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_MARSAHAL_V3_XATRANSACTIONIDMARSHALLERTEST_H_ +#define _ACTIVEMQ_CONNECTOR_OPENWIRE_MARSAHAL_V3_XATRANSACTIONIDMARSHALLERTEST_H_ + +// Turn off warning message for ignored exception specification +#ifdef _MSC_VER +#pragma warning( disable : 4290 ) +#endif + +#include <cppunit/TestFixture.h> +#include <cppunit/extensions/HelperMacros.h> + +namespace activemq{ +namespace connector{ +namespace openwire{ +namespace marshal{ +namespace v3{ + + /** + * Marshalling Test code for Open Wire Format for XATransactionIdMarshallerTest + * + * NOTE!: This file is autogenerated - do not modify! + * if you need to make a change, please see the Java Classes + * in the activemq-openwire-generator module + */ + class XATransactionIdMarshallerTest : public CppUnit::TestFixture { + + CPPUNIT_TEST_SUITE( XATransactionIdMarshallerTest ); + CPPUNIT_TEST( test ); + CPPUNIT_TEST( testLooseMarshal ); + CPPUNIT_TEST( testTightMarshal ); + CPPUNIT_TEST_SUITE_END(); + + public: + + XATransactionIdMarshallerTest() {} + virtual ~XATransactionIdMarshallerTest() {} + + /** + * Test the marshaller and its marshalled type. + */ + virtual void test(); + virtual void testLooseMarshal(); + virtual void testTightMarshal(); + + }; + +}}}}} + +#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_MARSAHAL_V3_XATRANSACTIONIDMARSHALLERTEST_H_*/ + Added: activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/srcmakefile.mk URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/srcmakefile.mk?rev=685729&view=auto ============================================================================== --- activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/srcmakefile.mk (added) +++ activemq/activemq-cpp/trunk/src/test/activemq/connector/openwire/marshal/v3/srcmakefile.mk Wed Aug 13 16:42:56 2008 @@ -0,0 +1,130 @@ +# --------------------------------------------------------------------------- +# 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. +# --------------------------------------------------------------------------- + +cc_sources += \ + activemq/connector/openwire/marshal/v3/ActiveMQBytesMessageMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQMapMessageMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQMessageMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQObjectMessageMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQQueueMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQStreamMessageMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQTempQueueMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQTempTopicMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQTextMessageMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ActiveMQTopicMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/BrokerIdMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/BrokerInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ConnectionControlMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ConnectionErrorMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ConnectionIdMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ConnectionInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ConsumerControlMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ConsumerIdMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ConsumerInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ControlCommandMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/DataArrayResponseMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/DataResponseMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/DestinationInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/DiscoveryEventMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ExceptionResponseMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/FlushCommandMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/IntegerResponseMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/JournalQueueAckMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/JournalTopicAckMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/JournalTraceMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/JournalTransactionMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/KeepAliveInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/LastPartialCommandMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/LocalTransactionIdMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/MessageAckMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/MessageDispatchMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/MessageDispatchNotificationMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/MessageIdMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/MessagePullMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/NetworkBridgeFilterMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/PartialCommandMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ProducerAckMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ProducerIdMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ProducerInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/RemoveInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/RemoveSubscriptionInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ReplayCommandMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ResponseMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/SessionIdMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/SessionInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/ShutdownInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/SubscriptionInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/TransactionInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.cpp \ + activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.cpp + +h_sources += \ + activemq/connector/openwire/marshal/v3/ActiveMQBytesMessageMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQMapMessageMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQMessageMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQObjectMessageMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQQueueMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQStreamMessageMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQTempQueueMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQTempTopicMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQTextMessageMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ActiveMQTopicMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/BrokerIdMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/BrokerInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ConnectionControlMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ConnectionErrorMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ConnectionIdMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ConnectionInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ConsumerControlMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ConsumerIdMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ConsumerInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ControlCommandMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/DataArrayResponseMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/DataResponseMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/DestinationInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/DiscoveryEventMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ExceptionResponseMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/FlushCommandMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/IntegerResponseMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/JournalQueueAckMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/JournalTopicAckMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/JournalTraceMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/JournalTransactionMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/KeepAliveInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/LastPartialCommandMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/LocalTransactionIdMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/MessageAckMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/MessageDispatchMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/MessageDispatchNotificationMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/MessageIdMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/MessagePullMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/NetworkBridgeFilterMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/PartialCommandMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ProducerAckMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ProducerIdMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ProducerInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/RemoveInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/RemoveSubscriptionInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ReplayCommandMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ResponseMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/SessionIdMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/SessionInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/ShutdownInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/SubscriptionInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/TransactionInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/WireFormatInfoMarshallerTest.h \ + activemq/connector/openwire/marshal/v3/XATransactionIdMarshallerTest.h Modified: activemq/activemq-cpp/trunk/src/test/testRegistry.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/testRegistry.cpp?rev=685729&r1=685728&r2=685729&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/src/test/testRegistry.cpp (original) +++ activemq/activemq-cpp/trunk/src/test/testRegistry.cpp Wed Aug 13 16:42:56 2008 @@ -18,240 +18,240 @@ // All CPP Unit tests are registered in here so we can disable them and // enable them easily in one place. -//#include <activemq/connector/stomp/commands/UnsubscribeCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::UnsubscribeCommandTest ); -//#include <activemq/connector/stomp/commands/TextMessageCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::TextMessageCommandTest ); -//#include <activemq/connector/stomp/commands/SubscribeCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::SubscribeCommandTest ); -//#include <activemq/connector/stomp/commands/ReceiptCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ReceiptCommandTest ); -//#include <activemq/connector/stomp/commands/MessageCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::MessageCommandTest ); -//#include <activemq/connector/stomp/commands/ErrorCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ErrorCommandTest ); -//#include <activemq/connector/stomp/commands/DisconnectCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::DisconnectCommandTest ); -//#include <activemq/connector/stomp/commands/ConnectedCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectedCommandTest ); -//#include <activemq/connector/stomp/commands/ConnectCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectCommandTest ); -//#include <activemq/connector/stomp/commands/CommitCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommitCommandTest ); -//#include <activemq/connector/stomp/commands/CommandConstantsTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommandConstantsTest ); -//#include <activemq/connector/stomp/commands/BytesMessageCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BytesMessageCommandTest ); -//#include <activemq/connector/stomp/commands/BeginCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BeginCommandTest ); -//#include <activemq/connector/stomp/commands/AckCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AckCommandTest ); -//#include <activemq/connector/stomp/commands/AbortCommandTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AbortCommandTest ); -// -//#include <activemq/connector/stomp/marshal/MarshalerTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::marshal::MarshalerTest ); -// -//#include <activemq/connector/stomp/StompSessionManagerTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompSessionManagerTest ); -//#include <activemq/connector/stomp/StompFrameTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompFrameTest ); -//#include <activemq/connector/stomp/StompDestinationTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompDestinationTest ); -//#include <activemq/connector/stomp/StompConnectorTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompConnectorTest ); -//#include <activemq/connector/stomp/StompCommandWriterTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandWriterTest ); -//#include <activemq/connector/stomp/StompCommandReaderTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandReaderTest ); -// -//#include <activemq/connector/openwire/commands/BrokerInfoTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerInfoTest ); -//#include <activemq/connector/openwire/commands/BrokerIdTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerIdTest ); -//#include <activemq/connector/openwire/commands/ActiveMQTopicTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTopicTest ); -//#include <activemq/connector/openwire/commands/ActiveMQTextMessageTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTextMessageTest ); -//#include <activemq/connector/openwire/commands/ActiveMQTempTopicTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempTopicTest ); -//#include <activemq/connector/openwire/commands/ActiveMQTempQueueTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempQueueTest ); -//#include <activemq/connector/openwire/commands/ActiveMQQueueTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQQueueTest ); -//#include <activemq/connector/openwire/commands/ActiveMQMessageTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMessageTest ); -//#include <activemq/connector/openwire/commands/ActiveMQMapMessageTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMapMessageTest ); -//#include <activemq/connector/openwire/commands/ActiveMQDestinationTest2.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQDestinationTest ); -//#include <activemq/connector/openwire/commands/ActiveMQBytesMessageTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQBytesMessageTest ); -// -//#include <activemq/connector/openwire/marshal/BaseDataStreamMarshallerTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::BaseDataStreamMarshallerTest ); -//#include <activemq/connector/openwire/marshal/PrimitiveMapMarshallerTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::PrimitiveMapMarshallerTest ); -// -//#include <activemq/connector/openwire/utils/BooleanStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::BooleanStreamTest ); -//#include <activemq/connector/openwire/utils/HexTableTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::HexTableTest ); -//#include <activemq/connector/openwire/utils/OpenwireStringSupportTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::OpenwireStringSupportTest ); -// -//#include <activemq/connector/openwire/OpenWireFormatTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::OpenWireFormatTest ); -// -//#include <activemq/connector/ConnectorFactoryMapRegistrarTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapRegistrarTest ); -//#include <activemq/connector/ConnectorFactoryMapTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapTest ); -// -//#include <activemq/cmsutil/CmsAccessorTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsAccessorTest ); -//#include <activemq/cmsutil/CmsDestinationAccessorTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsDestinationAccessorTest ); -//#include <activemq/cmsutil/CmsTemplateTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsTemplateTest ); -//#include <activemq/cmsutil/DynamicDestinationResolverTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::DynamicDestinationResolverTest ); -//#include <activemq/cmsutil/SessionPoolTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::SessionPoolTest ); -// -//#include <activemq/core/ActiveMQConnectionFactoryTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionFactoryTest ); -//#include <activemq/core/ActiveMQConnectionTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionTest ); -//#include <activemq/core/ActiveMQSessionTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQSessionTest ); -// -//#include <activemq/transport/filters/ResponseCorrelatorTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::filters::ResponseCorrelatorTest ); -// -//#include <activemq/transport/IOTransportTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::IOTransportTest ); -//#include <activemq/transport/TransportFactoryMapRegistrarTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapRegistrarTest ); -//#include <activemq/transport/TransportFactoryMapTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapTest ); -// -//#include <activemq/exceptions/ActiveMQExceptionTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::exceptions::ActiveMQExceptionTest ); -// -//#include <activemq/util/LongSequenceGeneratorTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::LongSequenceGeneratorTest ); -//#include <activemq/util/PrimitiveValueNodeTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueNodeTest ); -//#include <activemq/util/PrimitiveListTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveListTest ); -//#include <activemq/util/PrimitiveMapTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveMapTest ); -//#include <activemq/util/URISupportTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::URISupportTest ); -// -//#include <decaf/internal/util/ByteArrayAdapterTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::util::ByteArrayAdapterTest ); -//#include <decaf/internal/nio/ByteArrayPerspectiveTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayPerspectiveTest ); -//#include <decaf/internal/nio/ByteArrayBufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayBufferTest ); -//#include <decaf/internal/nio/BufferFactoryTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::BufferFactoryTest ); -//#include <decaf/internal/nio/CharArrayBufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::CharArrayBufferTest ); -//#include <decaf/internal/nio/DoubleArrayBufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::DoubleArrayBufferTest ); -//#include <decaf/internal/nio/FloatArrayBufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::FloatArrayBufferTest ); -//#include <decaf/internal/nio/LongArrayBufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::LongArrayBufferTest ); -//#include <decaf/internal/nio/IntArrayBufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::IntArrayBufferTest ); -//#include <decaf/internal/nio/ShortArrayBufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ShortArrayBufferTest ); +#include <activemq/connector/stomp/commands/UnsubscribeCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::UnsubscribeCommandTest ); +#include <activemq/connector/stomp/commands/TextMessageCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::TextMessageCommandTest ); +#include <activemq/connector/stomp/commands/SubscribeCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::SubscribeCommandTest ); +#include <activemq/connector/stomp/commands/ReceiptCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ReceiptCommandTest ); +#include <activemq/connector/stomp/commands/MessageCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::MessageCommandTest ); +#include <activemq/connector/stomp/commands/ErrorCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ErrorCommandTest ); +#include <activemq/connector/stomp/commands/DisconnectCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::DisconnectCommandTest ); +#include <activemq/connector/stomp/commands/ConnectedCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectedCommandTest ); +#include <activemq/connector/stomp/commands/ConnectCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectCommandTest ); +#include <activemq/connector/stomp/commands/CommitCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommitCommandTest ); +#include <activemq/connector/stomp/commands/CommandConstantsTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommandConstantsTest ); +#include <activemq/connector/stomp/commands/BytesMessageCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BytesMessageCommandTest ); +#include <activemq/connector/stomp/commands/BeginCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BeginCommandTest ); +#include <activemq/connector/stomp/commands/AckCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AckCommandTest ); +#include <activemq/connector/stomp/commands/AbortCommandTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AbortCommandTest ); + +#include <activemq/connector/stomp/marshal/MarshalerTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::marshal::MarshalerTest ); + +#include <activemq/connector/stomp/StompSessionManagerTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompSessionManagerTest ); +#include <activemq/connector/stomp/StompFrameTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompFrameTest ); +#include <activemq/connector/stomp/StompDestinationTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompDestinationTest ); +#include <activemq/connector/stomp/StompConnectorTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompConnectorTest ); +#include <activemq/connector/stomp/StompCommandWriterTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandWriterTest ); +#include <activemq/connector/stomp/StompCommandReaderTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandReaderTest ); + +#include <activemq/connector/openwire/commands/BrokerInfoTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerInfoTest ); +#include <activemq/connector/openwire/commands/BrokerIdTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerIdTest ); +#include <activemq/connector/openwire/commands/ActiveMQTopicTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTopicTest ); +#include <activemq/connector/openwire/commands/ActiveMQTextMessageTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTextMessageTest ); +#include <activemq/connector/openwire/commands/ActiveMQTempTopicTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempTopicTest ); +#include <activemq/connector/openwire/commands/ActiveMQTempQueueTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempQueueTest ); +#include <activemq/connector/openwire/commands/ActiveMQQueueTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQQueueTest ); +#include <activemq/connector/openwire/commands/ActiveMQMessageTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMessageTest ); +#include <activemq/connector/openwire/commands/ActiveMQMapMessageTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMapMessageTest ); +#include <activemq/connector/openwire/commands/ActiveMQDestinationTest2.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQDestinationTest ); +#include <activemq/connector/openwire/commands/ActiveMQBytesMessageTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQBytesMessageTest ); + +#include <activemq/connector/openwire/marshal/BaseDataStreamMarshallerTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::BaseDataStreamMarshallerTest ); +#include <activemq/connector/openwire/marshal/PrimitiveMapMarshallerTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::PrimitiveMapMarshallerTest ); + +#include <activemq/connector/openwire/utils/BooleanStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::BooleanStreamTest ); +#include <activemq/connector/openwire/utils/HexTableTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::HexTableTest ); +#include <activemq/connector/openwire/utils/OpenwireStringSupportTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::OpenwireStringSupportTest ); + +#include <activemq/connector/openwire/OpenWireFormatTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::OpenWireFormatTest ); + +#include <activemq/connector/ConnectorFactoryMapRegistrarTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapRegistrarTest ); +#include <activemq/connector/ConnectorFactoryMapTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapTest ); + +#include <activemq/cmsutil/CmsAccessorTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsAccessorTest ); +#include <activemq/cmsutil/CmsDestinationAccessorTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsDestinationAccessorTest ); +#include <activemq/cmsutil/CmsTemplateTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsTemplateTest ); +#include <activemq/cmsutil/DynamicDestinationResolverTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::DynamicDestinationResolverTest ); +#include <activemq/cmsutil/SessionPoolTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::SessionPoolTest ); + +#include <activemq/core/ActiveMQConnectionFactoryTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionFactoryTest ); +#include <activemq/core/ActiveMQConnectionTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionTest ); +#include <activemq/core/ActiveMQSessionTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQSessionTest ); + +#include <activemq/transport/filters/ResponseCorrelatorTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::filters::ResponseCorrelatorTest ); + +#include <activemq/transport/IOTransportTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::IOTransportTest ); +#include <activemq/transport/TransportFactoryMapRegistrarTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapRegistrarTest ); +#include <activemq/transport/TransportFactoryMapTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapTest ); + +#include <activemq/exceptions/ActiveMQExceptionTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::exceptions::ActiveMQExceptionTest ); + +#include <activemq/util/LongSequenceGeneratorTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::LongSequenceGeneratorTest ); +#include <activemq/util/PrimitiveValueNodeTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueNodeTest ); +#include <activemq/util/PrimitiveListTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveListTest ); +#include <activemq/util/PrimitiveMapTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveMapTest ); +#include <activemq/util/URISupportTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::URISupportTest ); + +#include <decaf/internal/util/ByteArrayAdapterTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::util::ByteArrayAdapterTest ); +#include <decaf/internal/nio/ByteArrayPerspectiveTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayPerspectiveTest ); +#include <decaf/internal/nio/ByteArrayBufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayBufferTest ); +#include <decaf/internal/nio/BufferFactoryTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::BufferFactoryTest ); +#include <decaf/internal/nio/CharArrayBufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::CharArrayBufferTest ); +#include <decaf/internal/nio/DoubleArrayBufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::DoubleArrayBufferTest ); +#include <decaf/internal/nio/FloatArrayBufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::FloatArrayBufferTest ); +#include <decaf/internal/nio/LongArrayBufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::LongArrayBufferTest ); +#include <decaf/internal/nio/IntArrayBufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::IntArrayBufferTest ); +#include <decaf/internal/nio/ShortArrayBufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ShortArrayBufferTest ); #include <decaf/internal/net/URIEncoderDecoderTest.h> CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::net::URIEncoderDecoderTest ); -//#include <decaf/nio/BufferTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::nio::BufferTest ); -// -//#include <decaf/io/FilterInputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterInputStreamTest ); -//#include <decaf/io/FilterOutputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterOutputStreamTest ); -//#include <decaf/io/BufferedInputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest ); -//#include <decaf/io/BufferedOutputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest ); -//#include <decaf/io/ByteArrayInputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest ); -//#include <decaf/io/ByteArrayOutputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest ); -//#include <decaf/io/DataInputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest ); -//#include <decaf/io/DataOutputStreamTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest ); -// -//#include <decaf/lang/MathTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest ); -//#include <decaf/lang/ByteTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest ); -//#include <decaf/lang/CharacterTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest ); -//#include <decaf/lang/BooleanTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest ); -//#include <decaf/lang/ShortTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest ); -//#include <decaf/lang/IntegerTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest ); -//#include <decaf/lang/LongTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest ); -//#include <decaf/lang/FloatTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest ); -//#include <decaf/lang/DoubleTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest ); -//#include <decaf/lang/ExceptionTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest ); -//#include <decaf/lang/ThreadTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest ); -//#include <decaf/lang/SystemTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest ); -// -//#include <decaf/net/SocketFactoryTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest ); -//#include <decaf/net/SocketTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest ); -//#include <decaf/net/URITest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URITest ); -//#include <decaf/net/URISyntaxExceptionTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URISyntaxExceptionTest ); -//#include <decaf/net/URLEncoderTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLEncoderTest ); -//#include <decaf/net/URLDecoderTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLDecoderTest ); -// -//#include <decaf/util/concurrent/CountDownLatchTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest ); -//#include <decaf/util/concurrent/MutexTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest ); -//#include <decaf/util/concurrent/ThreadPoolTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest ); -// -//#include <decaf/util/DateTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest ); -//#include <decaf/util/UUIDTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::UUIDTest ); -//#include <decaf/util/ListTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::ListTest ); -//#include <decaf/util/MapTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::MapTest ); -//#include <decaf/util/QueueTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest ); -//#include <decaf/util/RandomTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest ); -//#include <decaf/util/SetTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest ); -//#include <decaf/util/StringTokenizerTest.h> -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest ); +#include <decaf/nio/BufferTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::nio::BufferTest ); + +#include <decaf/io/FilterInputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterInputStreamTest ); +#include <decaf/io/FilterOutputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterOutputStreamTest ); +#include <decaf/io/BufferedInputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest ); +#include <decaf/io/BufferedOutputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest ); +#include <decaf/io/ByteArrayInputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest ); +#include <decaf/io/ByteArrayOutputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest ); +#include <decaf/io/DataInputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest ); +#include <decaf/io/DataOutputStreamTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest ); + +#include <decaf/lang/MathTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest ); +#include <decaf/lang/ByteTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest ); +#include <decaf/lang/CharacterTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest ); +#include <decaf/lang/BooleanTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest ); +#include <decaf/lang/ShortTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest ); +#include <decaf/lang/IntegerTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest ); +#include <decaf/lang/LongTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest ); +#include <decaf/lang/FloatTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest ); +#include <decaf/lang/DoubleTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest ); +#include <decaf/lang/ExceptionTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest ); +#include <decaf/lang/ThreadTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest ); +#include <decaf/lang/SystemTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest ); + +#include <decaf/net/SocketFactoryTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest ); +#include <decaf/net/SocketTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest ); +#include <decaf/net/URITest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URITest ); +#include <decaf/net/URISyntaxExceptionTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URISyntaxExceptionTest ); +#include <decaf/net/URLEncoderTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLEncoderTest ); +#include <decaf/net/URLDecoderTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLDecoderTest ); + +#include <decaf/util/concurrent/CountDownLatchTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest ); +#include <decaf/util/concurrent/MutexTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest ); +#include <decaf/util/concurrent/ThreadPoolTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest ); + +#include <decaf/util/DateTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest ); +#include <decaf/util/UUIDTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::UUIDTest ); +#include <decaf/util/ListTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::ListTest ); +#include <decaf/util/MapTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::MapTest ); +#include <decaf/util/QueueTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest ); +#include <decaf/util/RandomTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest ); +#include <decaf/util/SetTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest ); +#include <decaf/util/StringTokenizerTest.h> +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest );
