Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 94355 invoked from network); 13 Aug 2008 23:44:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2008 23:44:22 -0000 Received: (qmail 34157 invoked by uid 500); 13 Aug 2008 23:44:21 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 34097 invoked by uid 500); 13 Aug 2008 23:44:21 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 34078 invoked by uid 99); 13 Aug 2008 23:44:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 16:44:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 23:43:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AB0622388AC6; Wed, 13 Aug 2008 16:43:13 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r685729 [17/17] - in /activemq/activemq-cpp/trunk/src: main/ main/activemq/connector/openwire/ main/activemq/connector/openwire/commands/ main/activemq/connector/openwire/marshal/v3/ main/java/org/apache/activemq/openwire/tool/ test/ test/a... Date: Wed, 13 Aug 2008 23:43:02 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080813234313.AB0622388AC6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 + +#include +#include + +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::v3::WireFormatInfoMarshallerTest ); + +#include +#include +#include +#include +#include +#include +#include +#include +#include +// +// 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( 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 +#include + +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 + +#include +#include + +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::v3::XATransactionIdMarshallerTest ); + +#include +#include +#include +#include +#include +#include +#include +#include +#include +// +// 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( 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 +#include + +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 -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::UnsubscribeCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::TextMessageCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::SubscribeCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ReceiptCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::MessageCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ErrorCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::DisconnectCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectedCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommitCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommandConstantsTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BytesMessageCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BeginCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AckCommandTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AbortCommandTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::marshal::MarshalerTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompSessionManagerTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompFrameTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompDestinationTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompConnectorTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandWriterTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandReaderTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerInfoTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerIdTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTopicTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTextMessageTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempTopicTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempQueueTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQQueueTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMessageTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMapMessageTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQDestinationTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQBytesMessageTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::BaseDataStreamMarshallerTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::PrimitiveMapMarshallerTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::BooleanStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::HexTableTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::OpenwireStringSupportTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::OpenWireFormatTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapRegistrarTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsAccessorTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsDestinationAccessorTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsTemplateTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::DynamicDestinationResolverTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::SessionPoolTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionFactoryTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQSessionTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::filters::ResponseCorrelatorTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::IOTransportTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapRegistrarTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::exceptions::ActiveMQExceptionTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::LongSequenceGeneratorTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueNodeTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveListTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveMapTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::URISupportTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::util::ByteArrayAdapterTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayPerspectiveTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayBufferTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::BufferFactoryTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::CharArrayBufferTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::DoubleArrayBufferTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::FloatArrayBufferTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::LongArrayBufferTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::IntArrayBufferTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ShortArrayBufferTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::UnsubscribeCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::TextMessageCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::SubscribeCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ReceiptCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::MessageCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ErrorCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::DisconnectCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectedCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::ConnectCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommitCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::CommandConstantsTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BytesMessageCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::BeginCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AckCommandTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::commands::AbortCommandTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::marshal::MarshalerTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompSessionManagerTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompFrameTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompDestinationTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompConnectorTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandWriterTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::stomp::StompCommandReaderTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerInfoTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::BrokerIdTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTopicTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTextMessageTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempTopicTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempQueueTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQQueueTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMessageTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMapMessageTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQDestinationTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQBytesMessageTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::BaseDataStreamMarshallerTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::PrimitiveMapMarshallerTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::BooleanStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::HexTableTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::utils::OpenwireStringSupportTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::OpenWireFormatTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapRegistrarTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::ConnectorFactoryMapTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsAccessorTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsDestinationAccessorTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::CmsTemplateTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::DynamicDestinationResolverTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::cmsutil::SessionPoolTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionFactoryTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQConnectionTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::core::ActiveMQSessionTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::filters::ResponseCorrelatorTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::IOTransportTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapRegistrarTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::transport::TransportFactoryMapTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::exceptions::ActiveMQExceptionTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::LongSequenceGeneratorTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveValueNodeTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveListTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::PrimitiveMapTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::util::URISupportTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::util::ByteArrayAdapterTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayPerspectiveTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ByteArrayBufferTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::BufferFactoryTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::CharArrayBufferTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::DoubleArrayBufferTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::FloatArrayBufferTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::LongArrayBufferTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::IntArrayBufferTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::nio::ShortArrayBufferTest ); #include CPPUNIT_TEST_SUITE_REGISTRATION( decaf::internal::net::URIEncoderDecoderTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::nio::BufferTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterInputStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterOutputStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URITest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URISyntaxExceptionTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLEncoderTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLDecoderTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest ); -// -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::UUIDTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::ListTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::MapTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest ); -//#include -//CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::nio::BufferTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterInputStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::FilterOutputStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedInputStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::BufferedOutputStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayInputStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::ByteArrayOutputStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataInputStreamTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::io::DataOutputStreamTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::MathTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ByteTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::CharacterTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::BooleanTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ShortTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::IntegerTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::LongTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::FloatTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::DoubleTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ExceptionTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::ThreadTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::lang::SystemTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketFactoryTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::SocketTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URITest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URISyntaxExceptionTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLEncoderTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::net::URLDecoderTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::CountDownLatchTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::MutexTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::concurrent::ThreadPoolTest ); + +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::DateTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::UUIDTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::ListTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::MapTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::QueueTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::RandomTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::SetTest ); +#include +CPPUNIT_TEST_SUITE_REGISTRATION( decaf::util::StringTokenizerTest );