You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2009/10/06 12:37:31 UTC

[jira] Resolved: (TUSCANY-3219) SCA 2.x otest ASM_5016_TestCase failed to pass

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

Simon Laws resolved TUSCANY-3219.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-2.0

Reolved at revision: 822207 by switching the interface compatibility test to treat the top level contract as a superset of the bottom level contract

> SCA 2.x  otest  ASM_5016_TestCase failed to pass
> ------------------------------------------------
>
>                 Key: TUSCANY-3219
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3219
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - TUSCANY
>    Affects Versions: Java-SCA-2.0
>            Reporter: Ku Jun Guo
>            Assignee: Simon Laws
>             Fix For: Java-SCA-2.0
>
>
> As ASM50011 said, If an interface is declared for a component reference, the
> interface MUST provide a compatible superset of the interface
> declared for the equivalent reference in the componentType of
> the implementation, i.e. provide the same operations or a
> superset of the operations defined by the implementation for the
> reference.
> But in the test case, it failed with :
> Caused by: org.oasisopen.sca.ServiceRuntimeException: [] - Component reference interface incompatible with implementation reference interface: Component = TestComponent1 Reference = Reference1Exception received during startup - detail: org.oasisopen.sca.ServiceRuntimeException: [] - Component reference interface incompatible with implementation reference interface: Component = TestComponent1 Reference = Reference1
> Is the testcase correct, or a valid bug for 2.x codebase?

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