You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/10/29 13:50:31 UTC

[jira] [Resolved] (SLING-3214) Adapt HttpTestBase to make it reusable in JUnit4-style tests

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

Bertrand Delacretaz resolved SLING-3214.
----------------------------------------

    Resolution: Fixed

Implemented in http://svn.apache.org/r1536691, verified by adapting two integration tests for SLING-3215. We might need further adaptions when we move other tests to JUnit4, but the basics are here.

> Adapt HttpTestBase to make it reusable in JUnit4-style tests
> ------------------------------------------------------------
>
>                 Key: SLING-3214
>                 URL: https://issues.apache.org/jira/browse/SLING-3214
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Commons Testing 2.0.14
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Commons Testing 2.0.16
>
>
> The HttpTestBase was created as a base class for JUnit3-style tests, but with slight changes it can also be used in JUnit4-style tests.
> I'll make some protected things public to make it possible to reuse the class as a utility, without requiring inheritance, and include some utility methods that are provided by derived classes in our integration tests.



--
This message was sent by Atlassian JIRA
(v6.1#6144)