[
https://issues.apache.org/jira/browse/QPIDIT-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16409539#comment-16409539
]
Kim van der Riet commented on QPIDIT-119:
-----------------------------------------
The following AMQP complex types should be covered:
* array
* list
* map
While there is an almost infinite number of permutations and combinations of
test data for testing these types, the following should be included for each:
* Empty type
* One test for each of the simple AMQP types (for map, including keys)
* Where possible, a combination of all the simple AMQP types in a single
structure
* One test for each of the complex types above that is included within the
complex type (eg array within list, map within array, etc.)
It is suggested that because of the recursive and complex nature of the test
data for this test, that the test data be "native" to each shim. It is only
necessary to control which of the tests run and the scope of the test data from
the main test program.
This test program will be implemented in Python 3.
> Add AMQP complex type test
> --------------------------
>
> Key: QPIDIT-119
> URL: https://issues.apache.org/jira/browse/QPIDIT-119
> Project: Apache QPID Interoperability Test Suite
> Issue Type: Task
> Affects Versions: 0.1.0
> Reporter: Kim van der Riet
> Assignee: Kim van der Riet
> Priority: Major
> Fix For: 0.2.0
>
>
> The AMQP types test cover the simple tests well, but do not do a good job of
> the complex types. This is because the ability to represent the test data for
> the complex types is itself a complex issue, as each complex type may contain
> an arbitrary number of other complex types. For example, a list may contain
> other lists or maps, and maps may contain other lists and maps as both keys
> and values.
> Solving this problem requires that a mechanism exist to create and represent
> an arbitrarily large and complex set of data for testing, and allow the sent
> and received data to be compared to determine success or failure.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]