[jbosstools-commits] JBoss Tools SVN: r35541 - trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/src/org/jboss/tools/modeshape/rest/ui/bot/tests.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Oct 11 11:35:17 EDT 2011


Author: psrna
Date: 2011-10-11 11:35:17 -0400 (Tue, 11 Oct 2011)
New Revision: 35541

Modified:
   trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/src/org/jboss/tools/modeshape/rest/ui/bot/tests/Publishing.java
Log:


Modified: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/src/org/jboss/tools/modeshape/rest/ui/bot/tests/Publishing.java
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/src/org/jboss/tools/modeshape/rest/ui/bot/tests/Publishing.java	2011-10-11 15:29:57 UTC (rev 35540)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.ui.bot.test/src/org/jboss/tools/modeshape/rest/ui/bot/tests/Publishing.java	2011-10-11 15:35:17 UTC (rev 35541)
@@ -51,7 +51,7 @@
 		
 		wiz = open.newObject(ActionItem.NewObject.GeneralFile.LABEL);
 		wiz.tree().select(Properties.PROJECT_NAME);
-		wiz.textWithLabel(ActionItem.NewObject.GeneralFile.TEXT_FILE_NAME).typeText(Properties.FILE_NAME);
+		wiz.textWithLabel(ActionItem.NewObject.GeneralFile.TEXT_FILE_NAME).setText(Properties.FILE_NAME);
 		open.finish(wiz);
 		assertTrue(projectExplorer.isFilePresent(Properties.PROJECT_NAME, Properties.FILE_NAME));	
 		
@@ -97,9 +97,9 @@
 		SWTBotShell shell = bot.shell("New Server");
 		shell.activate();
 
-		shell.bot().textWithLabel("URL:").typeText(Properties.URL);
-		shell.bot().textWithLabel("User:").typeText(Properties.USER);
-		shell.bot().textWithLabel("Password:").typeText(Properties.PASSWORD);
+		shell.bot().textWithLabel("URL:").setText(Properties.URL);
+		shell.bot().textWithLabel("User:").setText(Properties.USER);
+		shell.bot().textWithLabel("Password:").setText(Properties.PASSWORD);
 
 		shell.bot().button("Test").click();
 		shell = bot.shell("Test Server Connection");



More information about the jbosstools-commits mailing list