You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2018/04/26 14:40:56 UTC

qpid-interop-test git commit: NOJIRA: Minor tidy-up in amqp_types_test; reorganization of Eclipse projects, hence adding their artifacts to .gitignore

Repository: qpid-interop-test
Updated Branches:
  refs/heads/master 49cb0d602 -> d7f76fb1c


NOJIRA: Minor tidy-up in amqp_types_test; reorganization of Eclipse projects, hence adding their artifacts to .gitignore


Project: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/commit/d7f76fb1
Tree: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/tree/d7f76fb1
Diff: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/diff/d7f76fb1

Branch: refs/heads/master
Commit: d7f76fb1cd7ed9962b26db19f1b2e31bb368ea3d
Parents: 49cb0d6
Author: Kim van der Riet <kv...@localhost.localdomain>
Authored: Thu Apr 26 10:40:40 2018 -0400
Committer: Kim van der Riet <kv...@localhost.localdomain>
Committed: Thu Apr 26 10:40:40 2018 -0400

----------------------------------------------------------------------
 .gitignore                                        |  6 +++++-
 .project                                          | 18 ------------------
 .pydevproject                                     |  7 -------
 shims/qpid-jms/src/.gitignore                     |  1 +
 .../src/amqp_types_test/Sender.py                 |  3 +--
 src/python/qpid_interop_test/amqp_types_test.py   | 10 +++++++---
 6 files changed, 14 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/d7f76fb1/.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

http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/d7f76fb1/.project
----------------------------------------------------------------------
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>

http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/d7f76fb1/.pydevproject
----------------------------------------------------------------------
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>

http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/d7f76fb1/shims/qpid-jms/src/.gitignore
----------------------------------------------------------------------
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/

http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/d7f76fb1/shims/qpid-proton-python/src/amqp_types_test/Sender.py
----------------------------------------------------------------------
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 @@ class AmqpTypesTestSender(proton.handlers.MessagingHandler):
         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':

http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/d7f76fb1/src/python/qpid_interop_test/amqp_types_test.py
----------------------------------------------------------------------
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 @@ class AmqpPrimitiveTypes(qpid_interop_test.qit_common.QitTestTypeMap):
         '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',


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org