activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r500898 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands: ActiveMQQueueTest.cpp ActiveMQTempQueueTest.cpp ActiveMQTempTopicTest.cpp ActiveMQTopicTest.cpp
Date Sun, 28 Jan 2007 21:56:51 GMT
Author: tabish
Date: Sun Jan 28 13:56:50 2007
New Revision: 500898

URL: http://svn.apache.org/viewvc?view=rev&rev=500898
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQQueueTest.cpp
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempQueueTest.cpp
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempTopicTest.cpp
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTopicTest.cpp

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQQueueTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQQueueTest.cpp?view=diff&rev=500898&r1=500897&r2=500898
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQQueueTest.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQQueueTest.cpp
Sun Jan 28 13:56:50 2007
@@ -21,6 +21,8 @@
 
 #include <activemq/util/Guid.h>
 
+#include <activemq/connector/openwire/commands/ActiveMQQueue.h>
+
 using namespace std;
 using namespace activemq;
 using namespace activemq::util;
@@ -32,4 +34,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 void ActiveMQQueueTest::test()
 {
+    ActiveMQQueue myQueue;
+    
+    CPPUNIT_ASSERT( myQueue.getDestinationType() == cms::Destination::QUEUE );
 }

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempQueueTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempQueueTest.cpp?view=diff&rev=500898&r1=500897&r2=500898
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempQueueTest.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempQueueTest.cpp
Sun Jan 28 13:56:50 2007
@@ -20,6 +20,7 @@
 CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempQueueTest
);
 
 #include <activemq/util/Guid.h>
+#include <activemq/connector/openwire/commands/ActiveMQTempQueue.h>
 
 using namespace std;
 using namespace activemq;
@@ -32,4 +33,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 void ActiveMQTempQueueTest::test()
 {
+    ActiveMQTempQueue myQueue;
+    
+    CPPUNIT_ASSERT( myQueue.getDestinationType() == cms::Destination::TEMPORARY_QUEUE );
 }

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempTopicTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempTopicTest.cpp?view=diff&rev=500898&r1=500897&r2=500898
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempTopicTest.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTempTopicTest.cpp
Sun Jan 28 13:56:50 2007
@@ -20,6 +20,7 @@
 CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTempTopicTest
);
 
 #include <activemq/util/Guid.h>
+#include <activemq/connector/openwire/commands/ActiveMQTempTopic.h>
 
 using namespace std;
 using namespace activemq;
@@ -32,4 +33,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 void ActiveMQTempTopicTest::test()
 {
+    ActiveMQTempTopic myQueue;
+    
+    CPPUNIT_ASSERT( myQueue.getDestinationType() == cms::Destination::TEMPORARY_TOPIC );
 }

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTopicTest.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTopicTest.cpp?view=diff&rev=500898&r1=500897&r2=500898
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTopicTest.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/connector/openwire/commands/ActiveMQTopicTest.cpp
Sun Jan 28 13:56:50 2007
@@ -20,6 +20,7 @@
 CPPUNIT_TEST_SUITE_REGISTRATION( activemq::connector::openwire::commands::ActiveMQTopicTest
);
 
 #include <activemq/util/Guid.h>
+#include <activemq/connector/openwire/commands/ActiveMQTopic.h>
 
 using namespace std;
 using namespace activemq;
@@ -32,4 +33,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 void ActiveMQTopicTest::test()
 {
+    ActiveMQTopic myQueue;
+    
+    CPPUNIT_ASSERT( myQueue.getDestinationType() == cms::Destination::TOPIC );
 }



Mime
View raw message