You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (JIRA)" <ji...@apache.org> on 2016/10/14 20:08:21 UTC

[jira] [Resolved] (QPIDIT-41) Rearrange test directory structure to better organize tests and shims

     [ https://issues.apache.org/jira/browse/QPIDIT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim van der Riet resolved QPIDIT-41.
------------------------------------
    Resolution: Fixed

> Rearrange test directory structure to better organize tests and shims
> ---------------------------------------------------------------------
>
>                 Key: QPIDIT-41
>                 URL: https://issues.apache.org/jira/browse/QPIDIT-41
>             Project: Apache QPID IT
>          Issue Type: Improvement
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>
> 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>.
> {noformat}
> 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>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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