Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-12-11 15:51:55 +0000
committerMarkus Tiede2014-12-12 08:05:15 +0000
commitf12c939127d6d5f082a7e4a9ffa30d6ffb6590b3 (patch)
treeac28edc6d27b9234b6cfe750ed7ffce3a01d06b3 /org.eclipse.jubula.client.api
parent95b1d050c62bdd42b0214fed56028965e2059157 (diff)
downloadorg.eclipse.jubula.core-f12c939127d6d5f082a7e4a9ffa30d6ffb6590b3.tar.gz
org.eclipse.jubula.core-f12c939127d6d5f082a7e4a9ffa30d6ffb6590b3.tar.xz
org.eclipse.jubula.core-f12c939127d6d5f082a7e4a9ffa30d6ffb6590b3.zip
Non-sprint task - major refactoring: cleanup of unnecessary and unused cap test message / command indirection.
Diffstat (limited to 'org.eclipse.jubula.client.api')
-rw-r--r--org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
index de1a13621..7cc919fb7 100644
--- a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
+++ b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/impl/AUTImpl.java
@@ -23,15 +23,14 @@ import org.eclipse.jubula.client.exceptions.CheckFailedException;
import org.eclipse.jubula.client.exceptions.CommunicationException;
import org.eclipse.jubula.client.exceptions.ComponentNotFoundException;
import org.eclipse.jubula.client.exceptions.ConfigurationException;
-import org.eclipse.jubula.client.exceptions.ExecutionExceptionHandler;
import org.eclipse.jubula.client.exceptions.ExecutionException;
+import org.eclipse.jubula.client.exceptions.ExecutionExceptionHandler;
import org.eclipse.jubula.client.internal.AUTConnection;
import org.eclipse.jubula.client.internal.BaseConnection.NotConnectedException;
import org.eclipse.jubula.client.internal.Synchronizer;
import org.eclipse.jubula.client.internal.exceptions.ConnectionException;
import org.eclipse.jubula.communication.CAP;
import org.eclipse.jubula.communication.internal.message.CAPTestMessage;
-import org.eclipse.jubula.communication.internal.message.CAPTestMessageFactory;
import org.eclipse.jubula.communication.internal.message.CAPTestResponseMessage;
import org.eclipse.jubula.communication.internal.message.MessageCap;
import org.eclipse.jubula.communication.internal.message.UnknownMessageException;
@@ -140,9 +139,8 @@ public class AUTImpl implements AUT {
final ResultImpl<T> result = new ResultImpl<T>(cap, payload);
try {
- CAPTestMessage capTestMessage = CAPTestMessageFactory
- .getCAPTestMessage((MessageCap) cap, getInformation()
- .getToolkitID());
+ CAPTestMessage capTestMessage = new CAPTestMessage(
+ (MessageCap) cap);
m_instance.send(capTestMessage);
Object exchange = Synchronizer.instance().exchange(null);

Back to the top