You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ku Jun Guo (JIRA)" <de...@tuscany.apache.org> on 2009/08/20 10:16:14 UTC

[jira] Created: (TUSCANY-3226) ASM_5029_TestCase is not appropriate for ASM50032

ASM_5029_TestCase is not appropriate for ASM50032
-------------------------------------------------

                 Key: TUSCANY-3226
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3226
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-2.0
            Reporter: Ku Jun Guo


It seems the test case is not designed correctly.

I can't see the @many attribute defined for property element in the Test_ASM_5029.composite.

The composite file defined many values for a property:

 <property name="complexType" type="test:ComplexType1">
        	<value>
        		<test:firstData>SomeData</test:firstData>
        		<test:secondData>MoreData</test:secondData>
        	</value>
        	<value>        	
        		<test:firstData>SomeData2</test:firstData>
        		<test:secondData>MoreData2</test:secondData>  	
        	</value>
        </property>

And the test result is :

ASM_5029 request service1 operation1 invokedSomeDataMoreData

Should we add @many=false for the property element?

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


[jira] Updated: (TUSCANY-3226) ASM_5029_TestCase is not appropriate for ASM50032

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-3226:
-------------------------------

    Component/s:     (was: Java SCA Assembly Model)
                 OASIS Compliance

> ASM_5029_TestCase is not appropriate for ASM50032
> -------------------------------------------------
>
>                 Key: TUSCANY-3226
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3226
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance
>    Affects Versions: Java-SCA-2.0
>            Reporter: Ku Jun Guo
>
> It seems the test case is not designed correctly.
> I can't see the @many attribute defined for property element in the Test_ASM_5029.composite.
> The composite file defined many values for a property:
>  <property name="complexType" type="test:ComplexType1">
>         	<value>
>         		<test:firstData>SomeData</test:firstData>
>         		<test:secondData>MoreData</test:secondData>
>         	</value>
>         	<value>        	
>         		<test:firstData>SomeData2</test:firstData>
>         		<test:secondData>MoreData2</test:secondData>  	
>         	</value>
>         </property>
> And the test result is :
> ASM_5029 request service1 operation1 invokedSomeDataMoreData
> Should we add @many=false for the property element?

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


[jira] Commented: (TUSCANY-3226) ASM_5029_TestCase is not appropriate for ASM50032

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746020#action_12746020 ] 

Mike Edwards commented on TUSCANY-3226:
---------------------------------------

The testcase is valid and correct.  There is a problem with Tuscany.

The testcase has a <component/> <property/> with a value which has multiple elements.

The <property/> in the <implementation/> for that <component/> has @many="false" (the default value).  This should mean that the value supplied is illegal.  Tuscany currently does not catch this.

> ASM_5029_TestCase is not appropriate for ASM50032
> -------------------------------------------------
>
>                 Key: TUSCANY-3226
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3226
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Tests
>    Affects Versions: Java-SCA-2.0
>            Reporter: Ku Jun Guo
>
> It seems the test case is not designed correctly.
> I can't see the @many attribute defined for property element in the Test_ASM_5029.composite.
> The composite file defined many values for a property:
>  <property name="complexType" type="test:ComplexType1">
>         	<value>
>         		<test:firstData>SomeData</test:firstData>
>         		<test:secondData>MoreData</test:secondData>
>         	</value>
>         	<value>        	
>         		<test:firstData>SomeData2</test:firstData>
>         		<test:secondData>MoreData2</test:secondData>  	
>         	</value>
>         </property>
> And the test result is :
> ASM_5029 request service1 operation1 invokedSomeDataMoreData
> Should we add @many=false for the property element?

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


[jira] Updated: (TUSCANY-3226) ASM_5029_TestCase is not appropriate for ASM50032

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-3226:
-------------------------------

    Component/s:     (was: OASIS Compliance - OASIS)
                 OASIS Compliance - TUSCANY

> ASM_5029_TestCase is not appropriate for ASM50032
> -------------------------------------------------
>
>                 Key: TUSCANY-3226
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3226
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - TUSCANY
>    Affects Versions: Java-SCA-2.0
>            Reporter: Ku Jun Guo
>
> It seems the test case is not designed correctly.
> I can't see the @many attribute defined for property element in the Test_ASM_5029.composite.
> The composite file defined many values for a property:
>  <property name="complexType" type="test:ComplexType1">
>         	<value>
>         		<test:firstData>SomeData</test:firstData>
>         		<test:secondData>MoreData</test:secondData>
>         	</value>
>         	<value>        	
>         		<test:firstData>SomeData2</test:firstData>
>         		<test:secondData>MoreData2</test:secondData>  	
>         	</value>
>         </property>
> And the test result is :
> ASM_5029 request service1 operation1 invokedSomeDataMoreData
> Should we add @many=false for the property element?

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


[jira] Resolved: (TUSCANY-3226) ASM_5029_TestCase is not appropriate for ASM50032

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws resolved TUSCANY-3226.
---------------------------------

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

Tuscany problem rather than a problem with the test

> ASM_5029_TestCase is not appropriate for ASM50032
> -------------------------------------------------
>
>                 Key: TUSCANY-3226
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3226
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - TUSCANY
>    Affects Versions: Java-SCA-2.0
>            Reporter: Ku Jun Guo
>             Fix For: Java-SCA-2.0
>
>
> It seems the test case is not designed correctly.
> I can't see the @many attribute defined for property element in the Test_ASM_5029.composite.
> The composite file defined many values for a property:
>  <property name="complexType" type="test:ComplexType1">
>         	<value>
>         		<test:firstData>SomeData</test:firstData>
>         		<test:secondData>MoreData</test:secondData>
>         	</value>
>         	<value>        	
>         		<test:firstData>SomeData2</test:firstData>
>         		<test:secondData>MoreData2</test:secondData>  	
>         	</value>
>         </property>
> And the test result is :
> ASM_5029 request service1 operation1 invokedSomeDataMoreData
> Should we add @many=false for the property element?

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