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

Simon Nash updated TUSCANY-1500:
--------------------------------

    Attachment: patch5

Here is patch 5 for this JIRA. It enables itest/callback-set-conversation in 
the build and gets it working. Some further cleanup of this test case is needed 
to remove workarounds for current limitations of the core runtime.

Here's a brief summary of the changes in this patch.

1. Rename CallBackSetCallbackConvTestCaseFIXME.java to 
CallBackSetCallbackConvTestCase.java. (NOTE: This must be done manually before 
applying the patch, which contains an update to 
CallBackSetCallbackConvTestCase.java.)

2. Change the class name for the test from CallBackSetCallbackConvTestCaseFIXME 
to CallBackSetCallbackConvTestCase.

3. Change the test code where it was not using the spec APIs correctly.  (In 
some places, the code contains "FIXME" workarounds because of current 
limitations with the core runtime.)

4. Change the runtime to enable stateful callbacks to be made to a callback 
object that isn't a service reference (see section 1.6.7.5 of the Java 
Annotations and APIs spec).  This requires registering the callback object with 
the conversational scope container so that it can be located when the client 
component receives the callback.

I will continue to work on the core runtime changes that are needed in order to 
remove the current workarounds in this test case.

> Many callback tests don't run
> -----------------------------
>
>                 Key: TUSCANY-1500
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1500
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-1.0
>
>         Attachments: ImplementationProvider2.java, patch1, patch2, patch3, 
> patch4, patch5
>
>
> The following itests are currently disabled in the build.  If they are 
> enabled by changing the name of the test class from xxxTest to xxxTestCase, 
> they fail with various errors.
>   callback-api
>   callback-complex-type
>   callback-id
>   callback-set-callback
>   callback-set-conversation

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to