Source:
public IStatus execute() throws InterruptedException { launch.resetState(); PrepareEnvironment prepareEnvironment = Q7CoreFactory.eINSTANCE .createPrepareEnvironment(); SetCommandsDelay commandsDelay = Q7CoreFactory.eINSTANCE.createSetCommandsDelay(); commandsDelay.setDelay(Q7.INSTANCE.getCommandsExecutionDelay()); TeslaFeatures.getInstance().getOption(TeslaFeatures.COMMAND_EXECUTION_DELAY) .setValue(Integer.toString(commandsDelay.getDelay())); SetQ7Features setQ7Features = Q7CoreFactory.eINSTANCE.createSetQ7Features(); Q7LaunchUtils.setQ7Variable(setQ7Features, Q7LaunchUtils.Q7_CURRENT_TEST_VAR, getName()); TeslaFeatures.getInstance().storeValues(setQ7Features.getFeatures()); Q7Features.getInstance().storeValues(setQ7Features.getFeatures()); Sequence command = ScriptletFactory.seq(prepareEnvironment, commandsDelay, setQ7Features); try { launch.execute(command); resetParams(); resetVerifications(); } catch (CoreException e) { IStatus status = e.getStatus(); IStatus newStatus = new Status(IStatus.ERROR, status.getPlugin(), IProcess.INTERNAL_AUT_FAILURE, status.getMessage(), status.getException()); return ExecAdvancedInfoUtil.askForAdvancedInfo(launch, newStatus); } catch (Exception e) { return Q7LaunchingPlugin.createStatus(e); } try { createReport(); } catch (CoreException e) { return e.getStatus(); } if (executable instanceof GroupExecutable) { IExecutable rootExecutable = ((GroupExecutable) executable).getRoot(); if (rootExecutable instanceof EclScenarioExecutable) { EclScenarioExecutable scenario = (EclScenarioExecutable) rootExecutable; TestEngineManager.getInstance().fireExecutionStarted(scenario); } } return executable.execute(); }

Target:
public IStatus execute() throws InterruptedException { launch.resetState(); PrepareEnvironment prepareEnvironment = Q7CoreFactory.eINSTANCE .createPrepareEnvironment(); SetCommandsDelay commandsDelay = Q7CoreFactory.eINSTANCE.createSetCommandsDelay(); commandsDelay.setDelay(Q7.INSTANCE.getCommandsExecutionDelay()); TeslaFeatures.getInstance().getOption(TeslaFeatures.COMMAND_EXECUTION_DELAY) .setValue(Integer.toString(commandsDelay.getDelay())); SetQ7Features setQ7Features = Q7CoreFactory.eINSTANCE.createSetQ7Features(); Q7LaunchUtils.setQ7Variable(setQ7Features, Q7LaunchUtils.Q7_CURRENT_TEST_VAR, getName()); TeslaFeatures.getInstance().storeValues(setQ7Features.getFeatures()); Q7Features.getInstance().storeValues(setQ7Features.getFeatures()); Sequence command = ScriptletFactory.seq(prepareEnvironment, commandsDelay, setQ7Features); try { launch.execute(command); resetParams(); resetVerifications(); } catch (CoreException e) { IStatus status = e.getStatus(); MultiStatus multiStatus = new MultiStatus(status.getPlugin(), IProcess.INTERNAL_AUT_FAILURE, "Internal aut failure", e); multiStatus.add(status); return ExecAdvancedInfoUtil.askForAdvancedInfo(launch, multiStatus); } catch (Exception e) { return Q7LaunchingPlugin.createStatus(e); } try { createReport(); } catch (CoreException e) { return e.getStatus(); } if (executable instanceof GroupExecutable) { IExecutable rootExecutable = ((GroupExecutable) executable).getRoot(); if (rootExecutable instanceof EclScenarioExecutable) { EclScenarioExecutable scenario = (EclScenarioExecutable) rootExecutable; TestEngineManager.getInstance().fireExecutionStarted(scenario); } } return executable.execute(); }