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/01/16 16:26:29 UTC

qpid-interop-test git commit: QPIDIT-65: Added the last test section (section D) that depends on the message properties to work

Repository: qpid-interop-test
Updated Branches:
  refs/heads/master ff1d6c274 -> 1276fe197


QPIDIT-65: Added the last test section (section D) that depends on the message properties to work


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/1276fe19
Tree: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/tree/1276fe19
Diff: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/diff/1276fe19

Branch: refs/heads/master
Commit: 1276fe1975f8fda5a3cde0320488ef3e1bafdbe0
Parents: ff1d6c2
Author: Kim van der Riet <kv...@localhost.localdomain>
Authored: Tue Jan 16 11:26:16 2018 -0500
Committer: Kim van der Riet <kv...@localhost.localdomain>
Committed: Tue Jan 16 11:26:16 2018 -0500

----------------------------------------------------------------------
 src/python/qpid_interop_test/jms_hdrs_props_test.py | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/1276fe19/src/python/qpid_interop_test/jms_hdrs_props_test.py
----------------------------------------------------------------------
diff --git a/src/python/qpid_interop_test/jms_hdrs_props_test.py b/src/python/qpid_interop_test/jms_hdrs_props_test.py
index 6b3aded..61a2ed2 100755
--- a/src/python/qpid_interop_test/jms_hdrs_props_test.py
+++ b/src/python/qpid_interop_test/jms_hdrs_props_test.py
@@ -370,16 +370,13 @@ def create_testcases():
     test_case_class_b = create_part_b_testcase_class()
     TEST_SUITE.addTest(unittest.makeSuite(test_case_class_b))
 
-    # TODO: Add part C and D (properties) when C++ client can handle them
-
     # Part C: Single message property on each message
     test_case_class_c = create_part_c_testcase_class()
     TEST_SUITE.addTest(unittest.makeSuite(test_case_class_c))
 
     # Part D: All headers and all properties on one of each type of JMS message
-    #for jms_message_type in sorted(TYPES.TYPE_MAP.keys()):
-    #    test_case_class_d = create_part_d_testcase_class(jms_message_type)
-    #    TEST_SUITE.addTest(unittest.makeSuite(test_case_class_d))
+    test_case_class_d = create_part_d_testcase_class()
+    TEST_SUITE.addTest(unittest.makeSuite(test_case_class_d))
 
 
 def create_part_a_testcase_class():
@@ -568,7 +565,7 @@ def create_part_c_testcase_class():
     return new_class
 
 
-def create_part_d_testcase_class(jms_message_type):
+def create_part_d_testcase_class():
     """
     Class factory function which creates new subclasses to JmsMessageTypeTestCase. Creates a test case class for
     all message headers and properties on each type of JMS message
@@ -587,7 +584,7 @@ def create_part_d_testcase_class(jms_message_type):
             self.run_test(self.sender_addr,
                           self.receiver_addr,
                           queue_name_fragment,
-                          jms_message_type,
+                          self.jms_message_type,
                           self.test_values,
                           hdrs[1],
                           props[1],


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