JBoss Tools SVN: r18778 - trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-11-23 07:17:41 -0500 (Mon, 23 Nov 2009)
New Revision: 18778
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
Log:
https://jira.jboss.org/jira/browse/JBIDE-4168
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2009-11-23 12:11:16 UTC (rev 18777)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2009-11-23 12:17:41 UTC (rev 18778)
@@ -694,9 +694,9 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
+ <XModelAttributeReference attributes="directory"
+ entity="ESBFSMessageFilter101" name="directory"/>
<XModelAttribute PROPERTIES="category=general;save=always"
- name="directory" xmlname="directory"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
name="username" xmlname="username"/>
<XModelAttribute PROPERTIES="category=general;save=always"
name="password" xmlname="password"/>
15 years, 1 month
JBoss Tools SVN: r18777 - trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-11-23 07:11:16 -0500 (Mon, 23 Nov 2009)
New Revision: 18777
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
Log:
https://jira.jboss.org/jira/browse/JBIDE-4168
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2009-11-23 11:56:50 UTC (rev 18776)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2009-11-23 12:11:16 UTC (rev 18777)
@@ -490,7 +490,14 @@
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
<XModelAttribute PROPERTIES="category=general;save=always"
- name="directory" xmlname="directory"/>
+ name="directory" xmlname="directory">
+ <Constraint loader="FileFilter">
+ <value name="allFiles=false"/>
+ <value name="mode=DIRECTORIES_ONLY"/>
+ <value name="description=directory"/>
+ </Constraint>
+ <Editor name="FolderChooser"/>
+ </XModelAttribute>
<XModelAttribute PROPERTIES="category=general;save=always"
name="input suffix" xmlname="input-suffix"/>
<XModelAttribute PROPERTIES="category=advanced" name="work suffix" xmlname="work-suffix"/>
@@ -510,7 +517,14 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="post directory" xmlname="post-directory"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="post directory" xmlname="post-directory">
+ <Constraint loader="FileFilter">
+ <value name="allFiles=false"/>
+ <value name="mode=DIRECTORIES_ONLY"/>
+ <value name="description=post directory"/>
+ </Constraint>
+ <Editor name="FolderChooser"/>
+ </XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" name="post suffix" xmlname="post-suffix"/>
<XModelAttribute PROPERTIES="category=advanced" name="error delete" xmlname="error-delete">
<Constraint loader="ListString">
@@ -521,7 +535,14 @@
<Editor name="ListString"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced"
- name="error directory" xmlname="error-directory"/>
+ name="error directory" xmlname="error-directory">
+ <Constraint loader="FileFilter">
+ <value name="allFiles=false"/>
+ <value name="mode=DIRECTORIES_ONLY"/>
+ <value name="description=error directory"/>
+ </Constraint>
+ <Editor name="FolderChooser"/>
+ </XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" name="error suffix" xmlname="error-suffix"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
<Editor name="Note"/>
15 years, 1 month
JBoss Tools SVN: r18776 - trunk/documentation/qa/docs/Test_Cases.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2009-11-23 06:56:50 -0500 (Mon, 23 Nov 2009)
New Revision: 18776
Modified:
trunk/documentation/qa/docs/Test_Cases/SmokeTests.doc
Log:
Mark VPE Editor Tests as SWTBot Automated.
Modified: trunk/documentation/qa/docs/Test_Cases/SmokeTests.doc
===================================================================
(Binary files differ)
15 years, 1 month
JBoss Tools SVN: r18775 - in trunk: jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2009-11-23 05:04:06 -0500 (Mon, 23 Nov 2009)
New Revision: 18775
Added:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/KeyboardHelper.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckFileChangesSaving.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckRenaming.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/EditorSynchronizationTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameFacesConfigFileTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameJSPFileTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java
Modified:
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
Log:
Added Smoke Test of VPE Editor.
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java 2009-11-23 09:55:44 UTC (rev 18774)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -263,6 +263,38 @@
bot.button("OK").click();
}
}
+ /**
+ * Open and activate Properties View if it hadn't been opened before
+ */
+
+ protected void openPropertiesView() {
+ try {
+ bot.viewByTitle(WidgetVariables.PROPERTIES).setFocus();
+ } catch (WidgetNotFoundException e) {
+ bot.menu("Window").menu("Show View").menu("Other...").click();
+ SWTBotTree viewTree = bot.tree();
+ delay();
+ viewTree.expandNode("General").expandNode(
+ WidgetVariables.PROPERTIES).select();
+ bot.button("OK").click();
+ }
+ }
+ /**
+ * Open and activate Outline View if it hadn't been opened before
+ */
+
+ protected void openOutlineView() {
+ try {
+ bot.viewByTitle(WidgetVariables.OUTLINE).setFocus();
+ } catch (WidgetNotFoundException e) {
+ bot.menu("Window").menu("Show View").menu("Other...").click();
+ SWTBotTree viewTree = bot.tree();
+ delay();
+ viewTree.expandNode("General").expandNode(
+ WidgetVariables.OUTLINE).select();
+ bot.button("OK").click();
+ }
+ }
// protected void openProgressStatus() {
// try {
// bot.viewByTitle(WidgetVariables.PROGRESS_STATUS);
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java 2009-11-23 09:55:44 UTC (rev 18774)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -15,6 +15,8 @@
public static final String PALETTE = "JBoss Tools Palette";
public static final String WEB_PROJECTS = "Web Projects";
public static final String SERVERS = "Servers";
+ public static final String PROPERTIES = "Properties";
+ public static final String OUTLINE = "Outline";
public static final String OK_BUTTON = "OK";
public static final String NEXT_BUTTON = "Next >";
public static final String BACK_BUTTON = "< Back";
Added: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/KeyboardHelper.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/KeyboardHelper.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/KeyboardHelper.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,20 @@
+package org.jboss.tools.ui.bot.ext.helper;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Event;
+
+public class KeyboardHelper {
+ public static void pressKeyCode (Display display , int keyCode){
+
+ Event keyPressed = new Event();
+ keyPressed.keyCode = keyCode;
+ keyPressed.type = SWT.KeyDown;
+ display.post(keyPressed);
+ Event keyReleased = new Event();
+ keyReleased.keyCode = keyCode;
+ keyReleased.type = SWT.KeyUp;
+ display.post(keyReleased);
+
+ }
+}
Property changes on: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/KeyboardHelper.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF 2009-11-23 09:55:44 UTC (rev 18774)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/META-INF/MANIFEST.MF 2009-11-23 10:04:06 UTC (rev 18775)
@@ -23,7 +23,8 @@
org.jboss.tools.vpe.xulrunner;bundle-version="2.1.0",
org.eclipse.jface.text;bundle-version="3.5.0",
org.jboss.tools.jst.jsp;bundle-version="2.0.0",
- org.junit4
+ org.junit4,
+ org.jboss.tools.ui.bot.ext;bundle-version="1.0.0"
Eclipse-RegisterBuddy: org.apache.log4j
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java 2009-11-23 09:55:44 UTC (rev 18774)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -17,10 +17,17 @@
import org.jboss.tools.vpe.ui.bot.test.jbide.JBIDE4556Test;
import org.jboss.tools.vpe.ui.bot.test.palette.CancelTagLibDefenitionTest;
import org.jboss.tools.vpe.ui.bot.test.palette.ImportTagsFromTLDFileTest;
+import org.jboss.tools.vpe.ui.bot.test.smoke.EditorSynchronizationTest;
+import org.jboss.tools.vpe.ui.bot.test.smoke.JSPPageCreationTest;
+import org.jboss.tools.vpe.ui.bot.test.smoke.RenameFacesConfigFileTest;
+import org.jboss.tools.vpe.ui.bot.test.smoke.RenameJSPFileTest;
+import org.jboss.tools.vpe.ui.bot.test.smoke.RenameXHTMLFileTest;
+import org.jboss.tools.vpe.ui.bot.test.smoke.XHTMLPageCreationTest;
public class VPEAllBotTests extends SWTBotTestCase{
public static Test suite(){
TestSuite suite = new TestSuite("VPE All Tests");
+
suite.addTestSuite(CancelTagLibDefenitionTest.class);
suite.addTestSuite(ImportTagsFromTLDFileTest.class);
suite.addTestSuite(ToggleCommentTest.class);
@@ -34,6 +41,12 @@
suite.addTestSuite(AlwaysHideSelectionBarWithoutPromptTest.class);
suite.addTestSuite(ShowNonVisualTagsTest.class);
suite.addTestSuite(AddSubstitutedELExpressionFolderScopeTest.class);
+ suite.addTestSuite(EditorSynchronizationTest.class);
+ suite.addTestSuite(JSPPageCreationTest.class);
+ suite.addTestSuite(XHTMLPageCreationTest.class);
+ suite.addTestSuite(RenameFacesConfigFileTest.class);
+ suite.addTestSuite(RenameJSPFileTest.class);
+ suite.addTestSuite(RenameXHTMLFileTest.class);
return new TestSetup(suite);
}
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2009-11-23 09:55:44 UTC (rev 18774)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -52,7 +52,7 @@
return filePath;
}
- void openPage(){
+ protected void openPage(){
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
SWTBotTree tree = innerBot.tree();
tree.expandNode(JBT_TEST_PROJECT_NAME)
@@ -68,12 +68,13 @@
protected void tearDown() throws Exception {
//Restore page state before tests
-
- editor.setFocus();
- bot.menu("Edit").menu("Select All").click();
- bot.menu("Edit").menu("Delete").click();
- editor.setText(editorText);
- editor.save();
+ if (editor != null){
+ editor.setFocus();
+ bot.menu("Edit").menu("Select All").click();
+ bot.menu("Edit").menu("Delete").click();
+ editor.setText(editorText);
+ editor.save();
+ }
super.tearDown();
}
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckFileChangesSaving.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckFileChangesSaving.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckFileChangesSaving.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,63 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEclipseEditor;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.test.SWTJBTBot;
+
+/**
+ * Test Saving Changes To File
+ * @author Vladimir Pakan
+ *
+ */
+public class CheckFileChangesSaving {
+ private static final int sleepTime = 1000;
+ /**
+ * Insert changeText to file in editor, close file, save file dependent on saveFile input parameter
+ * reopen file and check if change was saved or not
+ * @param editor
+ * @param tree
+ * @param fileTreeItem
+ * @param changeText
+ * @param saveFile
+ */
+ public static String checkIt (SWTJBTBot bot, SWTBotEclipseEditor editor , SWTBotTree tree, SWTBotTreeItem fileTreeItem,
+ String changeText, boolean saveFile){
+ String result = null;
+ // Test Saving
+ editor.insertText(changeText);
+ bot.sleep(sleepTime);
+ bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.CLOSE).click();
+ bot.shell(IDELabel.Shell.SAVE_RESOURCE).activate();
+ bot.button(saveFile ? IDELabel.Button.YES : IDELabel.Button.NO).click();
+ bot.sleep(sleepTime);
+ // Reopen Test File
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree , fileTreeItem);
+
+ new SWTBotMenu(ContextMenuHelper.getContextMenu(tree, IDELabel.Menu.OPEN, true)).click();
+ bot.sleep(sleepTime);
+
+ if (saveFile && !bot.editorByTitle(fileTreeItem.getText()).toTextEditor().getText().startsWith(changeText)){
+ result = fileTreeItem.getText() + " was not saved properly.";
+ }
+ else if (!saveFile && bot.editorByTitle(fileTreeItem.getText()).toTextEditor().getText().startsWith(changeText)){
+ result = fileTreeItem.getText() + " was saved even it should not be.";
+ }
+
+ return result;
+
+ }
+}
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckFileChangesSaving.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckRenaming.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckRenaming.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckRenaming.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,97 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.test.SWTJBTBot;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+
+/**
+ * Check Renaming Functionality within WebProjects View
+ * Tests if file war properly renamed in WebProjects View
+ * and Title of file in Editor was renamed also.
+ * @author Vladimir Pakan
+ *
+ */
+public class CheckRenaming {
+ private static final int sleepTime = 1000;
+ /**
+ * Check File Renaming
+ * @param bot
+ * @param oldFileName
+ * @param newFileName
+ * @param treePathItems
+ * @return
+ */
+ public static String checkRenameJSPFile(SWTJBTBot bot , String oldFileName, String newFileName, String... treePathItems){
+
+ bot.sleep(sleepTime);
+ SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
+ SWTBotTree tree = webProjects.tree();
+
+ tree.setFocus();
+
+ if (treePathItems != null && treePathItems.length > 0){
+ SWTBotTreeItem parentTreeItem = tree.getTreeItem(treePathItems[0]);
+ parentTreeItem.expand();
+ int index = 1;
+ while (treePathItems.length > index){
+ parentTreeItem = parentTreeItem.getNode(treePathItems[index]);
+ parentTreeItem.expand();
+ index++;
+ }
+ // Open File
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree , parentTreeItem.getNode(oldFileName));
+ new SWTBotMenu(ContextMenuHelper.getContextMenu(tree, IDELabel.Menu.OPEN, true)).click();
+ bot.sleep(sleepTime);
+ // Rename file
+ new SWTBotMenu(ContextMenuHelper.getContextMenu(tree, IDELabel.Menu.RENAME, true)).click();
+ bot.shell(IDELabel.Shell.RENAME_RESOURCE).activate();
+ bot.textWithLabel(IDELabel.RenameResourceDialog.NEW_NAME)
+ .setText(newFileName);
+ bot.button(IDELabel.Button.OK).click();
+ bot.sleep(sleepTime);
+ // Check Results
+ // File with Old Name doesn't exists within WebProjects View
+ try{
+ parentTreeItem.getNode(oldFileName);
+ return "File " + oldFileName + " was not renamed to " + newFileName + ".";
+ }catch (WidgetNotFoundException wnfe) {
+ // do nothing
+ }
+ // File with New Name exists within WebProjects View
+ try{
+ parentTreeItem.getNode(newFileName);
+ }catch (WidgetNotFoundException wnfe) {
+ return "Renamed File " + newFileName + " was not found.";
+ }
+ // Editor Title was renamed
+ try{
+ bot.editorByTitle(newFileName);
+ }catch (WidgetNotFoundException wnfe) {
+ return "Editor Title was not changed to " + newFileName + " after renaming.";
+ }
+ }
+ else{
+ return "Unable to find file for renaming.";
+ }
+
+ return null;
+
+ }
+
+}
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/CheckRenaming.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/EditorSynchronizationTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/EditorSynchronizationTest.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/EditorSynchronizationTest.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,75 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import java.util.Iterator;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEclipseEditor;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.helper.KeyboardHelper;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
+/**
+ * Test VPE Editor synchronization with Properties and Outline View
+ * @author Vladimir Pakan
+ *
+ */
+public class EditorSynchronizationTest extends VPEEditorTestCase{
+
+ public void testEditorSynchronization() throws Throwable{
+
+ openPage();
+ openOutlineView();
+ openPropertiesView();
+ checkVPEEditorSynchronization();
+
+ setException(null);
+
+ }
+ /**
+ * Check VPE Editor synchronization with Properties and Outline View
+ */
+ private void checkVPEEditorSynchronization(){
+
+ final SWTBotEclipseEditor jspTextEditor = bot.editorByTitle(TEST_PAGE).toTextEditor();
+
+ int lineIndex = 0;
+ int messageLineIndex = -1;
+ Iterator<String> lineIterator = jspTextEditor.getLines().iterator();
+ while (lineIterator.hasNext() && messageLineIndex == -1) {
+ if (lineIterator.next().trim().startsWith("<h:messages ")) {
+ messageLineIndex = lineIndex;
+ } else {
+ lineIndex++;
+ }
+ }
+
+ jspTextEditor.navigateTo(messageLineIndex, 3);
+
+ KeyboardHelper.pressKeyCode(bot.getDisplay(), SWT.ARROW_LEFT);
+
+ delay();
+
+ assertTrue("h:messages node is not selected within Outline View",
+ bot.viewByTitle(WidgetVariables.OUTLINE).bot().tree().selection().get(0).get(0).startsWith("h:messages "));
+
+ SWTBotTree outlineTree = bot.viewByTitle(WidgetVariables.PROPERTIES).bot().tree();
+ outlineTree.getTreeItem("Attributes").expand().getNode("style").select();
+
+ assertTrue("style attribute of h:message node has wrong value within Properties view" +
+ ". Should be 'color: red'",
+ outlineTree.selection().get(0).get(1).startsWith("color: red"));
+
+ jspTextEditor.close();
+
+ }
+}
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/EditorSynchronizationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,85 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
+/**
+ * Test JSP page Creation and Saving
+ * @author Vladimir Pakan
+ *
+ */
+public class JSPPageCreationTest extends VPEEditorTestCase{
+
+ public static final String TEST_NEW_JSP_FILE_NAME = "TestJSP.jsp";
+ private static final String SAVE_COMMENT = "<!-- Save This -->\n";
+ private static final String DO_NOT_SAVE_COMMENT = "<!-- Do not Save This -->\n";
+
+ public void testEditorJSPPageCreation() throws Throwable{
+
+ checkJSPPageCreation();
+
+ setException(null);
+
+ }
+ /**
+ * Test JSP page Creation and Saving
+ */
+ private void checkJSPPageCreation(){
+
+ openWebProjects();
+
+ delay();
+
+ SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
+ SWTBotTree tree = webProjects.tree();
+
+ tree.setFocus();
+
+ SWTBotTreeItem webContentTreeItem = tree
+ .getTreeItem(JBT_TEST_PROJECT_NAME)
+ .expand()
+ .getNode(IDELabel.WebProjectsTree.WEB_CONTENT);
+
+ webContentTreeItem.select();
+ // create new JSP file
+ bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.NEW).menu(IDELabel.Menu.JSP_FILE).click();
+ bot.shell(IDELabel.Shell.NEW_JSP_FILE).activate();
+ bot.textWithLabel(IDELabel.NewJSPFileDialog.NAME).setText(TEST_NEW_JSP_FILE_NAME);
+ bot.comboBoxWithLabel(IDELabel.NewJSPFileDialog.TEMPLATE).setText(IDELabel.NewJSPFileDialog.TEMPLATE_JSF_BASE_PAGE);
+ bot.button(IDELabel.Button.FINISH).click();
+
+ SWTBotTreeItem jspTestPageTreeItem = webContentTreeItem.getNode(TEST_NEW_JSP_FILE_NAME);
+
+ String checkResult = CheckFileChangesSaving.checkIt(bot, bot.editorByTitle(TEST_NEW_JSP_FILE_NAME).toTextEditor(),
+ tree, jspTestPageTreeItem,
+ SAVE_COMMENT, true);
+
+ assertNull(checkResult,checkResult);
+
+ checkResult = CheckFileChangesSaving.checkIt(bot, bot.editorByTitle(TEST_NEW_JSP_FILE_NAME).toTextEditor(),
+ tree, jspTestPageTreeItem,
+ DO_NOT_SAVE_COMMENT, false);
+
+ assertNull(checkResult,checkResult);
+
+ delay();
+
+ bot.editorByTitle(TEST_NEW_JSP_FILE_NAME).toTextEditor().close();
+
+ }
+
+
+}
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/JSPPageCreationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameFacesConfigFileTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameFacesConfigFileTest.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameFacesConfigFileTest.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTable;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
+/**
+ * Test renaming of faces-config.xml file
+ * @author Vladimir Pakan
+ *
+ */
+public class RenameFacesConfigFileTest extends VPEEditorTestCase{
+
+ private static final String NEW_FACES_CONFIG_FILE_NAME = "faces-config-renamed.xml";
+ private static final String OLD_FACES_CONFIG_FILE_NAME = "faces-config.xml";
+
+ public void testRenameFacesConfigFile() throws Throwable{
+
+ checkRenameFacesConfigFile();
+
+ setException(null);
+
+ }
+ /**
+ * Check renaming of faces-config.xml file
+ */
+ private void checkRenameFacesConfigFile(){
+
+ openWebProjects();
+
+ delay();
+
+ SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
+ SWTBotTree tree = webProjects.tree();
+
+ tree.setFocus();
+ String checkResult = CheckRenaming.checkRenameJSPFile(bot, OLD_FACES_CONFIG_FILE_NAME, NEW_FACES_CONFIG_FILE_NAME,
+ JBT_TEST_PROJECT_NAME,IDELabel.WebProjectsTree.CONFIGURATION);
+ assertNull(checkResult,checkResult);
+ // web.xml file was properly modified
+ SWTBotTreeItem configFilesTreeItem = tree
+ .getTreeItem(JBT_TEST_PROJECT_NAME)
+ .expand()
+ .getNode(IDELabel.WebProjectsTree.WEB_XML)
+ .expand()
+ .getNode(IDELabel.WebProjectsTree.CONTEXT_PARAMS)
+ .expand()
+ .getNode(IDELabel.WebProjectsTree.JAVAX_FACES_CONFIG_FILES);
+
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree,configFilesTreeItem);
+ new SWTBotMenu(ContextMenuHelper.getContextMenu(tree, IDELabel.Menu.PROPERTIES, true)).click();
+ bot.shell(IDELabel.Shell.PROPERTIES).activate();
+ SWTBotTable propertiesTable = bot.table();
+ String fullConfigFileName = propertiesTable.cell(propertiesTable.indexOf(IDELabel.PropertiesDialog.PARAM_VALUE, 0), 1);
+ bot.button(IDELabel.Button.CLOSE).click();
+ assertTrue(NEW_FACES_CONFIG_FILE_NAME + "Name of "
+ + OLD_FACES_CONFIG_FILE_NAME
+ + " file was not changed in web.xml file.",
+ fullConfigFileName.endsWith(NEW_FACES_CONFIG_FILE_NAME));
+ }
+}
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameFacesConfigFileTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameJSPFileTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameJSPFileTest.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameJSPFileTest.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,53 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
+/**
+ * Test renaming of JSP file
+ * @author Vladimir Pakan
+ *
+ */
+public class RenameJSPFileTest extends VPEEditorTestCase{
+
+ private static final String NEW_JSP_FILE_NAME = "renamed-"
+ + JSPPageCreationTest.TEST_NEW_JSP_FILE_NAME;
+
+ public void testRenameJSPFile() throws Throwable{
+
+ checkRenameJSPFile();
+
+ setException(null);
+
+ }
+
+ private void checkRenameJSPFile(){
+
+ openWebProjects();
+
+ delay();
+
+ SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
+ SWTBotTree tree = webProjects.tree();
+
+ tree.setFocus();
+ String checkResult = CheckRenaming.checkRenameJSPFile(bot,
+ JSPPageCreationTest.TEST_NEW_JSP_FILE_NAME, NEW_JSP_FILE_NAME,
+ JBT_TEST_PROJECT_NAME, IDELabel.WebProjectsTree.WEB_CONTENT);
+ assertNull(checkResult, checkResult);
+
+ }
+
+}
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameJSPFileTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,57 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
+
+/**
+ * Test renaming of XHTML file
+ *
+ * @author Vladimir Pakan
+ *
+ */
+public class RenameXHTMLFileTest extends VPEEditorTestCase {
+
+ private static final String NEW_XHTML_FILE_NAME = "renamed-"
+ + XHTMLPageCreationTest.TEST_NEW_XHTML_FILE_NAME;
+
+ public void testRenameFacesConfigFile() throws Throwable {
+
+ checkRenameXHTMLFile();
+
+ setException(null);
+
+ }
+
+ /**
+ * Check renaming of faces-config.xml file
+ */
+ private void checkRenameXHTMLFile() {
+
+ openWebProjects();
+
+ delay();
+
+ SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
+ SWTBotTree tree = webProjects.tree();
+
+ tree.setFocus();
+ String checkResult = CheckRenaming.checkRenameJSPFile(bot,
+ XHTMLPageCreationTest.TEST_NEW_XHTML_FILE_NAME, NEW_XHTML_FILE_NAME,
+ JBT_TEST_PROJECT_NAME, IDELabel.WebProjectsTree.WEB_CONTENT);
+ assertNull(checkResult, checkResult);
+
+ }
+}
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/RenameXHTMLFileTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java 2009-11-23 10:04:06 UTC (rev 18775)
@@ -0,0 +1,82 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.ui.bot.test.smoke;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+import org.jboss.tools.vpe.ui.bot.test.editor.VPEEditorTestCase;
+/**
+ * Test XHTML page Creation and Saving
+ * @author Vladimir Pakan
+ *
+ */
+public class XHTMLPageCreationTest extends VPEEditorTestCase{
+
+ public static final String TEST_NEW_XHTML_FILE_NAME = "TestXHTML.xhtml";
+ private static final String SAVE_COMMENT = "<!-- Save This -->\n";
+ private static final String DO_NOT_SAVE_COMMENT = "<!-- Do not Save This -->\n";
+
+ public void testXHTMLPageCreation() throws Throwable{
+
+ checkXHTMLPageCreation();
+
+ setException(null);
+
+ }
+
+ /**
+ * Test XHTML page Creation and Saving
+ */
+ private void checkXHTMLPageCreation(){
+
+ openWebProjects();
+
+ delay();
+
+ SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
+ SWTBotTree tree = webProjects.tree();
+
+ tree.setFocus();
+
+ SWTBotTreeItem webContentTreeItem = tree
+ .getTreeItem(JBT_TEST_PROJECT_NAME)
+ .expand()
+ .getNode(IDELabel.WebProjectsTree.WEB_CONTENT);
+
+ webContentTreeItem.select();
+ // create new JSP file
+ bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.NEW).menu(IDELabel.Menu.XHTML_FILE).click();
+ bot.shell(IDELabel.Shell.NEW_XHTML_FILE).activate();
+ bot.textWithLabel(IDELabel.NewXHTMLFileDialog.NAME).setText(TEST_NEW_XHTML_FILE_NAME);
+ bot.comboBoxWithLabel(IDELabel.NewXHTMLFileDialog.TEMPLATE).setText(IDELabel.NewXHTMLFileDialog.TEMPLATE_FACELET_FORM_XHTML);
+ bot.button(IDELabel.Button.FINISH).click();
+
+ SWTBotTreeItem xhtmlTestPageTreeItem = webContentTreeItem.getNode(TEST_NEW_XHTML_FILE_NAME);
+
+ String checkResult = CheckFileChangesSaving.checkIt(bot,bot.editorByTitle(TEST_NEW_XHTML_FILE_NAME).toTextEditor(), tree, xhtmlTestPageTreeItem,
+ SAVE_COMMENT, true);
+
+ assertNull(checkResult,checkResult);
+
+ checkResult = CheckFileChangesSaving.checkIt(bot,bot.editorByTitle(TEST_NEW_XHTML_FILE_NAME).toTextEditor(), tree, xhtmlTestPageTreeItem,
+ DO_NOT_SAVE_COMMENT, false);
+
+ assertNull(checkResult,checkResult);
+
+ delay();
+
+ bot.editorByTitle(TEST_NEW_XHTML_FILE_NAME).toTextEditor().close();
+
+ }
+}
\ No newline at end of file
Property changes on: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/smoke/XHTMLPageCreationTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 1 month
JBoss Tools SVN: r18774 - in trunk: hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2009-11-23 04:55:44 -0500 (Mon, 23 Nov 2009)
New Revision: 18774
Added:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
Removed:
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/Label.java
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContextMenuHelper.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/ViewType.java
Log:
Rename org.jboss.tools.ui.bot.ext.types.Label to org.jboss.tools.ui.bot.ext.types.IDELabel.
Added Method prepareTreeItemForContextMenu() to ContextMenuHelper class.
Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -16,7 +16,7 @@
import org.jboss.tools.hibernate.ui.bot.testsuite.HibernateTest;
import org.jboss.tools.hibernate.ui.bot.testsuite.Project;
import org.jboss.tools.ui.bot.ext.types.EntityType;
-import org.jboss.tools.ui.bot.ext.types.Label;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -54,16 +54,16 @@
*/
private void createFilesFromClasses() {
// Select Both classes
- SWTBot viewBot = bot.viewByTitle(Label.View.PACKAGE_EXPLORER).bot();
+ SWTBot viewBot = bot.viewByTitle(IDELabel.View.PACKAGE_EXPLORER).bot();
SWTBotTreeItem item = viewBot.tree().expandNode(Project.PROJECT_NAME).expandNode("src");
item = item.expandNode(Project.PACKAGE_NAME).select();
item.select(Project.CLASS1+".java",Project.CLASS2+".java");
// Create mapping files
eclipse.createNew(EntityType.HIBERNATE_MAPPING_FILE);
- eclipse.waitForShell(Label.Shell.NEW_HIBERNATE_MAPPING_FILE);
- bot.button(Label.Button.NEXT).click();
- bot.button(Label.Button.FINISH).click();
+ eclipse.waitForShell(IDELabel.Shell.NEW_HIBERNATE_MAPPING_FILE);
+ bot.button(IDELabel.Button.NEXT).click();
+ bot.button(IDELabel.Button.FINISH).click();
util.waitForNonIgnoredJobs();
// Check if new mapping files exists
@@ -76,14 +76,14 @@
*/
private void createFilesFromPackage() {
// Select Package file
- SWTBot viewBot = bot.viewByTitle(Label.View.PACKAGE_EXPLORER).bot();
+ SWTBot viewBot = bot.viewByTitle(IDELabel.View.PACKAGE_EXPLORER).bot();
SWTBotTreeItem item = viewBot.tree().expandNode(Project.PROJECT_NAME).expandNode("src");
item = item.expandNode(Project.PACKAGE_NAME).select();
// Create mapping files
eclipse.createNew(EntityType.HIBERNATE_MAPPING_FILE);
- eclipse.waitForShell(Label.Shell.NEW_HIBERNATE_MAPPING_FILE);
- bot.button(Label.Button.FINISH).click();
+ eclipse.waitForShell(IDELabel.Shell.NEW_HIBERNATE_MAPPING_FILE);
+ bot.button(IDELabel.Button.FINISH).click();
util.waitForNonIgnoredJobs();
// Check if new mapping files exists
Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateTest.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -14,7 +14,7 @@
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.entity.JavaClassEntity;
import org.jboss.tools.ui.bot.ext.entity.JavaProjectEntity;
-import org.jboss.tools.ui.bot.ext.types.Label;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.ext.types.PerspectiveType;
public class HibernateTest extends SWTTestExt {
@@ -32,7 +32,7 @@
// loadProperties(Activator.PLUGIN_ID);
// Show perspective and view
- eclipse.closeView(Label.View.WELCOME);
+ eclipse.closeView(IDELabel.View.WELCOME);
eclipse.openPerspective(PerspectiveType.JAVA);
// Create needed project
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/smoke/AddRemoveJSFCapabilitiesTest.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -27,6 +27,7 @@
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
import org.jboss.tools.jsf.ui.bot.test.JSFAutoTestCase;
import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.test.WidgetVariables;
/**
@@ -39,22 +40,30 @@
private static final String WEB_PROJECT_JBT_JSF_POPUP_MENU = "JBoss Tools JSF";
private static final String PACKAGE_EXPLORER_JBT_POPUP_MENU = "JBoss Tools";
- private static final String REMOVE_JSF_CAPABILITIES_POPUP_MENU = "Remove JSF Capabilities";
private static final String ADD_JSF_CAPABILITIES_POPUP_MENU = "Add JSF Capabilities...";
private static final String CLOSE_PROJECT_POPUP_MENU = "Clo&se Project";
private static final String OPEN_PROJECT_POPUP_MENU = "Op&en Project";
private static final String DELETE_PROJECT_POPUP_MENU = "Delete";
private static final String IMPORT_PROJECT_POPUP_MENU = "Import Existing JSF Project...";
+ private static final String JBDS_REMOVE_JSF_CAPABILITIES_POPUP_MENU = "Remove Red Hat Capabilities";
+ private static final String JBT_REMOVE_JSF_CAPABILITIES_POPUP_MENU = "Remove JSF Capabilities";
private MenuItem miRunOnServer = null;
-
+
public void testAddRemoveJSFCapabilities() {
-
- removeJSFCapabilities();
+ boolean jbdsIsRunning = false;
+ // Check out if JBoss Developer Studio Is Running
+ try{
+ bot.menu(IDELabel.Menu.HELP).menu(IDELabel.Menu.ABOUT_JBOSS_DEVELOPER_STUDIO);
+ jbdsIsRunning = true;
+ }catch (WidgetNotFoundException wnfe){
+ // do nothing
+ }
+ removeJSFCapabilities(jbdsIsRunning);
addJSFCapabilities();
// Test add/remove JSF capabilities after project is closed and reopened
closeOpenJsfProject();
- removeJSFCapabilities();
+ removeJSFCapabilities(jbdsIsRunning);
addJSFCapabilities();
// Test import of deleted JSF project
deleteJsfProject();
@@ -72,8 +81,7 @@
SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
SWTBotTree tree = webProjects.tree();
- tree.setFocus();
- tree.select(0);
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree);
new SWTBotMenu(ContextMenuHelper.getContextMenu(tree,
IMPORT_PROJECT_POPUP_MENU, false)).click();
@@ -119,8 +127,9 @@
SWTBot servers = bot.viewByTitle(WidgetVariables.SERVERS)
.bot();
SWTBotTree serverTree = servers.tree();
- serverTree.setFocus();
- serverTree.select(0);
+
+ ContextMenuHelper.prepareTreeItemForContextMenu(serverTree);
+
new SWTBotMenu(ContextMenuHelper.getContextMenu(serverTree,
"Start", false)).click();
waitForBlockingJobsAcomplished(45*1000L,STARTING_JBOSS_EAP_43_RUNTIME);
@@ -187,8 +196,9 @@
editor.close();
// Stop Application Server and remove Application Server from Server View
openServerView();
- serverTree.setFocus();
- serverTree.select(0);
+
+ ContextMenuHelper.prepareTreeItemForContextMenu(serverTree);
+
new SWTBotMenu(ContextMenuHelper.getContextMenu(serverTree,
"Stop", false)).click();
@@ -211,14 +221,10 @@
SWTBot packageExplorer = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER)
.bot();
SWTBotTree tree = packageExplorer.tree();
-
- tree.setFocus();
-
- SWTBotTreeItem packageExplorerTreeItem = tree
- .getTreeItem(JBT_TEST_PROJECT_NAME);
- packageExplorerTreeItem.select();
- packageExplorerTreeItem.click();
-
+
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree,
+ tree.getTreeItem(JBT_TEST_PROJECT_NAME));
+
new SWTBotMenu(ContextMenuHelper.getContextMenu(tree,
DELETE_PROJECT_POPUP_MENU, false)).click();
@@ -231,27 +237,36 @@
/**
* Remove JSF Capabilities from JSF Project
+ * @param jbdsIsRunning
*/
- private void removeJSFCapabilities() {
+ private void removeJSFCapabilities(boolean jbdsIsRunning) {
openWebProjects();
+
+ delay();
+
SWTBot webProjects = bot.viewByTitle(WidgetVariables.WEB_PROJECTS).bot();
SWTBotTree tree = webProjects.tree();
+
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree,
+ tree.getTreeItem(JBT_TEST_PROJECT_NAME));
- tree.setFocus();
+ if (jbdsIsRunning){
+ new SWTBotMenu(ContextMenuHelper.getContextMenu(tree,
+ JBDS_REMOVE_JSF_CAPABILITIES_POPUP_MENU, true)).click();
+ }
+ else{
+ new SWTBotMenu(ContextMenuHelper.getContextMenu(tree,
+ WEB_PROJECT_JBT_JSF_POPUP_MENU, true)).menu(
+ JBT_REMOVE_JSF_CAPABILITIES_POPUP_MENU).click();
+
+ }
- SWTBotTreeItem webProjectsTreeItem = tree
- .getTreeItem(JBT_TEST_PROJECT_NAME);
- webProjectsTreeItem.select();
- webProjectsTreeItem.click();
-
- new SWTBotMenu(ContextMenuHelper.getContextMenu(tree,
- WEB_PROJECT_JBT_JSF_POPUP_MENU, true)).menu(
- REMOVE_JSF_CAPABILITIES_POPUP_MENU).click();
-
bot.shell("Confirmation").activate();
bot.button(WidgetVariables.OK_BUTTON).click();
+ delay();
+
assertTrue(
"Project "
+ JBT_TEST_PROJECT_NAME
@@ -279,13 +294,9 @@
.bot();
SWTBotTree tree = packageExplorer.tree();
- tree.setFocus();
-
- SWTBotTreeItem packageExplorerTreeItem = tree
- .getTreeItem(JBT_TEST_PROJECT_NAME);
- packageExplorerTreeItem.select();
- packageExplorerTreeItem.click();
-
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree,
+ tree.getTreeItem(JBT_TEST_PROJECT_NAME));
+
new SWTBotMenu(ContextMenuHelper.getContextMenu(tree,
PACKAGE_EXPLORER_JBT_POPUP_MENU, false)).menu(
ADD_JSF_CAPABILITIES_POPUP_MENU).click();
@@ -337,13 +348,9 @@
.bot();
SWTBotTree tree = packageExplorer.tree();
- tree.setFocus();
-
- SWTBotTreeItem packageExplorerTreeItem = tree
- .getTreeItem(JBT_TEST_PROJECT_NAME);
- packageExplorerTreeItem.select();
- packageExplorerTreeItem.click();
-
+ ContextMenuHelper.prepareTreeItemForContextMenu(tree,
+ tree.getTreeItem(JBT_TEST_PROJECT_NAME));
+
new SWTBotMenu(ContextMenuHelper.getContextMenu(tree,
CLOSE_PROJECT_POPUP_MENU, false)).click();
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -26,7 +26,7 @@
import org.jboss.tools.ui.bot.ext.entity.JavaClassEntity;
import org.jboss.tools.ui.bot.ext.entity.JavaProjectEntity;
import org.jboss.tools.ui.bot.ext.types.EntityType;
-import org.jboss.tools.ui.bot.ext.types.Label;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.ext.types.PerspectiveType;
import org.jboss.tools.ui.bot.ext.types.ViewType;
@@ -57,10 +57,10 @@
* @param type
*/
public void showView(ViewType type) {
- bot.menu(Label.Menu.WINDOW).menu(Label.Menu.SHOW_VIEW).menu(
- Label.Menu.OTHER).click();
+ bot.menu(IDELabel.Menu.WINDOW).menu(IDELabel.Menu.SHOW_VIEW).menu(
+ IDELabel.Menu.OTHER).click();
bot.tree().expandNode(type.getGroupLabel()).expandNode(type.getViewLabel()).select();
- bot.button(Label.Button.OK).click();
+ bot.button(IDELabel.Button.OK).click();
}
@@ -74,18 +74,18 @@
String perspectiveLabel = "";
if (type == PerspectiveType.JAVA) {
- perspectiveLabel = Label.SelectPerspectiveDialog.JAVA;
+ perspectiveLabel = IDELabel.SelectPerspectiveDialog.JAVA;
}
- bot.menu(Label.Menu.WINDOW).menu(Label.Menu.OPEN_PERSPECTIVE).menu(
- Label.Menu.OTHER).click();
+ bot.menu(IDELabel.Menu.WINDOW).menu(IDELabel.Menu.OPEN_PERSPECTIVE).menu(
+ IDELabel.Menu.OTHER).click();
bot.table().select(perspectiveLabel);
// Another approach
// SWTBotShell openPerpectiveShell = bot.shell("Open Perspective");
// openPerpectiveShell.activate();
- bot.button(Label.Button.OK).click();
+ bot.button(IDELabel.Button.OK).click();
}
/**
@@ -95,15 +95,15 @@
public void createJavaProject(JavaProjectEntity entity) {
// NewWizard
createNew(EntityType.JAVA_PROJECT);
- waitForShell(Label.Shell.NEW_JAVA_PROJECT);
+ waitForShell(IDELabel.Shell.NEW_JAVA_PROJECT);
// JavaProjectWizard
- bot.textWithLabel(Label.JavaProjectWizard.PROJECT_NAME).setText(
+ bot.textWithLabel(IDELabel.JavaProjectWizard.PROJECT_NAME).setText(
entity.getProjectName());
- bot.button(Label.Button.FINISH).click();
+ bot.button(IDELabel.Button.FINISH).click();
// Wait for shell closing JavaProjectWizard
- waitForClosedShell(Label.Shell.NEW_JAVA_PROJECT);
+ waitForClosedShell(IDELabel.Shell.NEW_JAVA_PROJECT);
util.waitForNonIgnoredJobs();
}
@@ -113,13 +113,13 @@
*/
public void createJavaClass(JavaClassEntity entity) {
createNew(EntityType.JAVA_CLASS);
- waitForShell(Label.Shell.NEW_JAVA_CLASS);
+ waitForShell(IDELabel.Shell.NEW_JAVA_CLASS);
- bot.textWithLabel(Label.NewClassCreationWizard.PACKAGE_NAME).setText(entity.getPackageName());
- bot.textWithLabel(Label.NewClassCreationWizard.CLASS_NAME).setText(entity.getClassName());
- bot.button(Label.Button.FINISH).click();
+ bot.textWithLabel(IDELabel.NewClassCreationWizard.PACKAGE_NAME).setText(entity.getPackageName());
+ bot.textWithLabel(IDELabel.NewClassCreationWizard.CLASS_NAME).setText(entity.getClassName());
+ bot.button(IDELabel.Button.FINISH).click();
- waitForClosedShell(Label.Shell.NEW_JAVA_CLASS);
+ waitForClosedShell(IDELabel.Shell.NEW_JAVA_CLASS);
util.waitForNonIgnoredJobs();
}
@@ -130,7 +130,7 @@
*/
public void removeFile(String projectName, String... path) {
// Open Package Explorer and aim the Project
- SWTBot viewBot = bot.viewByTitle(Label.View.PACKAGE_EXPLORER).bot();
+ SWTBot viewBot = bot.viewByTitle(IDELabel.View.PACKAGE_EXPLORER).bot();
SWTBotTreeItem item = viewBot.tree().expandNode(projectName);
// Go through path
@@ -140,7 +140,7 @@
// Delete File
item.select().contextMenu("Delete").click();
- bot.button(Label.Button.OK).click();
+ bot.button(IDELabel.Button.OK).click();
}
@@ -150,7 +150,7 @@
* @param path
*/
public void openFile(String projectName, String... path) {
- SWTBot viewBot = bot.viewByTitle(Label.View.PACKAGE_EXPLORER).bot();
+ SWTBot viewBot = bot.viewByTitle(IDELabel.View.PACKAGE_EXPLORER).bot();
SWTBotTreeItem item = viewBot.tree().expandNode(projectName);
StringBuilder builder = new StringBuilder(projectName);
@@ -177,11 +177,11 @@
String groupLabel = entityType.getGroupLabel();
String entityLabel = entityType.getEntityLabel();
- bot.menu(Label.Menu.FILE).menu(Label.Menu.NEW).menu(Label.Menu.OTHER).click();
- waitForShell(Label.Shell.NEW);
+ bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.NEW).menu(IDELabel.Menu.OTHER).click();
+ waitForShell(IDELabel.Shell.NEW);
bot.tree().expandNode(groupLabel).select(entityLabel);
- bot.button(Label.Button.NEXT).click();
+ bot.button(IDELabel.Button.NEXT).click();
}
/**
@@ -225,7 +225,7 @@
* @param path
*/
public void openAsText(String projectName, String... path) {
- SWTBot viewBot = bot.viewByTitle(Label.View.PACKAGE_EXPLORER).bot();
+ SWTBot viewBot = bot.viewByTitle(IDELabel.View.PACKAGE_EXPLORER).bot();
SWTBotTreeItem item = viewBot.tree().expandNode(projectName);
// Go through path
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContextMenuHelper.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContextMenuHelper.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContextMenuHelper.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -26,6 +26,8 @@
import org.eclipse.swtbot.swt.finder.results.VoidResult;
import org.eclipse.swtbot.swt.finder.results.WidgetResult;
import org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
import org.hamcrest.Matcher;
/**
@@ -128,4 +130,22 @@
return result;
}
+ /**
+ * Executes proper steps to be able call getContextMenu on input treeItem
+ * @param tree
+ * @param treeItem
+ */
+ public static void prepareTreeItemForContextMenu(SWTBotTree tree , SWTBotTreeItem treeItem){
+ tree.setFocus();
+ treeItem.select();
+ treeItem.click();
+ }
+ /**
+ * Executes proper steps to be able call getContextMenu on first Tree Item within tree
+ * @param tree
+ */
+ public static void prepareTreeItemForContextMenu(SWTBotTree tree){
+ tree.setFocus();
+ tree.select(0);
+ }
}
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -24,9 +24,9 @@
switch (this) {
- case HIBERNATE_MAPPING_FILE: groupLabel = Label.EntityGroup.HIBERNATE; break;
- case JAVA_PROJECT: groupLabel = Label.EntityGroup.JAVA; break;
- case JAVA_CLASS: groupLabel = Label.EntityGroup.JAVA; break;
+ case HIBERNATE_MAPPING_FILE: groupLabel = IDELabel.EntityGroup.HIBERNATE; break;
+ case JAVA_PROJECT: groupLabel = IDELabel.EntityGroup.JAVA; break;
+ case JAVA_CLASS: groupLabel = IDELabel.EntityGroup.JAVA; break;
default: fail("Unknown Entity Type");
}
@@ -41,9 +41,9 @@
String entityLabel = "";
switch (this) {
- case HIBERNATE_MAPPING_FILE: entityLabel = Label.EntityLabel.HIBERNATE_MAPPING_FILE; break;
- case JAVA_PROJECT: entityLabel = Label.EntityLabel.JAVA_PROJECT; break;
- case JAVA_CLASS: entityLabel = Label.EntityLabel.JAVA_CLASS; break;
+ case HIBERNATE_MAPPING_FILE: entityLabel = IDELabel.EntityLabel.HIBERNATE_MAPPING_FILE; break;
+ case JAVA_PROJECT: entityLabel = IDELabel.EntityLabel.JAVA_PROJECT; break;
+ case JAVA_CLASS: entityLabel = IDELabel.EntityLabel.JAVA_CLASS; break;
default: fail("Unknown Entity Type");
}
Copied: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java (from rev 18732, trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/Label.java)
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -0,0 +1,141 @@
+ /*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.ui.bot.ext.types;
+
+/**
+ * Base label constants for all widgets. Naming convention is (except buttons
+ * and menus) based on Eclipse platform class names of each part (e.g.
+ * NewJavaProjectWizardPageOne)
+ *
+ * @author jpeterka
+ */
+public class IDELabel {
+ public class Menu {
+ public static final String FILE = "File";
+ public static final String NEW = "New";
+ public static final String PROJECT = "Project";
+ public static final String OTHER = "Other...";
+ public static final String WINDOW = "Window";
+ public static final String SHOW_VIEW = "Show View";
+ public static final String OPEN_PERSPECTIVE = "Open Perspective";
+ public static final String OPEN_WITH = "Open With";
+ public static final String TEXT_EDITOR = "Text Editor";
+ public static final String EDIT = "Edit";
+ public static final String SELECT_ALL = "Select All";
+ public static final String JSP_FILE = "JSP File";
+ public static final String XHTML_FILE = "XHTML File";
+ public static final String CLOSE = "Close";
+ public static final String OPEN = "Open";
+ public static final String RENAME = "Rename";
+ public static final String PROPERTIES = "Properties";
+ public static final String HELP = "Help";
+ public static final String ABOUT_JBOSS_DEVELOPER_STUDIO = "About JBoss Developer Studio";
+ }
+
+ public class Button {
+ public static final String NEXT = "Next >";
+ public static final String BACK = "< Back";
+ public static final String CANCEL = "Cancel";
+ public static final String FINISH = "Finish";
+ public static final String OK = "OK";
+ public static final String YES = "Yes";
+ public static final String NO = "No";
+ public static final String CLOSE = "Close";
+ }
+
+ public class Shell {
+ public static final String NEW_JAVA_PROJECT = "New Java Project";
+ public static final String NEW_JAVA_CLASS = "New Java Class";
+ public static final String NEW_HIBERNATE_MAPPING_FILE = "New Hibernate XML Mapping file (hbm.xml)";
+ public static final String NEW = "New";
+ public static final String NEW_JSP_FILE = "New File JSP";
+ public static final String NEW_XHTML_FILE = "New File XHTML";
+ public static final String SAVE_RESOURCE = "Save Resource";
+ public static final String RENAME_RESOURCE = "Rename Resource";
+ public static final String PROPERTIES = "Properties";
+ }
+
+ public class EntityGroup {
+ public static final String HIBERNATE = "Hibernate";
+ public static final String JAVA = "Java";
+ public static final String SEAM = "Seam";
+ }
+
+ public class EntityLabel {
+ public static final String HIBERNATE_MAPPING_FILE = "Hibernate XML Mapping file (hbm.xml)";
+ public static final String JAVA_CLASS = "Class";
+ public static final String JAVA_PROJECT = "Java Project";
+ public static final String SEAM_PROJECT = "Seam Web Project";
+ }
+
+ public class JavaProjectWizard {
+ public static final String PROJECT_NAME = "Project name:";
+ }
+
+ public class NewClassCreationWizard {
+ public static final String CLASS_NAME = "Name:";
+ public static final String PACKAGE_NAME = "Package:";
+ }
+
+ public class ShowViewDialog {
+ public static final String JAVA_GROUP = "Java";
+ public static final String PROJECT_EXPLORER = "Project Explorer";
+
+ }
+
+ public class View {
+ public static final String WELCOME = "Welcome";
+ public static final String PROJECT_EXPLORER = "Project Explorer";
+ public static final String PACKAGE_EXPLORER = "Package Explorer";
+ }
+
+ public class ViewGroup {
+ public static final String GENERAL = "General";
+ public static final String JAVA = "Java";
+ }
+
+ public class SelectPerspectiveDialog {
+ public static final String JAVA = "Java";
+ public static final String HIBERNATE = "Hibernate";
+
+ }
+
+ public class WebProjectsTree {
+ public static final String WEB_CONTENT = "WebContent";
+ public static final String TAG_LIBRARIES = "Tag Libraries";
+ public static final String RESOURCE_BUNDLES = "Resource Bundles";
+ public static final String CONFIGURATION = "Configuration";
+ public static final String BEANS = "Beans";
+ public static final String TILES = "Tiles";
+ public static final String WEB_XML = "web.xml";
+ public static final String CONTEXT_PARAMS = "Context Params";
+ public static final String JAVAX_FACES_CONFIG_FILES = "javax.faces.CONFIG_FILES";
+ }
+
+ public class NewJSPFileDialog {
+ public static final String NAME = "Name*";
+ public static final String TEMPLATE = "Template";
+ public static final String TEMPLATE_JSF_BASE_PAGE = "JSFBasePage";
+ }
+
+ public class NewXHTMLFileDialog {
+ public static final String NAME = "Name*";
+ public static final String TEMPLATE = "Template";
+ public static final String TEMPLATE_FACELET_FORM_XHTML = "FaceletForm.xhtml";
+ }
+ public class RenameResourceDialog {
+ public static final String NEW_NAME = "New name:";
+ }
+ public class PropertiesDialog {
+ public static final String PARAM_NAME = "Param-Name";
+ public static final String PARAM_VALUE = "Param-Value";
+ }
+}
Deleted: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/Label.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/Label.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/Label.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -1,94 +0,0 @@
- /*******************************************************************************
- * Copyright (c) 2007-2009 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is 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
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.ui.bot.ext.types;
-
-/**
- * Base label constants for all widgets. Naming convention is (except buttons
- * and menus) based on Eclipse platform class names of each part (e.g.
- * NewJavaProjectWizardPageOne)
- *
- * @author jpeterka
- */
-public class Label {
- public class Menu {
- public static final String FILE = "File";
- public static final String NEW = "New";
- public static final String PROJECT = "Project";
- public static final String OTHER = "Other...";
- public static final String WINDOW = "Window";
- public static final String SHOW_VIEW = "Show View";
- public static final String OPEN_PERSPECTIVE = "Open Perspective";
- public static final String OPEN_WITH = "Open With";
- public static final String TEXT_EDITOR = "Text Editor";
- public static final String EDIT = "Edit";
- public static final String SELECT_ALL = "Select All";
- }
-
- public class Button {
- public static final String NEXT = "Next >";
- public static final String BACK = "< Back";
- public static final String CANCEL = "Cancel";
- public static final String FINISH = "Finish";
- public static final String OK = "OK";
- }
-
- public class Shell {
- public static final String NEW_JAVA_PROJECT = "New Java Project";
- public static final String NEW_JAVA_CLASS = "New Java Class";
- public static final String NEW_HIBERNATE_MAPPING_FILE = "New Hibernate XML Mapping file (hbm.xml)";
- public static final String NEW = "New";
- }
-
- public class EntityGroup {
- public static final String HIBERNATE = "Hibernate";
- public static final String JAVA = "Java";
- public static final String SEAM = "Seam";
- }
-
- public class EntityLabel {
- public static final String HIBERNATE_MAPPING_FILE = "Hibernate XML Mapping file (hbm.xml)";
- public static final String JAVA_CLASS = "Class";
- public static final String JAVA_PROJECT = "Java Project";
- public static final String SEAM_PROJECT = "Seam Web Project";
- }
-
- public class JavaProjectWizard {
- public static final String PROJECT_NAME = "Project name:";
- }
-
- public class NewClassCreationWizard {
- public static final String CLASS_NAME = "Name:";
- public static final String PACKAGE_NAME = "Package:";
- }
-
- public class ShowViewDialog {
- public static final String JAVA_GROUP = "Java";
- public static final String PROJECT_EXPLORER = "Project Explorer";
-
- }
-
- public class View {
- public static final String WELCOME = "Welcome";
- public static final String PROJECT_EXPLORER = "Project Explorer";
- public static final String PACKAGE_EXPLORER = "Package Explorer";
- }
-
- public class ViewGroup {
- public static final String GENERAL = "General";
- public static final String JAVA = "Java";
- }
-
- public class SelectPerspectiveDialog {
- public static final String JAVA = "Java";
- public static final String HIBERNATE = "Hibernate";
-
- }
-}
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/ViewType.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/ViewType.java 2009-11-21 15:31:28 UTC (rev 18773)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/ViewType.java 2009-11-23 09:55:44 UTC (rev 18774)
@@ -24,7 +24,7 @@
public String getGroupLabel() {
String viewLabel = "";
switch (this) {
- case PROJECT_EXPLORER: viewLabel = Label.ViewGroup.GENERAL; break;
+ case PROJECT_EXPLORER: viewLabel = IDELabel.ViewGroup.GENERAL; break;
default: fail("Unknown View Type");
}
return viewLabel;
@@ -33,7 +33,7 @@
public String getViewLabel() {
String viewLabel = "";
switch (this) {
- case PROJECT_EXPLORER: viewLabel = Label.View.PROJECT_EXPLORER; break;
+ case PROJECT_EXPLORER: viewLabel = IDELabel.View.PROJECT_EXPLORER; break;
default: fail("Unknown View Type");
}
return viewLabel;
15 years, 1 month
JBoss Tools SVN: r18773 - in branches/tycho_exp: bpel/plugins/org.eclipse.bpel.apache.ode.deploy.model and 12 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2009-11-21 10:31:28 -0500 (Sat, 21 Nov 2009)
New Revision: 18773
Added:
branches/tycho_exp/parent-pom.xml
branches/tycho_exp/pom.xml
Modified:
branches/tycho_exp/bpel/plugins/org.eclipse.bpel.apache.ode.deploy.model/
branches/tycho_exp/bpel/plugins/org.eclipse.bpel.apache.ode.deploy.ui/
branches/tycho_exp/bpel/plugins/org.eclipse.bpel.common.model/
branches/tycho_exp/bpel/plugins/org.eclipse.bpel.common.ui/
branches/tycho_exp/bpel/plugins/org.eclipse.bpel.model/
branches/tycho_exp/bpel/plugins/org.eclipse.bpel.ui/
branches/tycho_exp/bpel/plugins/org.eclipse.bpel.validator/
branches/tycho_exp/documentation/whatsnew/.project
branches/tycho_exp/examples/plugins/org.jboss.tools.project.examples/
branches/tycho_exp/freemarker/plugins/org.jboss.ide.eclipse.freemarker/
branches/tycho_exp/jst/tests/org.jboss.tools.jst.css.test/
branches/tycho_exp/profiler/plugins/org.jboss.tools.profiler.ui/
branches/tycho_exp/smooks/plugins/org.jboss.tools.smooks.core/
Log:
tycho experiment
Property changes on: branches/tycho_exp/bpel/plugins/org.eclipse.bpel.apache.ode.deploy.model
___________________________________________________________________
Name: svn:ignore
- bin
bin/*
+ bin
bin/*
target
Property changes on: branches/tycho_exp/bpel/plugins/org.eclipse.bpel.apache.ode.deploy.ui
___________________________________________________________________
Name: svn:ignore
- bin
bin/*
+ bin
bin/*
target
Property changes on: branches/tycho_exp/bpel/plugins/org.eclipse.bpel.common.model
___________________________________________________________________
Name: svn:ignore
- bin
bin/*
+ bin
bin/*
target
Property changes on: branches/tycho_exp/bpel/plugins/org.eclipse.bpel.common.ui
___________________________________________________________________
Name: svn:ignore
- bin
bin/*
+ bin
bin/*
target
Property changes on: branches/tycho_exp/bpel/plugins/org.eclipse.bpel.model
___________________________________________________________________
Name: svn:ignore
- bin
bin/*
+ bin
bin/*
target
Property changes on: branches/tycho_exp/bpel/plugins/org.eclipse.bpel.ui
___________________________________________________________________
Name: svn:ignore
- bin
bin/*
+ bin
bin/*
target
Property changes on: branches/tycho_exp/bpel/plugins/org.eclipse.bpel.validator
___________________________________________________________________
Name: svn:ignore
- bin
bin/*
+ bin
bin/*
target
Modified: branches/tycho_exp/documentation/whatsnew/.project
===================================================================
--- branches/tycho_exp/documentation/whatsnew/.project 2009-11-21 15:28:23 UTC (rev 18772)
+++ branches/tycho_exp/documentation/whatsnew/.project 2009-11-21 15:31:28 UTC (rev 18773)
@@ -5,7 +5,13 @@
<projects>
</projects>
<buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Property changes on: branches/tycho_exp/examples/plugins/org.jboss.tools.project.examples
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Property changes on: branches/tycho_exp/freemarker/plugins/org.jboss.ide.eclipse.freemarker
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Property changes on: branches/tycho_exp/jst/tests/org.jboss.tools.jst.css.test
___________________________________________________________________
Name: svn:ignore
+ bin
Added: branches/tycho_exp/parent-pom.xml
===================================================================
--- branches/tycho_exp/parent-pom.xml (rev 0)
+++ branches/tycho_exp/parent-pom.xml 2009-11-21 15:31:28 UTC (rev 18773)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <name>JBoss Tools Parent</name>
+ <packaging>pom</packaging>
+
+ <properties>
+ <tychoVersion>0.5.0</tychoVersion>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tychoVersion}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <repositories>
+ <repository>
+ <id>galileo</id>
+ <url>http://download.eclipse.org/releases/galileo</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>plugins</id>
+ <url>http://repository.sonatype.org/content/repositories/all-003</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+</project>
Added: branches/tycho_exp/pom.xml
===================================================================
--- branches/tycho_exp/pom.xml (rev 0)
+++ branches/tycho_exp/pom.xml 2009-11-21 15:31:28 UTC (rev 18773)
@@ -0,0 +1,15 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>trunk.trunk</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules> </modules>
+</project>
Property changes on: branches/tycho_exp/profiler/plugins/org.jboss.tools.profiler.ui
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Property changes on: branches/tycho_exp/smooks/plugins/org.jboss.tools.smooks.core
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
15 years, 1 month
JBoss Tools SVN: r18772 - in branches/tycho_exp/as/plugins: org.jboss.ide.eclipse.archives.webtools and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2009-11-21 10:28:23 -0500 (Sat, 21 Nov 2009)
New Revision: 18772
Added:
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.archives.webtools/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.core/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.core/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.doc.user/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ssh/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.core/pom.xml
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/pom.xml
branches/tycho_exp/as/plugins/pom.xml
Modified:
branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.core/
Log:
tycho experiment
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.archives.webtools/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.archives.webtools/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.archives.webtools/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.archives.webtools</artifactId>
+ <version>1.0.0</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Property changes on: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.core
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.core/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.core/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.core/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.classpath.core</artifactId>
+ <version>1.0.0</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.classpath.ui</artifactId>
+ <version>1.0.0</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.core/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.core/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.core/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.core</artifactId>
+ <version>1.0.0</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.doc.user/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.doc.user/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.doc.user/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.doc.user</artifactId>
+ <version>1.0.0</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ssh/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ssh/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ssh/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.ssh</artifactId>
+ <version>1.0.0.qualifier</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.ui</artifactId>
+ <version>1.0.0</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.ui.mbeans</artifactId>
+ <version>1.0.0</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.core/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.core/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.core/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.wtp.core</artifactId>
+ <version>1.0.0.qualifier</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.ide.eclipse.as.wtp.ui</artifactId>
+ <version>1.0.0.qualifier</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/as/plugins/pom.xml
===================================================================
--- branches/tycho_exp/as/plugins/pom.xml (rev 0)
+++ branches/tycho_exp/as/plugins/pom.xml 2009-11-21 15:28:23 UTC (rev 18772)
@@ -0,0 +1,26 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>as.plugins</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules>
+ <module>org.jboss.ide.eclipse.archives.webtools</module>
+ <module>org.jboss.ide.eclipse.as.classpath.core</module>
+ <module>org.jboss.ide.eclipse.as.classpath.ui</module>
+ <module>org.jboss.ide.eclipse.as.core</module>
+ <module>org.jboss.ide.eclipse.as.doc.user</module>
+ <module>org.jboss.ide.eclipse.as.ssh</module>
+ <module>org.jboss.ide.eclipse.as.ui</module>
+ <module>org.jboss.ide.eclipse.as.ui.mbeans</module>
+ <module>org.jboss.ide.eclipse.as.wtp.core</module>
+ <module>org.jboss.ide.eclipse.as.wtp.ui</module>
+ </modules>
+</project>
15 years, 1 month
JBoss Tools SVN: r18771 - in branches/tycho_exp/jmx/plugins: org.jboss.tools.jmx.core and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2009-11-21 10:27:27 -0500 (Sat, 21 Nov 2009)
New Revision: 18771
Added:
branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.core/pom.xml
branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.ui/pom.xml
branches/tycho_exp/jmx/plugins/pom.xml
Modified:
branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.core/
branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.ui/
Log:
tycho experiment
Property changes on: branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.core
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Added: branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.core/pom.xml
===================================================================
--- branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.core/pom.xml (rev 0)
+++ branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.core/pom.xml 2009-11-21 15:27:27 UTC (rev 18771)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.jmx.core</artifactId>
+ <version>1.0.1.qualifier</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Property changes on: branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.ui
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
target
Added: branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.ui/pom.xml
===================================================================
--- branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.ui/pom.xml (rev 0)
+++ branches/tycho_exp/jmx/plugins/org.jboss.tools.jmx.ui/pom.xml 2009-11-21 15:27:27 UTC (rev 18771)
@@ -0,0 +1,14 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.jmx.ui</artifactId>
+ <version>1.0.1.qualifier</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
Added: branches/tycho_exp/jmx/plugins/pom.xml
===================================================================
--- branches/tycho_exp/jmx/plugins/pom.xml (rev 0)
+++ branches/tycho_exp/jmx/plugins/pom.xml 2009-11-21 15:27:27 UTC (rev 18771)
@@ -0,0 +1,18 @@
+<project
+xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <relativePath>..\..\parent-pom.xml</relativePath>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jmx.plugins</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <modules>
+ <module>org.jboss.tools.jmx.core</module>
+ <module>org.jboss.tools.jmx.ui</module>
+ </modules>
+</project>
15 years, 1 month
JBoss Tools SVN: r18770 - branches.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2009-11-20 20:37:28 -0500 (Fri, 20 Nov 2009)
New Revision: 18770
Added:
branches/tycho_exp/
Log:
test for tycho
Copied: branches/tycho_exp (from rev 18769, trunk)
15 years, 1 month
JBoss Tools SVN: r18769 - trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-11-20 18:34:05 -0500 (Fri, 20 Nov 2009)
New Revision: 18769
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties
Log:
Fixing provider name
Modified: trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties 2009-11-20 22:16:16 UTC (rev 18768)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.cheatsheet/build.properties 2009-11-20 23:34:05 UTC (rev 18769)
@@ -4,4 +4,5 @@
.,\
cheatsheets/,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ build.properties
15 years, 1 month