From c803942cdc9ca901a632a298684faa336ffc34e9 Mon Sep 17 00:00:00 2001 From: Vladimir Pasquier Date: Mon, 15 Sep 2014 16:07:28 +0200 Subject: [PATCH] NXP-15040: fix test on widget descriptors json export --- .../io/json/test/TestAutomationJson.java | 5 ++-- .../resources/operations-contrib-test.xml | 27 +++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 nuxeo-automation/nuxeo-automation-io/src/test/resources/operations-contrib-test.xml diff --git a/nuxeo-automation/nuxeo-automation-io/src/test/java/org/nuxeo/ecm/automation/io/json/test/TestAutomationJson.java b/nuxeo-automation/nuxeo-automation-io/src/test/java/org/nuxeo/ecm/automation/io/json/test/TestAutomationJson.java index e8442c020b..e9c2b8f72f 100644 --- a/nuxeo-automation/nuxeo-automation-io/src/test/java/org/nuxeo/ecm/automation/io/json/test/TestAutomationJson.java +++ b/nuxeo-automation/nuxeo-automation-io/src/test/java/org/nuxeo/ecm/automation/io/json/test/TestAutomationJson.java @@ -38,8 +38,9 @@ @RunWith(FeaturesRunner.class) @Features(PlatformFeature.class) @Deploy({ "org.nuxeo.ecm.automation.core", "org.nuxeo.ecm.automation.io", - "org.nuxeo.ecm.webengine.core" }) -@LocalDeploy("org.nuxeo.ecm.automation.io:test-chains.xml") + "org.nuxeo.ecm.webengine.core", "org.nuxeo.ecm.platform.web.common" }) +@LocalDeploy({ "org.nuxeo.ecm.automation.io:test-chains.xml", + "org.nuxeo.ecm.automation.io:operations-contrib-test.xml" }) public class TestAutomationJson { @Inject diff --git a/nuxeo-automation/nuxeo-automation-io/src/test/resources/operations-contrib-test.xml b/nuxeo-automation/nuxeo-automation-io/src/test/resources/operations-contrib-test.xml new file mode 100644 index 0000000000..1b4bb3b37f --- /dev/null +++ b/nuxeo-automation/nuxeo-automation-io/src/test/resources/operations-contrib-test.xml @@ -0,0 +1,27 @@ + + + + @author Bogdan Stefanescu (bs@nuxeo.com) + + + + + + + + + + + nxql + 100% + 100% + + + query + + + + + +