Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jubula.toolkit.win.api')
-rw-r--r--org.eclipse.jubula.toolkit.win.api/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.jubula.toolkit.win.api/src/org/eclipse/jubula/toolkit/win/config/WinAUTConfiguration.java51
2 files changed, 54 insertions, 2 deletions
diff --git a/org.eclipse.jubula.toolkit.win.api/META-INF/MANIFEST.MF b/org.eclipse.jubula.toolkit.win.api/META-INF/MANIFEST.MF
index c123354cd..c27ec7ff9 100644
--- a/org.eclipse.jubula.toolkit.win.api/META-INF/MANIFEST.MF
+++ b/org.eclipse.jubula.toolkit.win.api/META-INF/MANIFEST.MF
@@ -13,8 +13,9 @@ Export-Package: org.eclipse.jubula.toolkit.win,
Require-Bundle: org.apache.commons.lang;bundle-version="[2.4.0,3.0.0)",
org.eclipse.jdt.annotation;bundle-version="[1.1.0,2.0.0)",
org.eclipse.jubula.toolkit.api;bundle-version="[3.0.0,3.1.0)",
- org.eclipse.jubula.toolkit.api.gen;resolution:=optional;bundle-version="[3.0.0,3.1.0)",
+ org.eclipse.jubula.client.api;bundle-version="[3.0.0,3.1.0)",
org.eclipse.jubula.toolkit.base.api;bundle-version="[3.0.0,3.1.0)",
- org.eclipse.jubula.toolkit.concrete.api;bundle-version="[3.0.0,3.1.0)",
org.eclipse.jubula.tools;bundle-version="[3.0.0,3.1.0)",
+ org.eclipse.jubula.toolkit.api.gen;resolution:=optional;bundle-version="[3.0.0,3.1.0)",
+ org.eclipse.jubula.toolkit.concrete.api;bundle-version="[3.0.0,3.1.0)",
org.eclipse.jubula.communication;bundle-version="[3.0.0,3.1.0)"
diff --git a/org.eclipse.jubula.toolkit.win.api/src/org/eclipse/jubula/toolkit/win/config/WinAUTConfiguration.java b/org.eclipse.jubula.toolkit.win.api/src/org/eclipse/jubula/toolkit/win/config/WinAUTConfiguration.java
new file mode 100644
index 000000000..520519efd
--- /dev/null
+++ b/org.eclipse.jubula.toolkit.win.api/src/org/eclipse/jubula/toolkit/win/config/WinAUTConfiguration.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2014 BREDEX GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * BREDEX GmbH - initial API and implementation and/or initial documentation
+ *******************************************************************************/
+package org.eclipse.jubula.toolkit.win.config;
+
+import java.util.Locale;
+
+import org.eclipse.jdt.annotation.NonNull;
+import org.eclipse.jdt.annotation.Nullable;
+import org.eclipse.jubula.toolkit.base.config.AbstractOSProcessAUTConfiguration;
+import org.eclipse.jubula.tools.internal.constants.CommandConstants;
+import org.eclipse.jubula.tools.internal.constants.ToolkitConstants;
+
+/**
+ * @author BREDEX GmbH
+ * @noextend This class is not intended to be extended by clients.
+ */
+public class WinAUTConfiguration extends AbstractOSProcessAUTConfiguration {
+ /**
+ * Constructor
+ *
+ * @param name
+ * the name
+ * @param autID
+ * the AUT ID
+ * @param command
+ * the command
+ * @param workingDir
+ * the working directory
+ * @param args
+ * the arguments
+ */
+ public WinAUTConfiguration(
+ @Nullable String name,
+ @NonNull String autID,
+ @NonNull String command,
+ @NonNull String workingDir,
+ @Nullable String[] args) {
+ super(name, autID, command, workingDir, args, Locale.getDefault());
+
+ // Toolkit specific information
+ add(ToolkitConstants.ATTR_TOOLKITID, CommandConstants.WIN_TOOLKIT);
+ }
+} \ No newline at end of file

Back to the top