[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-4942) Refactor PackagedEntityManagerTest and JarVisitorTest to use ShrinkWrap

Hardy Ferentschik (JIRA) noreply at atlassian.com
Tue Feb 23 07:59:47 EST 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik resolved HHH-4942.
------------------------------------

    Resolution: Fixed

Refactored JarVistitorTest and PackagedEntityManagerTest to use Shrinkwrap to build the packages needed for the tests. This removed the need for some custom antrun plugin stuff. Also created a baseclass for the packaged tests.

Refactored PersistTest to extend from the main em base test case. This allows the em test to run in forkMode 'once'

> Refactor PackagedEntityManagerTest and JarVisitorTest to use ShrinkWrap
> -----------------------------------------------------------------------
>
>                 Key: HHH-4942
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4942
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: build, entity-manager
>    Affects Versions: 3.5.0-CR-1
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>             Fix For: 3.5.0-CR-2
>
>         Attachments: HHH-4942.patch
>
>
> Currently we are using the antrun plugin to build some war, par, ... files prior to the test. This causes multiple problems. Switching to Shrinkwrap should make the test more self-contained and easier to understand.

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

        


More information about the hibernate-issues mailing list