[ http://webtest-community.canoo.com/jira/browse/WT-466?page=all ]
     
Marc Guillemot closed WT-466:
-----------------------------

    Fix Version: Future versions
     Resolution: Fixed

This should be implemented in build 1731.

Jira displays attachments in a strange order and I've first taken the wrong one 
to implement your changes. I think that I've then added everything from the 
right patch, but it would be good if you could check it.


> Enable customization of StepExecutionListener & WebClient
> ---------------------------------------------------------
>
>          Key: WT-466
>          URL: http://webtest-community.canoo.com/jira/browse/WT-466
>      Project: WebTest
>         Type: New Feature

>     Versions: Future versions
>  Environment: R1720
>     Reporter: Ardeshir Arfaian
>      Fix For: Future versions
>  Attachments: Patch_R1720.zip, patch.txt, patchR1729.txt, patch_with_tests.txt
>
> Source code level feature to enable customization of StepExecutionListener & 
> WebClient
> Benefits:
> *) better extensibility
> *) possibility to customize StepExecutionListener (custom processing of step 
> results)
> *) possibility to customize WebClient (e.g. wrap WebConnection)
> Proposed changes:
> *) New method in StepExecutionListener
>               public void webtestFinished();
> *) New interface:
>               public interface WebtestCustomizer {
>                       StepExecutionListener 
> createExecutionListener(WebtestTask wt);
>                       WebClient customizeWebClient(WebClient wc);
>               }
> *) New class (does today's work)
>     public class DefaultWebtestCustomizer implements WebtestCustomizer {...}
> *) changes to class WebtestTask
>               WebtestTask checks 
> getProject().getReference("wt.webtestCustomizer") for a WebtestCustomizer to 
> use, if none exists it instantiates a new DefaultWebtestCustomizer
> *) changes to class WebtestTask
>               Configuration checks 
> getProject().getReference("wt.webtestCustomizer") for a WebtestCustomizer to 
> use, if none exists it instantiates a new DefaultWebtestCustomizer
> *) new getter in class Configuration
>               public final Context getContext();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to