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

Mike Edwards resolved TUSCANY-3366.
-----------------------------------

    Resolution: Fixed

Fixes to the test runner and to the composite file applied in OASIS SVN 
revision 109

> OASIS SCA-J CI test case POJO_2002_TestCase fails
> -------------------------------------------------
>
>                 Key: TUSCANY-3366
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3366
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - OASIS
>            Reporter: ant elder
>             Fix For: Java-SCA-2.0
>
>
> OASIS SCA-J CI test case POJO_2002_TestCase fails for me with several errors 
> du eto what looks like the service name being serviceImplClass not 
> service1ImplClass, and the expected output message being wrong. A diff that 
> gets the test pasing for me is:
> Index: POJO_General/src/main/resources/Test_POJO_2002.composite
> ===================================================================
> --- POJO_General/src/main/resources/Test_POJO_2002.composite    (revision 100)
> +++ POJO_General/src/main/resources/Test_POJO_2002.composite    (working copy)
> @@ -19,7 +19,7 @@
>                         <interface.wsdl 
> interface="http://test.sca.oasisopen.org/#wsdl.porttype(TestInvocation)"/>
>              <binding.ws/>
>                 </service>
> -        <reference name="reference1" 
> target="TEST_POJO_2002Component1/service1ImplClass"/>
> +        <reference name="reference1" 
> target="TEST_POJO_2002Component1/serviceImplClass"/>
>          <property name="testName">POJO_2002</property>
>      </component>
> @@ -27,7 +27,7 @@
>           is typed by the interface class itself -->
>      <component name="TEST_POJO_2002Component1">
>          <implementation.java 
> class="org.oasisopen.sca.test.serviceImplClass"/>
> -        <service name="service1ImplClass">
> +        <service name="serviceImplClass">
>              <interface.java 
> interface="org.oasisopen.sca.test.serviceImplClass"/>
>          </service>
>          <property name="serviceName">service1</property>
> Index: 
> Test_Client_JavaPOJO/src/main/java/client_javapojo/POJO_2002_TestCase.java
> ===================================================================
> --- 
> Test_Client_JavaPOJO/src/main/java/client_javapojo/POJO_2002_TestCase.java  
> (revision 100)
> +++ 
> Test_Client_JavaPOJO/src/main/java/client_javapojo/POJO_2002_TestCase.java  
> (working copy)
> @@ -21,7 +21,7 @@
>         TestConfiguration config = new TestConfiguration();
>         config.testName                  = "POJO_2002";
>         config.input                     = "request";
> -       config.output[0]                 = "POJO_2002 request service1 
> parallel service invocation successful";
> +       config.output[0]                 = "POJO_2002 request service1 
> operation1 invoked";
>         config.composite                 = "Test_" + config.testName + 
> ".composite";
>         config.testServiceName   = "TestClient";
>         config.contributionNames = new String[] { "POJO_General" };

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

Reply via email to