[
https://issues.apache.org/jira/browse/TUSCANY-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466401
]
Jim Marino commented on TUSCANY-914:
------------------------------------
I don't think the algorithm is quite right - component names must be unique
from service and reference names.
On the unit tests, they should not need to reference any SCDL or external
resources or need to instantiate other kernel classes. Instead, they should use
EasyMock to pass in a mock XmlStreamReader to the loader which will replay
parsing the SCDL. Take a look at some of the other loader unit tests for
exampes.
> duplicated component name in include overwrite the using one.
> -------------------------------------------------------------
>
> Key: TUSCANY-914
> URL: https://issues.apache.org/jira/browse/TUSCANY-914
> Project: Tuscany
> Issue Type: Improvement
> Components: Java Spec APIs
> Affects Versions: Java-SCA-M3
> Reporter: Yang Lei
> Assigned To: Jim Marino
> Fix For: Java-SCA-M3
>
> Attachments: tuscany-914-take3.lresende.20070121.txt,
> tuscany914.lresende.20070121.txt
>
>
> duplicated component name in include overwrite the using one. It may be
> better to throw duplication error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]