Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 99077 invoked from network); 5 Feb 2007 15:47:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2007 15:47:02 -0000 Received: (qmail 84095 invoked by uid 500); 5 Feb 2007 15:47:09 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 84069 invoked by uid 500); 5 Feb 2007 15:47:09 -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 84059 invoked by uid 99); 5 Feb 2007 15:47:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 07:47:08 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 07:47:01 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 77DC01A981A; Mon, 5 Feb 2007 07:46:41 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r503729 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/test: Makefile.am activemq/connector/openwire/commands/ActiveMQMessageTest.cpp activemq/connector/openwire/commands/ActiveMQMessageTest.h Date: Mon, 05 Feb 2007 15:46:41 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070205154641.77DC01A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Mon Feb 5 07:46:40 2007 New Revision: 503729 URL: http://svn.apache.org/viewvc?view=rev&rev=503729 Log: http://issues.apache.org/activemq/browse/AMQCPP-30 Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.cpp (with props) activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.h (with props) Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am?view=diff&rev=503729&r1=503728&r2=503729 ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am (original) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am Mon Feb 5 07:46:40 2007 @@ -52,6 +52,7 @@ activemq/connector/openwire/utils/OpenwireStringSupportTest.cpp \ activemq/connector/openwire/commands/ActiveMQBytesMessageTest.cpp \ activemq/connector/openwire/commands/ActiveMQMapMessageTest.cpp \ + activemq/connector/openwire/commands/ActiveMQMessageTest.cpp \ activemq/connector/openwire/commands/ActiveMQDestinationTest2.cpp \ activemq/connector/openwire/commands/ActiveMQTopicTest.cpp \ activemq/connector/openwire/commands/ActiveMQQueueTest.cpp \ Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.cpp?view=auto&rev=503729 ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.cpp (added) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.cpp Mon Feb 5 07:46:40 2007 @@ -0,0 +1,38 @@ +/* + * 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 "ActiveMQMessageTest.h" + +CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQMessageTest ); + +#include + +using namespace std; +using namespace activemq; +using namespace activemq::util; +using namespace activemq::connector; +using namespace activemq::connector::openwire; +using namespace activemq::connector::openwire::marshal; +using namespace activemq::connector::openwire::commands; + +//////////////////////////////////////////////////////////////////////////////// +void ActiveMQMessageTest::test() +{ + ActiveMQMessage myMessage; + + CPPUNIT_ASSERT( myMessage.getDataStructureType() == ActiveMQMessage::ID_ACTIVEMQMESSAGE ); +} Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.cpp ------------------------------------------------------------------------------ svn:eol-style = native Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.h?view=auto&rev=503729 ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.h (added) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.h Mon Feb 5 07:46:40 2007 @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_ACTIVEMQMESSAGETEST_H_ +#define _ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_ACTIVEMQMESSAGETEST_H_ + +#include +#include + +namespace activemq{ +namespace connector{ +namespace openwire{ +namespace commands{ + + class ActiveMQMessageTest : public CppUnit::TestFixture { + + CPPUNIT_TEST_SUITE( ActiveMQMessageTest ); + CPPUNIT_TEST( test ); + CPPUNIT_TEST_SUITE_END(); + + public: + + ActiveMQMessageTest() {} + virtual ~ActiveMQMessageTest() {} + + virtual void test(); + + }; + +}}}} + +#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_COMMANDS_ACTIVEMQMESSAGETEST_H_*/ Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQMessageTest.h ------------------------------------------------------------------------------ svn:eol-style = native