You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrea Gazzarini (JIRA)" <qp...@incubator.apache.org> on 2009/01/23 22:19:59 UTC

[jira] Resolved: (QPID-1579) Unit Test Suite for WS-DM Adapter

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

Andrea Gazzarini resolved QPID-1579.
------------------------------------

    Resolution: Fixed

Feature added.
- Unit test are running against a new sub-module called QEmu. It is basically a simple emulator that creates (at the moment) one domain object with complex methods & properties

WS-DM interface has been tested wih the following datatypes :

- UUID (qman:uuid) 
- UUID []
- String (xsd:string)
- String []
- boolean (xsd:boolean);
- boolean []
- Map<String, Object> (qman:map);
- Map []
- long (xsd:long);
- long [];
- int (xsd:integer);
- int []
- short (xsd:short);
- short []
- date (xsd:dateTime);
- date []
- byte [] (xsd:base64)

...and the following methods  

(Note that all methods returns a complex object (Result) which contains
- a status code;
- a status text;
- a Map<String, Object> (qman:map on WSDL) containing all output parameters.)

- method that accepts no parameters and returns a Result without output params;
- "echo" method that accepts all datatypes mentioned before and returns a Result with the same parameters;
- "echo" method that accepts all arrays mentioned before and returns a Result with the same arrays;
- "echo" method that accepts all arrays mentioned before (but with Objects instead of primitive types) and returns a Result with the same arrays;
- "echo" method that accepts a Map and returns a Result with the same Map;
- "echo" method that accepts a UUID and return a Result with the same UUID;

So, at the end, a lot of combination have been tested.

Other minor improvements have been made...but I'll write all details in the documentation...

Now, we are going to close the first iteration :) so plan is to have a complete set of examples in at maximum 4 days in order to demonstrate WS-DM interface capabilities....

Regards & good night,
Andrea

> Unit Test Suite for WS-DM Adapter
> ---------------------------------
>
>                 Key: QPID-1579
>                 URL: https://issues.apache.org/jira/browse/QPID-1579
>             Project: Qpid
>          Issue Type: Sub-task
>          Components: Java Management : QMan
>    Affects Versions: M5
>         Environment: J2SE 1.5 or higher
>            Reporter: Andrea Gazzarini
>            Assignee: Andrea Gazzarini
>             Fix For: M5
>
>   Original Estimate: 72h
>          Time Spent: 72h
>  Remaining Estimate: 0h
>
> That artifact will be part of management-client-test-M5.jar library and it will contain off-line test cases for WS-DM layer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org