[jbosstools-commits] JBoss Tools SVN: r22952 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test: widgets and 1 other directory.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Jun 23 10:38:03 EDT 2010
Author: jlukas at redhat.com
Date: 2010-06-23 10:38:03 -0400 (Wed, 23 Jun 2010)
New Revision: 22952
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/SelectWSDLDialog.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WsTesterTest.java
Log:
refactoring - moving helper stuff to separate package
Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WsTesterTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WsTesterTest.java 2010-06-23 14:25:07 UTC (rev 22951)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WsTesterTest.java 2010-06-23 14:38:03 UTC (rev 22952)
@@ -15,42 +15,23 @@
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Arrays;
-import java.util.Collections;
-import java.util.HashMap;
import java.util.List;
-import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.widgets.Shell;
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
-import org.eclipse.swtbot.swt.finder.SWTBot;
-import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
-import org.eclipse.swtbot.swt.finder.waits.Conditions;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotList;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotTabItem;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotText;
-import org.eclipse.ui.internal.WorkbenchMessages;
-import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
-import org.jboss.tools.ui.bot.ext.gen.IView;
-import org.jboss.tools.ui.bot.ext.view.ViewBase;
-import org.jboss.tools.ws.ui.messages.JBossWSUIMessages;
+import org.jboss.tools.ws.ui.bot.test.widgets.SelectWSDLDialog;
+import org.jboss.tools.ws.ui.bot.test.widgets.WsTesterView;
import org.junit.Assert;
import org.junit.Test;
-import org.osgi.framework.Bundle;
/**
* Tests for Web Service Tester
*
* @author jlukas
*/
- at SuppressWarnings("restriction")
public class WsTesterTest extends SWTTestExt {
private static final Logger L = Logger.getLogger(WsTesterTest.class.getName());
@@ -223,6 +204,7 @@
// checkResponse(rsp, "Colorado Springs");
// viewBot.close();
// }
+
@Test
public void testOpenMonitor() {
WsTesterView wstv = new WsTesterView();
@@ -312,272 +294,4 @@
}
}
}
-
- private static class WsTesterView extends ViewBase {
-
- private static final Bundle WSUI_BUNDLE = Platform.getBundle("org.jboss.tools.ws.ui");
-
- enum Ws_Type {
-
- JAX_WS, JAX_RS;
-
- String getLabel() {
- switch (this) {
- case JAX_WS:
- return "JAX-WS";
- case JAX_RS:
- return "JAX-RS";
- }
- throw new AssertionError("Invalid Web Service Type");
- }
- }
-
- enum Http_Method {
-
- GET, POST, PUT, DELETE;
- }
-
- enum Request_Arg_Type {
-
- HEADER(JBossWSUIMessages.JAXRSWSTestView_Request_Header_Label),
- PARAMETER(JBossWSUIMessages.JAXRSWSTestView_Request_Parameters_Label);
- private String type;
-
- private Request_Arg_Type(String s) {
- type = s;
- }
-
- private String getType() {
- return type;
- }
- }
-
- public WsTesterView() {
- super();
- viewObject = new IView() {
-
- public String getName() {
- // Web Service Tester
- return getStringFromBundle("%test.view.name");
- }
-
- public List<String> getGroupPath() {
- // JBoss Tools Web Services
- return Collections.singletonList(getStringFromBundle("%test.view.category.name"));
- }
- };
- }
-
- @Override
- public SWTBotView show() {
- SWTBotView b = super.show();
- // maximize tester view
- menu(IDEWorkbenchMessages.Workbench_window).menu(WorkbenchMessages.MaximizePartAction_text).click();
- return b;
- }
-
- public void setWebServiceType(Ws_Type type) {
- //Web Service Type:
- comboBoxWithLabel(JBossWSUIMessages.JAXRSWSTestView_Web_Service_Type_Label).setSelection(type.getLabel());
- }
-
-// public void setSampleContent() {
-// button(JBossWSUIMessages.JAXRSWSTestView_Set_Sample_Data_Label).click();
-// }
-
- public void setHttpMethod(Http_Method m) {
- getHTTPTypeCombo().setSelection(m.toString());
- }
-
- public Http_Method getHttpMethod() {
- return Enum.valueOf(Http_Method.class, getHTTPTypeCombo().getText());
- }
-
- public boolean isHttpMethodSelectionEnabled() {
- return getHTTPTypeCombo().isEnabled();
- }
-
- public void setServiceURL(String url) {
- getServiceURLCombo().typeText(url);
- }
-
- public String getServiceURL() {
- return getServiceURLCombo().getText();
- }
-
- public void setActionURL(String s) {
- getActionURLText().typeText(s);
- }
-
- public String getActionURL() {
- return getActionURLText().getText();
- }
-
- public void setRequestBody(String s) {
- SWTBotTabItem ti = tabItem(JBossWSUIMessages.JAXRSWSTestView_Request_Body_Label);
- ti.activate();
- text(1).setText(s);
- }
-
- public void addRequestArg(Request_Arg_Type type, String name, String value) {
- SWTBotTabItem ti = bot.tabItem(type.getType());
- ti.activate();
- text(1).typeText(name + "=" + value);
- bot.button("Add").click();
- text(1).setText("");
- }
-
- public Map<String, String> getRequestArgs(Request_Arg_Type type) {
- SWTBotTabItem ti = bot.tabItem(type.getType());
- ti.activate();
- String[] args = list(0).getItems();
- Map<String, String> result = new HashMap<String, String>();
- for (String s : args) {
- int i = s.indexOf('=');
- result.put(s.substring(0, i), s.substring(i + 1));
- }
- return result;
- }
-
- public void editRequestArg(Request_Arg_Type type, String oldName,
- String oldValue, String newName, String newValue) {
- SWTBotTabItem ti = bot.tabItem(type.getType());
- ti.activate();
- bot.list(0).select(oldName + "=" + oldValue);
- bot.button("Edit").click();
- SWTBot sh = bot.activeShell().bot();
- sh.text(0).typeText(newName + "=" + newValue);
- sh.button(IDialogConstants.OK_LABEL).click();
- }
-
- public void upRequestArg(Request_Arg_Type type, String name, String value) {
- SWTBotTabItem ti = bot.tabItem(type.getType());
- ti.activate();
- list(0).select(name + "=" + value);
- bot.button("Up").click();
- }
-
- public void downRequestArg(Request_Arg_Type type, String name, String value) {
- SWTBotTabItem ti = bot.tabItem(type.getType());
- ti.activate();
- list(0).select(name + "=" + value);
- bot.button("Down").click();
- }
-
- public void removeRequestArg(Request_Arg_Type type, String name, String value) {
- SWTBotTabItem ti = bot.tabItem(type.getType());
- ti.activate();
- list(0).select(name + "=" + value);
- bot.button("Remove").click();
- }
-
- public void clearRequestArgs(Request_Arg_Type type) {
- SWTBotTabItem ti = bot.tabItem(type.getType());
- ti.activate();
- SWTBotButton b = bot.button("Clear All");
- if (b.isEnabled()) {
- b.click();
- }
- }
-
- public String getResponseBody() {
- SWTBotTabItem ti = tabItem(JBossWSUIMessages.JAXRSWSTestView_Results_Body_Label);
- ti.activate();
- return bot.text(2).getText();
- }
-
- public String[] getResponseHeaders() {
- SWTBotTabItem ti = tabItem(JBossWSUIMessages.JAXRSWSTestView_Results_Header_Label);
- ti.activate();
- return list(1).getItems();
- }
-
- public void invoke() {
- String dlgTitle = JBossWSUIMessages.JAXRSWSTestView_Invoke_Label;
- button(dlgTitle).click();
- waitWhile(Conditions.shellIsActive(dlgTitle), 120000);
- sleep(500);
- }
-
- public SelectWSDLDialog getFromWSDL() {
- button(JBossWSUIMessages.JAXRSWSTestView_Button_Get_From_WSDL).click();
- return new SelectWSDLDialog(activeShell().widget);
- }
-
- public void openMonitor() {
- button(JBossWSUIMessages.JAXRSWSTestView_Open_Monitor_Button).click();
- }
-
- public void configureMonitor() {
- button(JBossWSUIMessages.JAXRSWSTestView_Configure_Monitor_Button).click();
- }
-
- private String getStringFromBundle(String key) {
- return Platform.getResourceString(WSUI_BUNDLE, key);
- }
-
- private SWTBotCombo getHTTPTypeCombo() {
- //HTTP Method:
- return comboBoxWithLabel(JBossWSUIMessages.JAXRSWSTestView_HTTP_Method_Label);
- }
-
- private SWTBotCombo getServiceURLCombo() {
- //Service URL:
- return comboBoxWithLabel(JBossWSUIMessages.JAXRSWSTestView_Service_URL_Label);
- }
-
- private SWTBotText getActionURLText() {
- //Action URL:
- return textWithLabel(JBossWSUIMessages.JAXRSWSTestView_Action_URL_Label);
- }
- }
-
- private static class SelectWSDLDialog extends SWTBotShell {
-
- public SelectWSDLDialog(Shell shell) throws WidgetNotFoundException {
- super(shell);
- assert JBossWSUIMessages.WSDLBrowseDialog_Dialog_Title.equals(getText());
- }
-
- public void openURL() {
- bot().button(JBossWSUIMessages.WSDLBrowseDialog_URL_Browse).click();
- }
-
-// public void setURI(String s) {
-// bot().comboBoxWithLabel(JBossWSUIMessages.WSDLBrowseDialog_WSDL_URI_Field).setText(s);
-// }
-
- public String getURI() {
- return bot().comboBoxWithLabel(JBossWSUIMessages.WSDLBrowseDialog_WSDL_URI_Field).getText();
- }
-
- public List<String> getServices() {
- return getItems(JBossWSUIMessages.WSDLBrowseDialog_Service_Field);
- }
-
- public List<String> getPorts() {
- return getItems(JBossWSUIMessages.WSDLBrowseDialog_Port_Field);
- }
-
- public List<String> getOperations() {
- return Arrays.asList(getOperationsList().getItems());
- }
-
- public void selectOperation(String op) {
- getOperationsList().select(op);
- }
-
- public void ok() {
- bot().button(IDialogConstants.OK_LABEL).click();
- }
-
- private List<String> getItems(String label) {
- String[] items = bot().comboBoxWithLabel(label).items();
- return Arrays.asList(items);
- }
-
- private SWTBotList getOperationsList() {
- return bot().listWithLabel(JBossWSUIMessages.WSDLBrowseDialog_Operation_Field);
- }
- }
}
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/SelectWSDLDialog.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/SelectWSDLDialog.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/SelectWSDLDialog.java 2010-06-23 14:38:03 UTC (rev 22952)
@@ -0,0 +1,60 @@
+package org.jboss.tools.ws.ui.bot.test.widgets;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotList;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.jboss.tools.ws.ui.messages.JBossWSUIMessages;
+
+public class SelectWSDLDialog extends SWTBotShell {
+
+ public SelectWSDLDialog(Shell shell) throws WidgetNotFoundException {
+ super(shell);
+ assert JBossWSUIMessages.WSDLBrowseDialog_Dialog_Title.equals(getText());
+ }
+
+ public void openURL() {
+ bot().button(JBossWSUIMessages.WSDLBrowseDialog_URL_Browse).click();
+ }
+
+ // public void setURI(String s) {
+ // bot().comboBoxWithLabel(JBossWSUIMessages.WSDLBrowseDialog_WSDL_URI_Field).setText(s);
+ // }
+
+ public String getURI() {
+ return bot().comboBoxWithLabel(JBossWSUIMessages.WSDLBrowseDialog_WSDL_URI_Field).getText();
+ }
+
+ public List<String> getServices() {
+ return getItems(JBossWSUIMessages.WSDLBrowseDialog_Service_Field);
+ }
+
+ public List<String> getPorts() {
+ return getItems(JBossWSUIMessages.WSDLBrowseDialog_Port_Field);
+ }
+
+ public List<String> getOperations() {
+ return Arrays.asList(getOperationsList().getItems());
+ }
+
+ public void selectOperation(String op) {
+ getOperationsList().select(op);
+ }
+
+ public void ok() {
+ bot().button(IDialogConstants.OK_LABEL).click();
+ }
+
+ private List<String> getItems(String label) {
+ String[] items = bot().comboBoxWithLabel(label).items();
+ return Arrays.asList(items);
+ }
+
+ private SWTBotList getOperationsList() {
+ return bot().listWithLabel(JBossWSUIMessages.WSDLBrowseDialog_Operation_Field);
+ }
+}
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/widgets/WsTesterView.java 2010-06-23 14:38:03 UTC (rev 22952)
@@ -0,0 +1,250 @@
+package org.jboss.tools.ws.ui.bot.test.widgets;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.waits.Conditions;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotCombo;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTabItem;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotText;
+import org.eclipse.ui.internal.WorkbenchMessages;
+import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
+import org.jboss.tools.ui.bot.ext.gen.IView;
+import org.jboss.tools.ui.bot.ext.view.ViewBase;
+import org.jboss.tools.ws.ui.bot.test.WsTesterTest;
+import org.jboss.tools.ws.ui.messages.JBossWSUIMessages;
+import org.osgi.framework.Bundle;
+
+ at SuppressWarnings("restriction")
+public class WsTesterView extends ViewBase {
+
+ private static final Bundle WSUI_BUNDLE = Platform.getBundle("org.jboss.tools.ws.ui");
+
+ public enum Ws_Type {
+
+ JAX_WS, JAX_RS;
+
+ String getLabel() {
+ switch (this) {
+ case JAX_WS:
+ return "JAX-WS";
+ case JAX_RS:
+ return "JAX-RS";
+ }
+ throw new AssertionError("Invalid Web Service Type");
+ }
+ }
+
+ public enum Http_Method {
+
+ GET, POST, PUT, DELETE;
+ }
+
+ public enum Request_Arg_Type {
+
+ HEADER(JBossWSUIMessages.JAXRSWSTestView_Request_Header_Label),
+ PARAMETER(JBossWSUIMessages.JAXRSWSTestView_Request_Parameters_Label);
+
+ private String type;
+
+ private Request_Arg_Type(String s) {
+ type = s;
+ }
+
+ private String getType() {
+ return type;
+ }
+ }
+
+ public WsTesterView() {
+ super();
+ viewObject = new IView() {
+
+ public String getName() {
+ // Web Service Tester
+ return getStringFromBundle("%test.view.name");
+ }
+
+ public List<String> getGroupPath() {
+ // JBoss Tools Web Services
+ return Collections.singletonList(getStringFromBundle("%test.view.category.name"));
+ }
+ };
+ }
+
+ @Override
+ public SWTBotView show() {
+ SWTBotView b = super.show();
+ // maximize tester view
+ menu(IDEWorkbenchMessages.Workbench_window).menu(
+ WorkbenchMessages.MaximizePartAction_text).click();
+ return b;
+ }
+
+ public void setWebServiceType(WsTesterView.Ws_Type type) {
+ // Web Service Type:
+ comboBoxWithLabel(JBossWSUIMessages.JAXRSWSTestView_Web_Service_Type_Label)
+ .setSelection(type.getLabel());
+ }
+
+ // public void setSampleContent() {
+ // button(JBossWSUIMessages.JAXRSWSTestView_Set_Sample_Data_Label).click();
+ // }
+
+ public void setHttpMethod(WsTesterView.Http_Method m) {
+ getHTTPTypeCombo().setSelection(m.toString());
+ }
+
+ public WsTesterView.Http_Method getHttpMethod() {
+ return Enum.valueOf(WsTesterView.Http_Method.class, getHTTPTypeCombo().getText());
+ }
+
+ public boolean isHttpMethodSelectionEnabled() {
+ return getHTTPTypeCombo().isEnabled();
+ }
+
+ public void setServiceURL(String url) {
+ getServiceURLCombo().typeText(url);
+ }
+
+ public String getServiceURL() {
+ return getServiceURLCombo().getText();
+ }
+
+ public void setActionURL(String s) {
+ getActionURLText().typeText(s);
+ }
+
+ public String getActionURL() {
+ return getActionURLText().getText();
+ }
+
+ public void setRequestBody(String s) {
+ SWTBotTabItem ti = tabItem(JBossWSUIMessages.JAXRSWSTestView_Request_Body_Label);
+ ti.activate();
+ text(1).setText(s);
+ }
+
+ public void addRequestArg(WsTesterView.Request_Arg_Type type, String name,
+ String value) {
+ SWTBotTabItem ti = WsTesterTest.bot.tabItem(type.getType());
+ ti.activate();
+ text(1).typeText(name + "=" + value);
+ WsTesterTest.bot.button("Add").click();
+ text(1).setText("");
+ }
+
+ public Map<String, String> getRequestArgs(WsTesterView.Request_Arg_Type type) {
+ SWTBotTabItem ti = WsTesterTest.bot.tabItem(type.getType());
+ ti.activate();
+ String[] args = list(0).getItems();
+ Map<String, String> result = new HashMap<String, String>();
+ for (String s : args) {
+ int i = s.indexOf('=');
+ result.put(s.substring(0, i), s.substring(i + 1));
+ }
+ return result;
+ }
+
+ public void editRequestArg(WsTesterView.Request_Arg_Type type,
+ String oldName, String oldValue, String newName, String newValue) {
+ SWTBotTabItem ti = WsTesterTest.bot.tabItem(type.getType());
+ ti.activate();
+ WsTesterTest.bot.list(0).select(oldName + "=" + oldValue);
+ WsTesterTest.bot.button("Edit").click();
+ SWTBot sh = WsTesterTest.bot.activeShell().bot();
+ sh.text(0).typeText(newName + "=" + newValue);
+ sh.button(IDialogConstants.OK_LABEL).click();
+ }
+
+ public void upRequestArg(WsTesterView.Request_Arg_Type type, String name,
+ String value) {
+ SWTBotTabItem ti = WsTesterTest.bot.tabItem(type.getType());
+ ti.activate();
+ list(0).select(name + "=" + value);
+ WsTesterTest.bot.button("Up").click();
+ }
+
+ public void downRequestArg(WsTesterView.Request_Arg_Type type, String name,
+ String value) {
+ SWTBotTabItem ti = WsTesterTest.bot.tabItem(type.getType());
+ ti.activate();
+ list(0).select(name + "=" + value);
+ WsTesterTest.bot.button("Down").click();
+ }
+
+ public void removeRequestArg(WsTesterView.Request_Arg_Type type,
+ String name, String value) {
+ SWTBotTabItem ti = WsTesterTest.bot.tabItem(type.getType());
+ ti.activate();
+ list(0).select(name + "=" + value);
+ WsTesterTest.bot.button("Remove").click();
+ }
+
+ public void clearRequestArgs(WsTesterView.Request_Arg_Type type) {
+ SWTBotTabItem ti = WsTesterTest.bot.tabItem(type.getType());
+ ti.activate();
+ SWTBotButton b = WsTesterTest.bot.button("Clear All");
+ if (b.isEnabled()) {
+ b.click();
+ }
+ }
+
+ public String getResponseBody() {
+ SWTBotTabItem ti = tabItem(JBossWSUIMessages.JAXRSWSTestView_Results_Body_Label);
+ ti.activate();
+ return WsTesterTest.bot.text(2).getText();
+ }
+
+ public String[] getResponseHeaders() {
+ SWTBotTabItem ti = tabItem(JBossWSUIMessages.JAXRSWSTestView_Results_Header_Label);
+ ti.activate();
+ return list(1).getItems();
+ }
+
+ public void invoke() {
+ String dlgTitle = JBossWSUIMessages.JAXRSWSTestView_Invoke_Label;
+ button(dlgTitle).click();
+ waitWhile(Conditions.shellIsActive(dlgTitle), 120000);
+ sleep(500);
+ }
+
+ public SelectWSDLDialog getFromWSDL() {
+ button(JBossWSUIMessages.JAXRSWSTestView_Button_Get_From_WSDL).click();
+ return new SelectWSDLDialog(activeShell().widget);
+ }
+
+ public void openMonitor() {
+ button(JBossWSUIMessages.JAXRSWSTestView_Open_Monitor_Button).click();
+ }
+
+ public void configureMonitor() {
+ button(JBossWSUIMessages.JAXRSWSTestView_Configure_Monitor_Button).click();
+ }
+
+ private String getStringFromBundle(String key) {
+ return Platform.getResourceString(WSUI_BUNDLE, key);
+ }
+
+ private SWTBotCombo getHTTPTypeCombo() {
+ // HTTP Method:
+ return comboBoxWithLabel(JBossWSUIMessages.JAXRSWSTestView_HTTP_Method_Label);
+ }
+
+ private SWTBotCombo getServiceURLCombo() {
+ // Service URL:
+ return comboBoxWithLabel(JBossWSUIMessages.JAXRSWSTestView_Service_URL_Label);
+ }
+
+ private SWTBotText getActionURLText() {
+ // Action URL:
+ return textWithLabel(JBossWSUIMessages.JAXRSWSTestView_Action_URL_Label);
+ }
+}
\ No newline at end of file
More information about the jbosstools-commits
mailing list