Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-12-04 07:20:27 +0000
committerMarkus Tiede2014-12-04 07:20:27 +0000
commit8d50ebbc3ba600299ea2a27699a160202ee88e45 (patch)
tree52d4719858e0f17e30e66c0357972af4b3160116 /org.eclipse.jubula.examples.api.adder.rcp
parent1826ce47400d67c6a613e373cf6889b9dbf833d9 (diff)
downloadorg.eclipse.jubula.core-8d50ebbc3ba600299ea2a27699a160202ee88e45.tar.gz
org.eclipse.jubula.core-8d50ebbc3ba600299ea2a27699a160202ee88e45.tar.xz
org.eclipse.jubula.core-8d50ebbc3ba600299ea2a27699a160202ee88e45.zip
Non-sprint task - provide OSGi based API example.
Diffstat (limited to 'org.eclipse.jubula.examples.api.adder.rcp')
-rw-r--r--org.eclipse.jubula.examples.api.adder.rcp/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.jubula.examples.api.adder.rcp/src/org/eclipse/jubula/examples/api/adder/rcp/SimpleAdder.java4
2 files changed, 3 insertions, 4 deletions
diff --git a/org.eclipse.jubula.examples.api.adder.rcp/META-INF/MANIFEST.MF b/org.eclipse.jubula.examples.api.adder.rcp/META-INF/MANIFEST.MF
index d34d38520..f2eb0d8ca 100644
--- a/org.eclipse.jubula.examples.api.adder.rcp/META-INF/MANIFEST.MF
+++ b/org.eclipse.jubula.examples.api.adder.rcp/META-INF/MANIFEST.MF
@@ -8,7 +8,8 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .,
resources/
-Require-Bundle: org.eclipse.jubula.tools;bundle-version="[3.0.0,3.1.0)",
+Require-Bundle: org.junit;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.jubula.tools;bundle-version="[3.0.0,3.1.0)",
org.eclipse.jubula.client.api;bundle-version="[3.0.0,3.1.0)",
org.eclipse.jubula.communication;bundle-version="[3.0.0,3.1.0)",
org.eclipse.jubula.toolkit.api;bundle-version="[3.0.0,3.1.0)",
diff --git a/org.eclipse.jubula.examples.api.adder.rcp/src/org/eclipse/jubula/examples/api/adder/rcp/SimpleAdder.java b/org.eclipse.jubula.examples.api.adder.rcp/src/org/eclipse/jubula/examples/api/adder/rcp/SimpleAdder.java
index 94d5978be..bb5d9ad80 100644
--- a/org.eclipse.jubula.examples.api.adder.rcp/src/org/eclipse/jubula/examples/api/adder/rcp/SimpleAdder.java
+++ b/org.eclipse.jubula.examples.api.adder.rcp/src/org/eclipse/jubula/examples/api/adder/rcp/SimpleAdder.java
@@ -29,8 +29,6 @@ import org.eclipse.jubula.communication.CAP;
import org.eclipse.jubula.toolkit.base.components.GraphicsComponent;
import org.eclipse.jubula.toolkit.base.components.TextComponent;
import org.eclipse.jubula.toolkit.base.components.TextInputComponent;
-import org.eclipse.jubula.toolkit.concrete.components.Application;
-import org.eclipse.jubula.toolkit.concrete.components.MenuBarComponent;
import org.eclipse.jubula.toolkit.enums.ValueSets.InteractionMode;
import org.eclipse.jubula.toolkit.enums.ValueSets.Operator;
import org.eclipse.jubula.toolkit.rcp.config.RCPAUTConfiguration;
@@ -47,7 +45,7 @@ public class SimpleAdder {
/** AUT-Agent host name to use */
public static final String AGENT_HOST = "localhost"; //$NON-NLS-1$
/** AUT-Agent port to use */
- public static final int AGENT_PORT = 5051;
+ public static final int AGENT_PORT = 60000;
/** the value1 */
private static TextInputComponent value1;
/** the value2 */

Back to the top