You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2009/11/18 12:15:39 UTC
[jira] Commented: (TUSCANY-3375) POJO_9005 references an invalid
java class
[ https://issues.apache.org/jira/browse/TUSCANY-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779413#action_12779413 ]
Mike Edwards commented on TUSCANY-3375:
---------------------------------------
You found a set of valid problems Ram.
However, when Simon Laws and myself took a deeper look at this testcase, we realize that the whole testcase is invalid as there are no standardized mechanisms that we can expect all SCA runtimes to have - at least with the Java POJO spec in its current form. There is no obvious way to lay out the Class-Path: entry in the MANIFEST.MF file that is guaranteed to work for any conforming SCA runtime.
As a result, I'm WITHDRAWING this testcase entirely and the test assertion will be marked "untestable".
> POJO_9005 references an invalid java class
> ------------------------------------------
>
> Key: TUSCANY-3375
> URL: https://issues.apache.org/jira/browse/TUSCANY-3375
> Project: Tuscany
> Issue Type: Bug
> Components: OASIS Compliance - OASIS
> Affects Versions: Java-SCA-2.0
> Reporter: Ramkumar Ramalingam
> Fix For: Java-SCA-2.0
>
>
> Multiple issues noticed in Test_POJO_9005.composite file.
> 1. The composite name should be "TEST_POJO_9005" instead of "TEST_POJO_9003"
> 2. The property called testName should have a value POJO_9005 instead of POJO_9003.
> 3. The component name should be TEST_POJO_9005Component1 instead of TEST_POJO_9003Component1
> 4. The implementation.java should use the class "org.oasisopen.sca.test.service1ContributionImpl" instead of "org.oasisopen.sca.test.x.service1Impl"
> Index: Test_POJO_9005.composite
> ===================================================================
> --- Test_POJO_9005.composite (revision 114)
> +++ Test_POJO_9005.composite (working copy)
> @@ -12,7 +12,7 @@
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
> targetNamespace="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
> xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
> - name="TEST_POJO_9003">
> + name="TEST_POJO_9005">
>
> <component name="TestClient">
> <implementation.composite name="test:TestClient_0002"/>
> @@ -20,14 +20,14 @@
> <interface.wsdl interface="http://test.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
> <binding.ws/>
> </service>
> - <reference name="reference1" target="TEST_POJO_9003Component1/Service1" />
> - <property name="testName">POJO_9003</property>
> + <reference name="reference1" target="TEST_POJO_9005Component1/Service1" />
> + <property name="testName">POJO_9005</property>
> </component>
>
> <!-- Component which has a <implementation.java/> subelement with an implementation class that
> should be imported from a second contribution -->
> - <component name="TEST_POJO_9003Component1">
> - <implementation.java class="org.oasisopen.sca.test.x.service1Impl"/>
> + <component name="TEST_POJO_9005Component1">
> + <implementation.java class="org.oasisopen.sca.test.service1ContributionImpl"/>
> <service name="Service1">
> <interface.java interface="org.oasisopen.sca.test.Service1"/>
> </service>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.