Uploaded image for project: 'Apache QPID Interoperability Test Suite'
  1. Apache QPID Interoperability Test Suite
  2. QPIDIT-41

Rearrange test directory structure to better organize tests and shims

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None

      Description

      The current directory structure for qpid-interop-test needs some improvements to make it more consistent and easier to manage shims and tests:

      • All tests should reside in the same directory (src/python/qpid-interop-test), and the test name is the key to the shims directory structure for finding the Sender and Receiver shims.
      • JMS shims should be located in a directory named identically to the name of the test for which it is written, and located in shims/qpid-jms/src/main/java/org/apace/qpid/qpid_interop_test. There are only two shims, called Sender.java and Receiver.java. The Java package is consequently "org.apache.qpid.interop_test.<test-name>.
      • Python shims should be located in a directory named identically to the name of the test for which it is written, and located in shims/qpid-proton-python/src. There are only two shims, called Sender.py and Receiver.py.
      • C++ shims should be located in a directory named identically to the name of the test for which it is written, and located in shims/qpid-proton-cpp/src/qpidit. There are only two shims, called Sender. {hpp,cpp} and Receiver.{hpp,cpp}

        . The shim namespace is conseqnently qpidit.<test-name>.

      qpid-interop-test
        +-shims
        |   +-qpid-jms
        |   |   +-src
        |   |       +-main
        |   |           +-java
        |   |               +-org
        |   |                   +-apache
        |   |                       +-qpid
        |   |                           +-qpid-interop-test
        |   |                               +-<test-1>
        |   |                               |   +-Receiver.java
        |   |                               |   +-Sender.java
        |   |                               +-<test-2>
        |   |                                   +-Receiver.java
        |   |                                   +-Sender.java
        |   +-qpid-proton-cpp
        |   |   +-src
        |   |       +-qpidit
        |   |           +-<test-1>
        |   |           |   +- Receiver.cpp
        |   |           |   +- Receiver.hpp
        |   |           |   +- Sender.cpp
        |   |           |   +- Sender.hpp
        |   |           +-<test-2>
        |   |               +- Receiver.cpp
        |   |               +- Receiver.hpp
        |   |               +- Sender.cpp
        |   |               +- Sender.hpp
        |   +-qpid-proton-python
        |       +-src
        |           +-<test-1>
        |           |   +-Sender.py
        |           |   +-Receiver.py
        |           +-<test-2>
        |               +-Sender.py
        |               +-Receiver.py
        +-src
            +-python
                +-qpid-interop-test
                    +-<test-1.py>
                    +-<test-2.py>
      

        Attachments

          Activity

            People

            • Assignee:
              kpvdr Kim van der Riet
              Reporter:
              kpvdr Kim van der Riet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: