qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim van der Riet (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (QPIDIT-41) Rearrange test directory structure to better organize tests and shims
Date Fri, 26 Jan 2018 17:13:00 GMT

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

Kim van der Riet closed QPIDIT-41.
----------------------------------

> 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 Interoperability Test Suite
>          Issue Type: Improvement
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>            Priority: Major
>             Fix For: 0.1.0
>
>
> 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
(v7.6.3#76005)

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


Mime
View raw message