You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2011/08/22 12:47:29 UTC
[jira] [Closed] (TUSCANY-2765) Vtest code for Java SCA assembly
componentType ASM40003 & ASM4004
[ https://issues.apache.org/jira/browse/TUSCANY-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ant elder closed TUSCANY-2765.
------------------------------
Resolution: Fixed
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira