diff options
Diffstat (limited to 'cpp/src/tests')
-rw-r--r-- | cpp/src/tests/allSegmentTypes.h | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/cpp/src/tests/allSegmentTypes.h b/cpp/src/tests/allSegmentTypes.h deleted file mode 100644 index e942250c89..0000000000 --- a/cpp/src/tests/allSegmentTypes.h +++ /dev/null @@ -1,128 +0,0 @@ -#ifndef TESTS_ALLSEGMENTTYPES_H -#define TESTS_ALLSEGMENTTYPES_H -/* - * - * 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. - * - */ - -/// -/// This file was automatically generated from the AMQP specification. -/// Do not edit. -/// - - -#include "qpid/amqp_0_10/specification.h" -#include "qpid/amqp_0_10/Header.h" -#include "qpid/amqp_0_10/Body.h" - -using namespace qpid::amqp_0_10; - -template <class Op> size_t allSegmentTypes(Op& op) { - op(Header()); - op(Body()); - op(ControlHolder(connection::Start())); - op(ControlHolder(connection::StartOk())); - op(ControlHolder(connection::Secure())); - op(ControlHolder(connection::SecureOk())); - op(ControlHolder(connection::Tune())); - op(ControlHolder(connection::TuneOk())); - op(ControlHolder(connection::Open())); - op(ControlHolder(connection::OpenOk())); - // op(ControlHolder(connection::Redirect())); // known-hosts array - op(ControlHolder(connection::Heartbeat())); - // op(ControlHolder(connection::Close())); // class/method dropped - op(ControlHolder(connection::CloseOk())); - op(ControlHolder(session::Attach())); - op(ControlHolder(session::Attached())); - op(ControlHolder(session::Detach())); - op(ControlHolder(session::Detached())); - op(ControlHolder(session::RequestTimeout())); - op(ControlHolder(session::Timeout())); - op(ControlHolder(session::CommandPoint())); - // op(ControlHolder(session::Expected())); // fragments array encoding problem - // op(ControlHolder(session::Confirmed())); // fragments array encoding problem - op(ControlHolder(session::Completed())); - op(ControlHolder(session::KnownCompleted())); - op(ControlHolder(session::Flush())); - op(ControlHolder(session::Gap())); - // FIXME aconway 2008-04-15: command encoding, fix headers, fix sized structs. - op(CommandHolder(execution::Sync())); - op(CommandHolder(execution::Result())); - - // FIXME aconway 2008-04-16: investigate remaining failures. - // op(CommandHolder(execution::Exception())); - op(CommandHolder(message::Transfer())); - op(CommandHolder(message::Accept())); - // op(CommandHolder(message::Reject())); - op(CommandHolder(message::Release())); - op(CommandHolder(message::Acquire())); - // op(CommandHolder(message::Resume())); - op(CommandHolder(message::Subscribe())); - op(CommandHolder(message::Cancel())); - op(CommandHolder(message::SetFlowMode())); - op(CommandHolder(message::Flow())); - op(CommandHolder(message::Flush())); - op(CommandHolder(message::Stop())); - op(CommandHolder(tx::Select())); - op(CommandHolder(tx::Commit())); - op(CommandHolder(tx::Rollback())); - op(CommandHolder(dtx::Select())); - // op(CommandHolder(dtx::Start())); - // op(CommandHolder(dtx::End())); - // op(CommandHolder(dtx::Commit())); - // op(CommandHolder(dtx::Forget())); - // op(CommandHolder(dtx::GetTimeout())); - // op(CommandHolder(dtx::Prepare())); - // op(CommandHolder(dtx::Recover())); - // op(CommandHolder(dtx::Rollback())); - // op(CommandHolder(dtx::SetTimeout())); - op(CommandHolder(exchange::Declare())); - op(CommandHolder(exchange::Delete())); - op(CommandHolder(exchange::Query())); - op(CommandHolder(exchange::Bind())); - op(CommandHolder(exchange::Unbind())); - op(CommandHolder(exchange::Bound())); - op(CommandHolder(queue::Declare())); - op(CommandHolder(queue::Delete())); - op(CommandHolder(queue::Purge())); - op(CommandHolder(queue::Query())); - // op(CommandHolder(file::Qos())); - // op(CommandHolder(file::QosOk())); -// op(CommandHolder(file::Consume())); -// op(CommandHolder(file::ConsumeOk())); -// op(CommandHolder(file::Cancel())); -// op(CommandHolder(file::Open())); -// op(CommandHolder(file::OpenOk())); -// op(CommandHolder(file::Stage())); -// op(CommandHolder(file::Publish())); -// op(CommandHolder(file::Return())); -// op(CommandHolder(file::Deliver())); -// op(CommandHolder(file::Ack())); -// op(CommandHolder(file::Reject())); -// op(CommandHolder(stream::Qos())); -// op(CommandHolder(stream::QosOk())); -// op(CommandHolder(stream::Consume())); -// op(CommandHolder(stream::ConsumeOk())); -// op(CommandHolder(stream::Cancel())); -// op(CommandHolder(stream::Publish())); -// op(CommandHolder(stream::Return())); -// op(CommandHolder(stream::Deliver())); - return 0; -} -#endif /*!TESTS_ALLSEGMENTTYPES_H*/ |