[
https://issues.apache.org/jira/browse/TUSCANY-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650864#action_12650864
]
Yiwen Huang commented on TUSCANY-2686:
--------------------------------------
Hi Simon,
For Q1), that's right. I did not provide a AServiceImpl.constrainingType file.
ASM40002 states " If present, the @constrainingType attribute of a
<componentType/> element MUST reference a <constrainingType/> element in the
Domain through its QName."
I decided to test by defining a contrainingType attribute in
AServiceImpl.componentType, but without providing a
AServiceImpl.constrainingType, and expected the test to fail (which it
doesn't).
I did try the test at the presence of a AServiceImpl.constrainingType file, and
received the same successful test result, which I guess is the correct behavior?
Do you think I should provide AServiceImpl.constrainingType file in the test?
For Q2), yes, I did comment out the original tests. Somehow I thought that was
what we wanted, but could definitely be wrong. Sorry about that. I will
gladly un-comment them.
Best Regards,
Yiwen
> Vtest code for Java SCA assembly componentType ASM40002
> -------------------------------------------------------
>
> Key: TUSCANY-2686
> URL: https://issues.apache.org/jira/browse/TUSCANY-2686
> Project: Tuscany
> Issue Type: Test
> Components: Java SCA Assembly Model
> Affects Versions: Java-SCA-1.3
> Reporter: Yiwen Huang
> Assignee: Simon Laws
> Priority: Minor
> Attachments: ASM40002.patch
>
>
> Hello,
> I'd like to submit my first vtest patch, for conformance test ASM40002.
> As this is my first attempt at writing vtest, please let me know if there is
> any problem with the patch or the test method.
> As I mentioned in my post
> (http://www.mail-archive.com/[email protected]/msg03443.html), the test
> does not fail for me, which it should. Let me know what we should do about
> it too, thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.