You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/02/02 01:51:36 UTC
svn commit: r502419 - in
/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2:
./ BaseCommandMarshallerTest.cpp BaseCommandMarshallerTest.h
BrokerIdMarshallerTest.cpp BrokerIdMarshallerTest.h
Author: tabish
Date: Thu Feb 1 16:51:35 2007
New Revision: 502419
URL: http://svn.apache.org/viewvc?view=rev&rev=502419
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30
Added:
activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/
activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.h (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.cpp (with props)
activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.h (with props)
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.cpp?view=auto&rev=502419
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.cpp Thu Feb 1 16:51:35 2007
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "BaseCommandMarshallerTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::v2::BaseCommandMarshallerTest );
+
+#include <activemq/util/PrimitiveMap.h>
+#include <activemq/connector/openwire/marshal/v2/BaseCommandMarshaller.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::util;
+using namespace activemq::io;
+using namespace activemq::exceptions;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::marshal;
+using namespace activemq::connector::openwire::marshal::v2;
+
+////////////////////////////////////////////////////////////////////////////////
+void BaseCommandMarshallerTest::test()
+{
+ BaseCommandMarshaller myMarshaller;
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.h?view=auto&rev=502419
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.h (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.h Thu Feb 1 16:51:35 2007
@@ -0,0 +1,47 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef _ACTIVEMQ_CONNECTOR_OPENWIRE_MARSHAL_V2_BASECOMMANDMARSHALLERTEST_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_MARSHAL_V2_BASECOMMANDMARSHALLERTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace marshal{
+namespace v2{
+
+ class BaseCommandMarshallerTest : public CppUnit::TestFixture {
+
+ CPPUNIT_TEST_SUITE( BaseCommandMarshallerTest );
+ CPPUNIT_TEST( test );
+ CPPUNIT_TEST_SUITE_END();
+
+ public:
+
+ BaseCommandMarshallerTest() {}
+ virtual ~BaseCommandMarshallerTest() {}
+
+ virtual void test();
+
+ };
+
+}}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_MARSHAL_V2_BASECOMMANDMARSHALLERTEST_H_*/
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BaseCommandMarshallerTest.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.cpp?view=auto&rev=502419
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.cpp Thu Feb 1 16:51:35 2007
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "BrokerIdMarshallerTest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::marshal::v2::BrokerIdMarshallerTest );
+
+#include <activemq/util/PrimitiveMap.h>
+#include <activemq/connector/openwire/marshal/v2/BrokerIdMarshaller.h>
+
+using namespace std;
+using namespace activemq;
+using namespace activemq::util;
+using namespace activemq::io;
+using namespace activemq::exceptions;
+using namespace activemq::connector;
+using namespace activemq::connector::openwire;
+using namespace activemq::connector::openwire::marshal;
+using namespace activemq::connector::openwire::marshal::v2;
+
+////////////////////////////////////////////////////////////////////////////////
+void BrokerIdMarshallerTest::test()
+{
+ BrokerIdMarshaller myMarshaller;
+ unsigned char type = myMarshaller.getDataStructureType();
+}
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Added: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.h?view=auto&rev=502419
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.h (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.h Thu Feb 1 16:51:35 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_MARSHAL_V2_BROKERIDMARSHALLERTEST_H_
+#define _ACTIVEMQ_CONNECTOR_OPENWIRE_MARSHAL_V2_BROKERIDMARSHALLERTEST_H_
+
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
+namespace activemq{
+namespace connector{
+namespace openwire{
+namespace marshal{
+namespace v2{
+
+ class BrokerIdMarshallerTest : public CppUnit::TestFixture {
+
+ CPPUNIT_TEST_SUITE( BrokerIdMarshallerTest );
+ CPPUNIT_TEST( test );
+ CPPUNIT_TEST_SUITE_END();
+
+ public:
+
+ BrokerIdMarshallerTest() {}
+ virtual ~BrokerIdMarshallerTest() {}
+
+ virtual void test();
+ };
+
+}}}}}
+
+#endif /*_ACTIVEMQ_CONNECTOR_OPENWIRE_MARSHAL_V2_BROKERIDMARSHALLERTEST_H_*/
Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/marshal/v2/BrokerIdMarshallerTest.h
------------------------------------------------------------------------------
svn:eol-style = native