NOJIRA: Minor tidy-up in amqp_types_test; reorganization of Eclipse projects, hence adding their artifacts to .gitignore
diff --git a/.gitignore b/.gitignore
index 3367604..7bd2757 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,8 @@
/target/
/build/
/docs/users-guide.html
-
+.project
+.cproject
+.pydevproject
+.classpath
+.settings
diff --git a/.project b/.project
deleted file mode 100644
index c5fd3bb..0000000
--- a/.project
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>qpid-interop-test</name>
- <comment></comment>
- <projects>
- <project>qpid-proton-c</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.python.pydev.PyDevBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.python.pydev.pythonNature</nature>
- </natures>
-</projectDescription>
diff --git a/.pydevproject b/.pydevproject
deleted file mode 100644
index a279738..0000000
--- a/.pydevproject
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?eclipse-pydev version="1.0"?><pydev_project>
-
-<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
-<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
-
-</pydev_project>
diff --git a/shims/qpid-jms/src/.gitignore b/shims/qpid-jms/src/.gitignore
new file mode 100644
index 0000000..ae3c172
--- /dev/null
+++ b/shims/qpid-jms/src/.gitignore
@@ -0,0 +1 @@
+/bin/
diff --git a/shims/qpid-proton-python/src/amqp_types_test/Sender.py b/shims/qpid-proton-python/src/amqp_types_test/Sender.py
index 0ad200a..034cfc5 100755
--- a/shims/qpid-proton-python/src/amqp_types_test/Sender.py
+++ b/shims/qpid-proton-python/src/amqp_types_test/Sender.py
@@ -115,8 +115,7 @@
if amqp_type == 'char':
if len(test_value) == 1: # Format 'a'
return proton.char(test_value)
- val = int(test_value, 16)
- return proton.char(_compat.unichr(val))
+ return proton.char(_compat.unichr(int(test_value, 16)))
if amqp_type == 'timestamp':
return proton.timestamp(int(test_value, 16))
if amqp_type == 'uuid':
diff --git a/src/python/qpid_interop_test/amqp_types_test.py b/src/python/qpid_interop_test/amqp_types_test.py
index 23a1880..02bf49a 100755
--- a/src/python/qpid_interop_test/amqp_types_test.py
+++ b/src/python/qpid_interop_test/amqp_types_test.py
@@ -138,12 +138,16 @@
'decimal128': ['0x00000000000000000000000000000000',
'0xff0102030405060708090a0b0c0d0e0f'],
'char': [u' ', # single ASCII chars
- u'0',
u'A',
u'z',
- u'~',
- u'0x1', # Hex representation
+ u'0',
+ u'9',
+ u'}',
+ u'0x00', # Hex representation
+ u'0x01',
u'0x7f',
+ u'0x80',
+ u'0xff',
u'0x16b5', # Rune 'G'
u'0x10203',
u'0x10ffff',