Allow to use multiple @Deploy("blabla"), @Deploy("blibli") meaning the same as @Deploy({"blabla", "blibli"})
This syntax sugar is preliminary of depreciation of @LocalDeploy and removal of its usage.
For instance, currently we have: (note: sometimes we had comment to break line after each deploy value)
@Deploy({ "org.nuxeo.runtime.metrics", "org.nuxeo.ecm.platform.audit.api", "org.nuxeo.ecm.core.persistence", "org.nuxeo.ecm.platform.audit", "org.nuxeo.ecm.platform.uidgen.core", "org.nuxeo.elasticsearch.core" }) public void testMethod() {}
After we'll have:
@Deploy("org.nuxeo.runtime.metrics") @Deploy("org.nuxeo.ecm.platform.audit.api") @Deploy("org.nuxeo.ecm.core.persistence") @Deploy("org.nuxeo.ecm.platform.audit") @Deploy("org.nuxeo.ecm.platform.uidgen.core") @Deploy("org.nuxeo.elasticsearch.core") public void testMethod() {}
Which makes the thing a bit clearer.
Note: former usage is still available.
- is required by
-
NXP-22544 Rework @LocalDeploy and NXRuntimeTestCase#deployTestContrib
- Resolved