[jbosstools-commits] JBoss Tools SVN: r22847 - trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jun 17 03:44:10 EDT 2010


Author: dmaliarevich
Date: 2010-06-17 03:44:09 -0400 (Thu, 17 Jun 2010)
New Revision: 22847

Modified:
   trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ExternalizeStringsDialogTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6287 , messages in Junit were updated.

Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ExternalizeStringsDialogTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ExternalizeStringsDialogTest.java	2010-06-17 07:20:41 UTC (rev 22846)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/wizard/ExternalizeStringsDialogTest.java	2010-06-17 07:44:09 UTC (rev 22847)
@@ -59,28 +59,28 @@
 		/*
 		 * Get toolbar button
 		 */
-		bot.toolbarButtonWithTooltip(VpeUIMessages.EXTENALIZE_STRINGS).click();
-		bot.shell(VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_TITLE).setFocus();
-		bot.shell(VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_TITLE).activate();
+		bot.toolbarButtonWithTooltip(VpeUIMessages.EXTERNALIZE_STRINGS).click();
+		bot.shell(VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_TITLE).setFocus();
+		bot.shell(VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_TITLE).activate();
 		/*
 		 * Check properties key and value fields
 		 */
 		SWTBotText defKeyText = bot.textWithLabelInGroup(
-				VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_PROPERTIES_KEY, 
-				VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_PROPS_STRINGS_GROUP);
+				VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_PROPERTIES_KEY, 
+				VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_PROPS_STRINGS_GROUP);
 		if (null != defKeyText) {
-			assertText(VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_DEFAULT_KEY,
+			assertText(VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_DEFAULT_KEY,
 					defKeyText);
 		}
 		SWTBotText defValueText = bot.textWithLabelInGroup(
-				VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_PROPERTIES_VALUE,
-				VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_PROPS_STRINGS_GROUP);
+				VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_PROPERTIES_VALUE,
+				VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_PROPS_STRINGS_GROUP);
 		if (null != defValueText) {
 			assertText("User", defValueText); //$NON-NLS-1$
 		}
 		SWTBotCheckBox checkBox = bot.checkBox();
 		assertNotNull("Cannot find checkbox '" //$NON-NLS-1$
-				+ VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_NEW_FILE + "'", //$NON-NLS-1$
+				+ VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_NEW_FILE + "'", //$NON-NLS-1$
 				checkBox);
 		/*
 		 * Check that "Next" button is disabled
@@ -142,16 +142,16 @@
 		/*
 		 * Get toolbar button
 		 */
-		bot.toolbarButtonWithTooltip(VpeUIMessages.EXTENALIZE_STRINGS).click();
-		bot.shell(VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_TITLE).setFocus();
-		bot.shell(VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_TITLE).activate();
+		bot.toolbarButtonWithTooltip(VpeUIMessages.EXTERNALIZE_STRINGS).click();
+		bot.shell(VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_TITLE).setFocus();
+		bot.shell(VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_TITLE).activate();
 		
 		/*
 		 * Enable next page and check it 
 		 */
 		SWTBotCheckBox checkBox = bot.checkBox();
 		assertNotNull("Cannot find checkbox '" //$NON-NLS-1$
-				+ VpeUIMessages.EXTRNALIZE_STRINGS_DIALOG_NEW_FILE + "'", //$NON-NLS-1$
+				+ VpeUIMessages.EXTERNALIZE_STRINGS_DIALOG_NEW_FILE + "'", //$NON-NLS-1$
 				checkBox);
 		checkBox.select();
 		assertTrue("Checkbox should be checked.", //$NON-NLS-1$



More information about the jbosstools-commits mailing list