summaryrefslogtreecommitdiff
path: root/cpp/tests/TestUtils.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/TestUtils.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/TestUtils.h')
-rw-r--r--cpp/tests/TestUtils.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/cpp/tests/TestUtils.h b/cpp/tests/TestUtils.h
new file mode 100644
index 0000000000..1178a4e06f
--- /dev/null
+++ b/cpp/tests/TestUtils.h
@@ -0,0 +1,32 @@
+#ifndef _TestUtils_
+#define _TestUtils_
+/*
+ *
+ * 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 <ClientMessage.h>
+
+namespace qpid {
+
+void createTestMessageOfSize(qpid::client::Message& message, int size);
+
+}
+
+#endif