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

Yiwen Huang updated TUSCANY-2765:
---------------------------------

    Attachment: ASM40003_4.patch

Patch containing conformance items: ASM40003 & ASM40004

Note this patch supercedes TUSCANY-2686.

> Vtest code for Java SCA assembly componentType ASM40003 & ASM4004
> -----------------------------------------------------------------
>
>                 Key: TUSCANY-2765
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2765
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-1.3
>            Reporter: Yiwen Huang
>            Priority: Minor
>         Attachments: ASM40003_4.patch
>
>
> Hi,
> I'd like to submit a vtest patch for conformance tests ASM40003 & ASM40004.
> There are positive and negative tests for both conformance items.  The 
> positive ones ran ok.  The negative ones, however, did not run as I expected 
> them to be.
> For the ASM40003_negative() test, a "No matching operation for getState2 is 
> found in service AAComponent#AService" was thrown when invoking a service 
> method.  I had expected it to fail earlier when loading the componentType 
> file that has duplicate service names, which it did not.
> For the ASM40004_negative() test, a NPE was thrown also when inovking a 
> service method.  I was expecting it to failer when loading the componentType 
> file with duplicate reference names, which it did not either.
> I'm not sure if the negative tests are working as expected, and would like 
> suggestions on that, thanks!
> Note this patch supercedes the ones in TUSCANY-2686.
> Regards,
> Yiwen

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

Reply via email to