[
http://jira.nuxeo.org/browse/NXP-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume updated NXP-2367:
-----------------------------------
Description:
Too many unit tests use the NXRuntimeTestCase methods deploy(jarname) or
deployContrib(contrib), which search for things in the whole classloader path
and therefore have non-deterministic behavior.
They must be changed to use deployBundle(bundle) or deployContrib(bundle,
contrib).
This will also allow a lot of simplification in the too-many contrib files that
are copied into many test resources.
was:
Too many unit tests use the NXRuntimeTestCase methods deploy(contrib) or
deployContrib(jarname), which search for things in the whole classloader path
and therefore have non-deterministic behavior.
They must be changed to use deployBundle(bundle) or deployContrib(bundle,
contrib).
This will also allow a lot of simplification in the too-many contrib files that
are copied into many test resources.
> Cleanup unit tests to only use new-style deployBundle/deployContrib
> -------------------------------------------------------------------
>
> Key: NXP-2367
> URL: http://jira.nuxeo.org/browse/NXP-2367
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Task
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Fix For: 5.1.5
>
>
> Too many unit tests use the NXRuntimeTestCase methods deploy(jarname) or
> deployContrib(contrib), which search for things in the whole classloader path
> and therefore have non-deterministic behavior.
> They must be changed to use deployBundle(bundle) or deployContrib(bundle,
> contrib).
> This will also allow a lot of simplification in the too-many contrib files
> that are copied into many test resources.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets