Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2011-02-03 08:59:00 +0000
committerMarkus Tiede2011-02-03 08:59:00 +0000
commitf70aee1ab9300c3d25fc4ce248043a77ff8f16a4 (patch)
treee33eb9fdc051014e719ca07c7aafea071895fff2 /org.eclipse.jubula.app.cmd
parentc35ddf111ab6f91dce409c0049a7ee7fc7c4011d (diff)
downloadorg.eclipse.jubula.core-f70aee1ab9300c3d25fc4ce248043a77ff8f16a4.tar.gz
org.eclipse.jubula.core-f70aee1ab9300c3d25fc4ce248043a77ff8f16a4.tar.xz
org.eclipse.jubula.core-f70aee1ab9300c3d25fc4ce248043a77ff8f16a4.zip
Minor refactoring of pause test execution - added PauseMode for more detailed controlling how to pause and unpause the test execution.
Diffstat (limited to 'org.eclipse.jubula.app.cmd')
-rw-r--r--org.eclipse.jubula.app.cmd/src/org/eclipse/jubula/app/cmd/batch/ExecutionController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jubula.app.cmd/src/org/eclipse/jubula/app/cmd/batch/ExecutionController.java b/org.eclipse.jubula.app.cmd/src/org/eclipse/jubula/app/cmd/batch/ExecutionController.java
index 688e5dd82..7e67df31c 100644
--- a/org.eclipse.jubula.app.cmd/src/org/eclipse/jubula/app/cmd/batch/ExecutionController.java
+++ b/org.eclipse.jubula.app.cmd/src/org/eclipse/jubula/app/cmd/batch/ExecutionController.java
@@ -52,6 +52,7 @@ import org.eclipse.jubula.client.core.businessprocess.JobConfiguration;
import org.eclipse.jubula.client.core.businessprocess.TestExecution;
import org.eclipse.jubula.client.core.businessprocess.TestExecutionEvent;
import org.eclipse.jubula.client.core.businessprocess.TestResultBP;
+import org.eclipse.jubula.client.core.businessprocess.TestExecution.PauseMode;
import org.eclipse.jubula.client.core.communication.ConnectionException;
import org.eclipse.jubula.client.core.communication.ServerConnection;
import org.eclipse.jubula.client.core.model.IAUTConfigPO;
@@ -972,7 +973,7 @@ public class ExecutionController implements IAUTServerEventListener,
m_clcServiceImpl.tsDone(isNoErrorWhileExecution() ? 0 : 1);
break;
case TestExecutionEvent.TEST_EXEC_PAUSED:
- TestExecution.getInstance().pauseExecution(false);
+ TestExecution.getInstance().pauseExecution(PauseMode.UNPAUSE);
break;
case TestExecutionEvent.TEST_EXEC_ERROR:
case TestExecutionEvent.TEST_EXEC_FAILED:

Back to the top