summaryrefslogtreecommitdiff
path: root/cpp/tests/PubSubMessageSizeTest.h
diff options
context:
space:
mode:
authorRupert Smith <rupertlssmith@apache.org>2007-09-27 14:50:42 +0000
committerRupert Smith <rupertlssmith@apache.org>2007-09-27 14:50:42 +0000
commit6fe0512c6af4dfeb9d72dd668a7dbd2a93b70e9c (patch)
treef60b257b5c852cd4301bd3fadb13e5a09b9b4621 /cpp/tests/PubSubMessageSizeTest.h
parent972614c8446ec8ec2a4f6c55fee4d5cc4b46e84b (diff)
downloadqpid-python-6fe0512c6af4dfeb9d72dd668a7dbd2a93b70e9c.tar.gz
Added test cases 4 and 5, for message size tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@580040 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/PubSubMessageSizeTest.h')
-rw-r--r--cpp/tests/PubSubMessageSizeTest.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/cpp/tests/PubSubMessageSizeTest.h b/cpp/tests/PubSubMessageSizeTest.h
new file mode 100644
index 0000000000..c17f81fc1e
--- /dev/null
+++ b/cpp/tests/PubSubMessageSizeTest.h
@@ -0,0 +1,51 @@
+#ifndef _PubSubMessageSizeTest_
+#define _PubSubMessageSizeTest_
+/*
+ *
+ * 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 <memory>
+#include <sstream>
+
+#include <ClientChannel.h>
+#include <ClientMessage.h>
+#include <Connection.h>
+#include <Exception.h>
+#include <MessageListener.h>
+#include "SimpleTestCaseBase.h"
+#include <boost/ptr_container/ptr_vector.hpp>
+#include <boost/format.hpp>
+
+
+namespace qpid {
+
+using namespace qpid::client;
+
+class PubSubMessageSizeTest : public SimpleTestCaseBase
+{
+ class Receiver;
+ class MultiReceiver;
+public:
+ void assign(const std::string& role, framing::FieldTable& params, TestOptions& options);
+};
+
+}
+
+#endif