From 7e04e141dfb61fd0477c06a0e77d3c7e7be05761 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 24 Oct 2008 11:33:40 +0000 Subject: Fix for bug in encoding/decoding of floats and doubles. Added test to verify double/float headers set by c++ are correctly read by python [TODO: add wider range of header types, add bidirectional tests, add tests against other languages] [Also fixed one or two SSL related files missing from distribution list] git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707604 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/run_header_test | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 qpid/cpp/src/tests/run_header_test (limited to 'qpid/cpp/src/tests/run_header_test') diff --git a/qpid/cpp/src/tests/run_header_test b/qpid/cpp/src/tests/run_header_test new file mode 100755 index 0000000000..aedd2619a6 --- /dev/null +++ b/qpid/cpp/src/tests/run_header_test @@ -0,0 +1,13 @@ +#!/bin/sh +# Simple test of encode/decode of a double in application headers +# TODO: this should be expanded to cover a wider set of types and go +# in both directions + +srcdir=`dirname $0` +PYTHON_DIR=$srcdir/../../../python +test -f qpidd.port && QPID_PORT=`cat qpidd.port` + +./header_test -p $QPID_PORT +export PYTHONPATH=$PYTHON_DIR:$PYTHONPATH +$srcdir/header_test.py "localhost" $QPID_PORT + -- cgit v1.2.1