[rhmessaging-commits] rhmessaging commits: r1280 - store/trunk/cpp/tests.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Fri Nov 9 20:48:38 EST 2007


Author: kpvdr
Date: 2007-11-09 20:48:38 -0500 (Fri, 09 Nov 2007)
New Revision: 1280

Modified:
   store/trunk/cpp/tests/OrderingTest.cpp
   store/trunk/cpp/tests/SimpleTest.cpp
   store/trunk/cpp/tests/TransactionalTest.cpp
   store/trunk/cpp/tests/TwoPhaseCommitTest.cpp
Log:
Tests compiles broken as result of qpid checkin 593692; fixed by adding local enum defn for PERSISTENT.

Modified: store/trunk/cpp/tests/OrderingTest.cpp
===================================================================
--- store/trunk/cpp/tests/OrderingTest.cpp	2007-11-09 17:04:09 UTC (rev 1279)
+++ store/trunk/cpp/tests/OrderingTest.cpp	2007-11-10 01:48:38 UTC (rev 1280)
@@ -40,6 +40,8 @@
 using namespace qpid::broker;
 using namespace qpid::framing;
 
+enum DeliveryMode { TRANSIENT = 1, PERSISTENT = 2};
+
 class OrderingTest : public CppUnit::TestCase  
 {
     CPPUNIT_TEST_SUITE(OrderingTest);

Modified: store/trunk/cpp/tests/SimpleTest.cpp
===================================================================
--- store/trunk/cpp/tests/SimpleTest.cpp	2007-11-09 17:04:09 UTC (rev 1279)
+++ store/trunk/cpp/tests/SimpleTest.cpp	2007-11-10 01:48:38 UTC (rev 1280)
@@ -45,6 +45,8 @@
 using namespace qpid::broker;
 using namespace qpid::framing;
 
+enum DeliveryMode { TRANSIENT = 1, PERSISTENT = 2};
+
 struct DummyHandler : OutputHandler
 {
     std::vector<AMQFrame> frames; 
@@ -56,6 +58,7 @@
 
 class SimpleTest : public CppUnit::TestCase  
 {
+
     CPPUNIT_TEST_SUITE(SimpleTest);
     CPPUNIT_TEST(testCreateDeleteSync);
     CPPUNIT_TEST(testEmptyRecoverSync);

Modified: store/trunk/cpp/tests/TransactionalTest.cpp
===================================================================
--- store/trunk/cpp/tests/TransactionalTest.cpp	2007-11-09 17:04:09 UTC (rev 1279)
+++ store/trunk/cpp/tests/TransactionalTest.cpp	2007-11-10 01:48:38 UTC (rev 1280)
@@ -38,6 +38,8 @@
 using namespace qpid::broker;
 using namespace qpid::framing;
 
+enum DeliveryMode { TRANSIENT = 1, PERSISTENT = 2};
+
 class TransactionalTest : public CppUnit::TestCase  
 {
     CPPUNIT_TEST_SUITE(TransactionalTest);

Modified: store/trunk/cpp/tests/TwoPhaseCommitTest.cpp
===================================================================
--- store/trunk/cpp/tests/TwoPhaseCommitTest.cpp	2007-11-09 17:04:09 UTC (rev 1279)
+++ store/trunk/cpp/tests/TwoPhaseCommitTest.cpp	2007-11-10 01:48:38 UTC (rev 1280)
@@ -38,6 +38,8 @@
 using namespace qpid::broker;
 using namespace qpid::framing;
 
+enum DeliveryMode { TRANSIENT = 1, PERSISTENT = 2};
+
 class TwoPhaseCommitTest : public CppUnit::TestCase  
 {
     CPPUNIT_TEST_SUITE(TwoPhaseCommitTest);




More information about the rhmessaging-commits mailing list