From cadb67eb27e00abb493793363dcf37f4d2f563dc Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 3 Sep 2007 09:15:35 +0000 Subject: Fix for QPID-561 Renabled MessageBuilderTest git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@572264 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/DtxHandlerImpl.cpp | 10 +--------- cpp/src/tests/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 11 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/broker/DtxHandlerImpl.cpp b/cpp/src/qpid/broker/DtxHandlerImpl.cpp index e07fdf80bf..15ece77c6f 100644 --- a/cpp/src/qpid/broker/DtxHandlerImpl.cpp +++ b/cpp/src/qpid/broker/DtxHandlerImpl.cpp @@ -20,20 +20,12 @@ #include #include "Broker.h" #include "Session.h" +#include "qpid/framing/constants.h" using namespace qpid::broker; using namespace qpid::framing; using std::string; -const int XA_RBROLLBACK(1); -const int XA_RBTIMEOUT(2); -const int XA_HEURHAZ(3); -const int XA_HEURCOM(4); -const int XA_HEURRB(5); -const int XA_HEURMIX(6); -const int XA_RDONLY(7); -const int XA_OK(8); - DtxHandlerImpl::DtxHandlerImpl(CoreRefs& parent) : CoreRefs(parent) {} // DtxDemarcationHandler: diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am index 9d3d86b091..874a9a448a 100644 --- a/cpp/src/tests/Makefile.am +++ b/cpp/src/tests/Makefile.am @@ -93,8 +93,8 @@ broker_unit_tests = \ TxBufferTest \ TxPublishTest \ ValueTest \ - MessageHandlerTest -# MessageBuilderTest + MessageHandlerTest \ + MessageBuilderTest #client_unit_tests = \ ClientChannelTest -- cgit v1.2.1