Commit 22456d9a authored by Romain Bioteau's avatar Romain Bioteau

fix(builder) lock equinox.commuon dependency version

parent 2703211c
......@@ -49,7 +49,6 @@ import org.bonitasoft.studio.model.process.ServiceTask;
import org.bonitasoft.studio.model.process.diagram.edit.parts.MainProcessEditPart;
import org.bonitasoft.studio.swtbot.framework.application.BotApplicationWorkbenchWindow;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
......@@ -231,8 +230,7 @@ public class BPMNConnectorExportImportTest {
modelSearch);
final File bpmnFileExported = tmpFolder.newFile("testSingleConnectorOnServiceTask.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final ResourceSet resourceSet1 = new ResourceSetImpl();
......
......@@ -104,8 +104,7 @@ public class BPMNEventSubProcessExportImportTest {
modelSearch);
final File bpmnFileExported = tmpFolder.newFile("testEventSubProcess.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final ResourceSet resourceSet1 = new ResourceSetImpl();
......
......@@ -45,7 +45,6 @@ import org.bonitasoft.studio.model.process.Pool;
import org.bonitasoft.studio.model.process.diagram.edit.parts.MainProcessEditPart;
import org.bonitasoft.studio.swtbot.framework.application.BotApplicationWorkbenchWindow;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
......@@ -150,8 +149,7 @@ public class BPMNExportImportDataMappingTest {
final File bpmnFileExported = tmpFolder.newFile("testSingleConnectorOnServiceTask.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final ResourceSet resourceSet1 = new ResourceSetImpl();
......
......@@ -46,7 +46,6 @@ import org.bonitasoft.studio.model.process.diagram.edit.parts.MainProcessEditPar
import org.bonitasoft.studio.swtbot.framework.application.BotApplicationWorkbenchWindow;
import org.bonitasoft.studio.swtbot.framework.rule.SWTGefBotRule;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
......@@ -134,8 +133,7 @@ public class BPMNExportImportMessageDataTest {
modelSearch);
final File bpmnFileExported = tmpFolder.newFile("testMessageDataTestValue.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final ResourceSet resourceSet1 = new ResourceSetImpl();
......
......@@ -36,7 +36,6 @@ import org.bonitasoft.studio.model.process.diagram.part.ProcessDiagramEditor;
import org.bonitasoft.studio.swtbot.framework.SWTBotConnectorTestUtil;
import org.bonitasoft.studio.swtbot.framework.application.BotApplicationWorkbenchWindow;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.swt.SWT;
......@@ -89,8 +88,7 @@ public class BPMNExportTests {
final IBonitaModelExporter exporter = new BonitaModelExporterImpl(c.eResource(), modelSearch);
final File bpmnFileExported = tmpFolder.newFile("withAllExported.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final BufferedReader reader = new BufferedReader(new FileReader(bpmnFileExported));
......
......@@ -41,7 +41,6 @@ import org.bonitasoft.studio.model.process.XORGateway;
import org.bonitasoft.studio.model.process.diagram.edit.parts.MainProcessEditPart;
import org.bonitasoft.studio.swtbot.framework.application.BotApplicationWorkbenchWindow;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
......@@ -115,8 +114,7 @@ public class BPMNGatewayExportImportTest {
modelSearch);
final File bpmnFileExported = tmpFolder.newFile("testGateway.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final ResourceSet resourceSet1 = new ResourceSetImpl();
......
......@@ -52,7 +52,6 @@ import org.bonitasoft.studio.model.process.Task;
import org.bonitasoft.studio.model.process.diagram.edit.parts.MainProcessEditPart;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.emf.common.util.EList;
......@@ -431,8 +430,7 @@ public class BPMNImportExportTest {
final IBonitaModelExporter exporter = new BonitaModelExporterImpl(mainProcess.eResource(), modelSearch);
final File bpmnFileExported = tmpFolder.newFile("withAllExported.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
//compare bpmn before import and after import/export
......
......@@ -40,7 +40,6 @@ import org.bonitasoft.studio.model.process.SequenceFlow;
import org.bonitasoft.studio.model.process.diagram.edit.parts.MainProcessEditPart;
import org.bonitasoft.studio.swtbot.framework.application.BotApplicationWorkbenchWindow;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
......@@ -99,8 +98,7 @@ public class BPMNSequenceFlowDefaultFlowExportImportTest {
modelSearch);
final File bpmnFileExported = tmpFolder.newFile("PoolToTestDefaultFlowInBPMN.bpmn");
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final ResourceSet resourceSet1 = new ResourceSetImpl();
......
......@@ -91,8 +91,7 @@ public class BPMNTestUtil {
final File bpmnFileExported = File.createTempFile("testBpmnExport", ".bpmn");
bpmnFileExported.deleteOnExit();
BonitaToBPMNExporter bonitaToBPMNExporter = new BonitaToBPMNExporter();
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported,
new NullProgressMonitor());
bonitaToBPMNExporter.export(exporter, modelSearch, bpmnFileExported);
StatusAssert.assertThat(bonitaToBPMNExporter.getStatus()).hasSeverity(IStatus.INFO);
final ResourceSet resourceSet1 = new ResourceSetImpl();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment