geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1203020 [28/29] - in /geronimo/devtools/eclipse-plugin/branches/3.0-beta-1: eclipse/ plugins/org.apache.geronimo.j2ee.v11.jaxbmodel/ plugins/org.apache.geronimo.j2ee.v11.jaxbmodel/src/test/resources/application/ plugins/org.apache.geronimo...
Date Thu, 17 Nov 2011 02:19:27 GMT
Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/ServerTasks.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/ServerTasks.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/ServerTasks.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/ServerTasks.java Thu Nov 17 02:19:12 2011
@@ -1,227 +1,227 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.geronimo.testsuite.common.ui;
-
-import java.io.File;
-
-import org.apache.geronimo.testsuite.common.selenium.EclipseSelenium;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.widgets.Shell;
-
-public class ServerTasks {
-    Shell workbenchShell;
-    AbbotHelper abbotHelper;
-    String serverVersion;
-
-    public ServerTasks (Shell shell, AbbotHelper helper, String serverVersion) {
-        workbenchShell = shell;
-        abbotHelper = helper;
-        this.serverVersion = serverVersion;
-    }
-
-    // just getting through this with no exceptions is success.
-    public boolean createServer(){
-        boolean success = true;
-        try {
-            // Launch the New Project wizard and aHelper.wait for it to open.
-            Shell wizardShell = abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&File", "&New\tAlt+Shift+N", "&Other..."},
-                    "New");
-          
-            // Having 2 tree items with the same name is not very good design
-            abbotHelper.clickTreeItem (wizardShell,
-                    new String[] {"Server", "Server"});
-         //   abbotHelper.clickTreeItem(wizardShell,"Server");
-            abbotHelper.clickButton (wizardShell, IDialogConstants.NEXT_LABEL);
-
-            
-            // Select the proper Server. why do we have this in there twice?
-            abbotHelper.clickTreeItem(wizardShell,Constants.getConstant(serverVersion, Constants.SERVERNAME));
-            abbotHelper.clickButton (wizardShell, IDialogConstants.NEXT_LABEL);
-
-            // TODO would be nice to install the server instead of have to know where it is in advance
-            abbotHelper.setTextField (wizardShell, "", getServerInstallDirectory());
-
-            abbotHelper.clickButton (wizardShell, IDialogConstants.FINISH_LABEL);
-
-        } catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-
-    public boolean showServerOverview() {
-        boolean success = true;
-        try {
-            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
-            abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "Show &View", "Servers"});
-            abbotHelper.doubleClickItem(workbenchShell, serverDisplay);
-        } catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-
-    public boolean startServer () {
-        return startServer (false);
-    }
-
-    public boolean startServer (boolean restart) {
-        boolean success = true;
-        try {
-            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
-            abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "Show View", "Servers"});
-
-            if (restart == true) {
-                abbotHelper.rightClickItem (workbenchShell, serverDisplay,
-                        new String[] {"&Restart"});
-            } else {
-                abbotHelper.rightClickItem (workbenchShell, serverDisplay,
-                        new String[] {"&Start"});
-            }
-            abbotHelper.waitForServerStatus (workbenchShell, serverDisplay, "Started");
-
-            abbotHelper.waitTime (AbbotHelper.WAIT_STANDARD);
-
-            // if starting the server for the first time, do a quick sanity check
-            if (restart == false) {
-                EclipseSelenium selenium = new EclipseSelenium();
-                selenium.start();
-
-                selenium.open ("http://localhost:8080/console/");
-                selenium.waitForPageToLoad ("2000");
-                selenium.type ("j_username", "system");
-                selenium.type ("j_password", "manager");
-                selenium.click ("submit");
-
-                selenium.stop();
-            }
-        } catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-
-    public boolean stopServer () {
-        boolean success = true;
-        try {
-            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
-            abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "Show &View", "Servers"});
-
-            abbotHelper.rightClickItem (workbenchShell, serverDisplay,
-                    new String[] {"S&top"});
-            abbotHelper.waitForServerStatus (workbenchShell, serverDisplay, "Stopped");
-
-            abbotHelper.waitTime (AbbotHelper.WAIT_STANDARD);
-        } catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-
-
-    // remove the server so that the test will be reset back to its original state.
-    public boolean removeServer () {
-        boolean success = true;
-        try {
-            Shell preferenceShell = abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "&Preferences"},
-                    "Preferences");
-
-            abbotHelper.clickTreeItem (preferenceShell,
-                    new String[] {"Server", "Runtime Environments"});
-            abbotHelper.clickItem (preferenceShell, Constants.getConstant(serverVersion, Constants.SERVERRUNTIME));
-            Shell questionShell = abbotHelper.clickButton (preferenceShell, "&Remove", "Server");
-
-            abbotHelper.clickButton (questionShell, IDialogConstants.OK_LABEL);
-            abbotHelper.clickButton (preferenceShell, IDialogConstants.OK_LABEL);
-        } catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-
-    public boolean publishAllProjects () {
-        boolean success = true;
-        try {
-            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
-
-            abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "Show &View", "Servers"});
-            Shell deployShell = abbotHelper.rightClickItem (workbenchShell, serverDisplay,
-                    new String[] {"Add and Remove &Projects..."}, "Add and Remove Projects");
-            abbotHelper.clickButton (deployShell, "Add A&ll >>");
-
-            abbotHelper.clickButton (deployShell, IDialogConstants.FINISH_LABEL);
-            abbotHelper.waitForDialogDisposal (deployShell);
-        } catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-
-    public boolean removeAllProjects () {
-        boolean success = true;
-        try {
-            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
-
-            abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "Show &View", "Servers"});
-            Shell deployShell = abbotHelper.rightClickItem (workbenchShell, serverDisplay,
-                    new String[] {"Add and Remove &Projects..."}, "Add and Remove Projects");
-            abbotHelper.clickButton (deployShell, "<< Re&move All");
-
-            abbotHelper.clickButton (deployShell, IDialogConstants.FINISH_LABEL);
-            abbotHelper.waitForDialogDisposal (deployShell);
-        } catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-
-    private String getServerInstallDirectory() {
-        IWorkspace ws = ResourcesPlugin.getWorkspace();
-        String location = ws.getRoot().getLocation().toOSString();
-        int index = location.lastIndexOf(File.separatorChar);
-        if (index > -1) {
-            location = location.substring(0,index);
-        }
-        index = location.lastIndexOf(File.separatorChar);
-        if (index > -1) {
-            location = location.substring(0,index);
-        }
-        index = location.lastIndexOf(File.separatorChar);
-        if (index > -1) {
-            location = location.substring(0,index);
-        }
-        location = location + File.separatorChar + Constants.getConstant(serverVersion, Constants.SERVERPATH); ;
-        return location;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.testsuite.common.ui;
+
+import java.io.File;
+
+import org.apache.geronimo.testsuite.common.selenium.EclipseSelenium;
+import org.eclipse.core.resources.IWorkspace;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.swt.widgets.Shell;
+
+public class ServerTasks {
+    Shell workbenchShell;
+    AbbotHelper abbotHelper;
+    String serverVersion;
+
+    public ServerTasks (Shell shell, AbbotHelper helper, String serverVersion) {
+        workbenchShell = shell;
+        abbotHelper = helper;
+        this.serverVersion = serverVersion;
+    }
+
+    // just getting through this with no exceptions is success.
+    public boolean createServer(){
+        boolean success = true;
+        try {
+            // Launch the New Project wizard and aHelper.wait for it to open.
+            Shell wizardShell = abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&File", "&New\tAlt+Shift+N", "&Other..."},
+                    "New");
+          
+            // Having 2 tree items with the same name is not very good design
+            abbotHelper.clickTreeItem (wizardShell,
+                    new String[] {"Server", "Server"});
+         //   abbotHelper.clickTreeItem(wizardShell,"Server");
+            abbotHelper.clickButton (wizardShell, IDialogConstants.NEXT_LABEL);
+
+            
+            // Select the proper Server. why do we have this in there twice?
+            abbotHelper.clickTreeItem(wizardShell,Constants.getConstant(serverVersion, Constants.SERVERNAME));
+            abbotHelper.clickButton (wizardShell, IDialogConstants.NEXT_LABEL);
+
+            // TODO would be nice to install the server instead of have to know where it is in advance
+            abbotHelper.setTextField (wizardShell, "", getServerInstallDirectory());
+
+            abbotHelper.clickButton (wizardShell, IDialogConstants.FINISH_LABEL);
+
+        } catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+
+    public boolean showServerOverview() {
+        boolean success = true;
+        try {
+            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
+            abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "Show &View", "Servers"});
+            abbotHelper.doubleClickItem(workbenchShell, serverDisplay);
+        } catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+
+    public boolean startServer () {
+        return startServer (false);
+    }
+
+    public boolean startServer (boolean restart) {
+        boolean success = true;
+        try {
+            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
+            abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "Show View", "Servers"});
+
+            if (restart == true) {
+                abbotHelper.rightClickItem (workbenchShell, serverDisplay,
+                        new String[] {"&Restart"});
+            } else {
+                abbotHelper.rightClickItem (workbenchShell, serverDisplay,
+                        new String[] {"&Start"});
+            }
+            abbotHelper.waitForServerStatus (workbenchShell, serverDisplay, "Started");
+
+            abbotHelper.waitTime (AbbotHelper.WAIT_STANDARD);
+
+            // if starting the server for the first time, do a quick sanity check
+            if (restart == false) {
+                EclipseSelenium selenium = new EclipseSelenium();
+                selenium.start();
+
+                selenium.open ("http://localhost:8080/console/");
+                selenium.waitForPageToLoad ("2000");
+                selenium.type ("j_username", "system");
+                selenium.type ("j_password", "manager");
+                selenium.click ("submit");
+
+                selenium.stop();
+            }
+        } catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+
+    public boolean stopServer () {
+        boolean success = true;
+        try {
+            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
+            abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "Show &View", "Servers"});
+
+            abbotHelper.rightClickItem (workbenchShell, serverDisplay,
+                    new String[] {"S&top"});
+            abbotHelper.waitForServerStatus (workbenchShell, serverDisplay, "Stopped");
+
+            abbotHelper.waitTime (AbbotHelper.WAIT_STANDARD);
+        } catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+
+
+    // remove the server so that the test will be reset back to its original state.
+    public boolean removeServer () {
+        boolean success = true;
+        try {
+            Shell preferenceShell = abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "&Preferences"},
+                    "Preferences");
+
+            abbotHelper.clickTreeItem (preferenceShell,
+                    new String[] {"Server", "Runtime Environments"});
+            abbotHelper.clickItem (preferenceShell, Constants.getConstant(serverVersion, Constants.SERVERRUNTIME));
+            Shell questionShell = abbotHelper.clickButton (preferenceShell, "&Remove", "Server");
+
+            abbotHelper.clickButton (questionShell, IDialogConstants.OK_LABEL);
+            abbotHelper.clickButton (preferenceShell, IDialogConstants.OK_LABEL);
+        } catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+
+    public boolean publishAllProjects () {
+        boolean success = true;
+        try {
+            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
+
+            abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "Show &View", "Servers"});
+            Shell deployShell = abbotHelper.rightClickItem (workbenchShell, serverDisplay,
+                    new String[] {"Add and Remove &Projects..."}, "Add and Remove Projects");
+            abbotHelper.clickButton (deployShell, "Add A&ll >>");
+
+            abbotHelper.clickButton (deployShell, IDialogConstants.FINISH_LABEL);
+            abbotHelper.waitForDialogDisposal (deployShell);
+        } catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+
+    public boolean removeAllProjects () {
+        boolean success = true;
+        try {
+            String serverDisplay = Constants.getConstant(serverVersion, Constants.SERVERDISPLAY);
+
+            abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "Show &View", "Servers"});
+            Shell deployShell = abbotHelper.rightClickItem (workbenchShell, serverDisplay,
+                    new String[] {"Add and Remove &Projects..."}, "Add and Remove Projects");
+            abbotHelper.clickButton (deployShell, "<< Re&move All");
+
+            abbotHelper.clickButton (deployShell, IDialogConstants.FINISH_LABEL);
+            abbotHelper.waitForDialogDisposal (deployShell);
+        } catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+
+    private String getServerInstallDirectory() {
+        IWorkspace ws = ResourcesPlugin.getWorkspace();
+        String location = ws.getRoot().getLocation().toOSString();
+        int index = location.lastIndexOf(File.separatorChar);
+        if (index > -1) {
+            location = location.substring(0,index);
+        }
+        index = location.lastIndexOf(File.separatorChar);
+        if (index > -1) {
+            location = location.substring(0,index);
+        }
+        index = location.lastIndexOf(File.separatorChar);
+        if (index > -1) {
+            location = location.substring(0,index);
+        }
+        location = location + File.separatorChar + Constants.getConstant(serverVersion, Constants.SERVERPATH); ;
+        return location;
+    }
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/ServerTasks.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/ServerTasks.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/ServerTasks.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/WorkbenchTasks.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/WorkbenchTasks.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/WorkbenchTasks.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/WorkbenchTasks.java Thu Nov 17 02:19:12 2011
@@ -1,89 +1,89 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.geronimo.testsuite.common.ui;
-
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.swt.widgets.Shell;
-
-public class WorkbenchTasks {
-    Shell workbenchShell;
-    AbbotHelper abbotHelper;
-
-    public WorkbenchTasks (Shell shell, AbbotHelper helper) {
-        workbenchShell = shell;
-        abbotHelper = helper;
-    }
-    
-    public boolean showJEEPerspective() {
-        boolean success = true;
-        try {
-            abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "&Close Perspective"});
-        
-            Shell perspectiveShell = abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "&Open Perspective", "&Other..." },
-                    "Open Perspective");
-	    abbotHelper.clickItem (perspectiveShell, "Java EE");
-            abbotHelper.clickButton (perspectiveShell, IDialogConstants.OK_LABEL);    
-        }
-        catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-    
-    public boolean checkValidInstallation (String version) {
-        boolean success = true;
-        try {
-            // About Eclipse Test Case. There are three Shell newShell, nextShell and nextNextShell 
-            //used because we need to save the states for newShell and nextShell
-            //newShell->nextShell->nextNextShell this is the order in which shell comes up
-            Shell newShell = abbotHelper.clickMenuItem(workbenchShell, new String[]{"&Help","&About Eclipse Platform"},"About Eclipse Platform");
-//          Shell nextShell = abbotHelper.clickImageButton(newShell, "Apache.org - Geronimo " + version + " Server Tools Core Plug-in","About Eclipse Platform Features");
-            Shell nextShell = abbotHelper.clickImageButton(newShell, "Apache Software Foundation","About Eclipse Platform Features");
-            Shell nextNextShell = abbotHelper.clickButton(nextShell, "&Plug-in Details", "Feature Plug-ins");
-            abbotHelper.clickButton(nextNextShell, IDialogConstants.CLOSE_LABEL);
-            abbotHelper.clickButton(nextShell, IDialogConstants.CLOSE_LABEL);
-            abbotHelper.clickButton(newShell, IDialogConstants.OK_LABEL);
-        }
-        catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-    
-    public boolean openInternalBrowser () {
-        boolean success = true;
-        try {
-            abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "Web Browser", "&0 Internal Web Browser"});
-            Shell openShell = abbotHelper.clickMenuItem (workbenchShell,
-                    new String[] {"&Window", "Show &View", "&Other..."}, "Show View");
-            abbotHelper.clickTreeItem (openShell,
-                    new String[] {"General", "Internal Web Browser"});
-            abbotHelper.clickButton (openShell, IDialogConstants.OK_LABEL);
-        }
-        catch (Exception e) {
-            e.printStackTrace();
-            success = false;
-        }
-        return success;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.testsuite.common.ui;
+
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.swt.widgets.Shell;
+
+public class WorkbenchTasks {
+    Shell workbenchShell;
+    AbbotHelper abbotHelper;
+
+    public WorkbenchTasks (Shell shell, AbbotHelper helper) {
+        workbenchShell = shell;
+        abbotHelper = helper;
+    }
+    
+    public boolean showJEEPerspective() {
+        boolean success = true;
+        try {
+            abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "&Close Perspective"});
+        
+            Shell perspectiveShell = abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "&Open Perspective", "&Other..." },
+                    "Open Perspective");
+	    abbotHelper.clickItem (perspectiveShell, "Java EE");
+            abbotHelper.clickButton (perspectiveShell, IDialogConstants.OK_LABEL);    
+        }
+        catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+    
+    public boolean checkValidInstallation (String version) {
+        boolean success = true;
+        try {
+            // About Eclipse Test Case. There are three Shell newShell, nextShell and nextNextShell 
+            //used because we need to save the states for newShell and nextShell
+            //newShell->nextShell->nextNextShell this is the order in which shell comes up
+            Shell newShell = abbotHelper.clickMenuItem(workbenchShell, new String[]{"&Help","&About Eclipse Platform"},"About Eclipse Platform");
+//          Shell nextShell = abbotHelper.clickImageButton(newShell, "Apache.org - Geronimo " + version + " Server Tools Core Plug-in","About Eclipse Platform Features");
+            Shell nextShell = abbotHelper.clickImageButton(newShell, "Apache Software Foundation","About Eclipse Platform Features");
+            Shell nextNextShell = abbotHelper.clickButton(nextShell, "&Plug-in Details", "Feature Plug-ins");
+            abbotHelper.clickButton(nextNextShell, IDialogConstants.CLOSE_LABEL);
+            abbotHelper.clickButton(nextShell, IDialogConstants.CLOSE_LABEL);
+            abbotHelper.clickButton(newShell, IDialogConstants.OK_LABEL);
+        }
+        catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+    
+    public boolean openInternalBrowser () {
+        boolean success = true;
+        try {
+            abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "Web Browser", "&0 Internal Web Browser"});
+            Shell openShell = abbotHelper.clickMenuItem (workbenchShell,
+                    new String[] {"&Window", "Show &View", "&Other..."}, "Show View");
+            abbotHelper.clickTreeItem (openShell,
+                    new String[] {"General", "Internal Web Browser"});
+            abbotHelper.clickButton (openShell, IDialogConstants.OK_LABEL);
+        }
+        catch (Exception e) {
+            e.printStackTrace();
+            success = false;
+        }
+        return success;
+    }
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/WorkbenchTasks.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/WorkbenchTasks.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.common/src/main/java/org/apache/geronimo/testsuite/common/ui/WorkbenchTasks.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/plugin.xml?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/plugin.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/plugin.xml Thu Nov 17 02:19:12 2011
@@ -1,51 +1,51 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  -->
-
-<!-- @version $Rev: 677978 $ $Date: 2008-07-18 10:34:28 -0700 (Fri, 18 Jul 2008) $ -->
-
-<plugin
-    id="org.apache.geronimo.testsuite.v20" 
-    name="Geronimo v20 Server Tools Testsuite Plug-in" 
-    provider-name="Apache.org" 
-    version="3.0.0" 
-    class="org.apache.geronimo.testsuite.v20.Activator">
-
-    <requires>
-        <import plugin="abbot.swt"/>
-        <import plugin="abbot.swt.eclipse"/>
-        <import plugin="org.eclipse.ui.ide" optional="true"/>
-        <import plugin="org.eclipse.jface.text" optional="true"/>
-        <import plugin="org.eclipse.ui.workbench.texteditor" optional="true"/>
-        <import plugin="org.eclipse.ui.editors" optional="true"/>
-        <import plugin="org.junit"/>
-        <import plugin="org.eclipse.core.resources"/>
-        <import plugin="org.eclipse.jdt.core"/>
-        <import plugin="org.eclipse.jdt.launching"/>
-        <import plugin="org.eclipse.ui"/>
-        <import plugin="org.eclipse.ant.core"/>
-        <import plugin="org.eclipse.debug.core"/>
-        <import plugin="org.eclipse.debug.ui"/>
-        <import plugin="org.eclipse.ui.externaltools"/>
-        <import plugin="org.eclipse.ant.ui"/>
-        <import plugin="org.eclipse.core.runtime"/>
-        <import plugin="org.eclipse.ui.console"/>
-        <import plugin="org.apache.geronimo.testsuite.common"/>
-    </requires>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<!-- @version $Rev$ $Date$ -->
+
+<plugin
+    id="org.apache.geronimo.testsuite.v20" 
+    name="Geronimo v20 Server Tools Testsuite Plug-in" 
+    provider-name="Apache.org" 
+    version="3.0.0" 
+    class="org.apache.geronimo.testsuite.v20.Activator">
+
+    <requires>
+        <import plugin="abbot.swt"/>
+        <import plugin="abbot.swt.eclipse"/>
+        <import plugin="org.eclipse.ui.ide" optional="true"/>
+        <import plugin="org.eclipse.jface.text" optional="true"/>
+        <import plugin="org.eclipse.ui.workbench.texteditor" optional="true"/>
+        <import plugin="org.eclipse.ui.editors" optional="true"/>
+        <import plugin="org.junit"/>
+        <import plugin="org.eclipse.core.resources"/>
+        <import plugin="org.eclipse.jdt.core"/>
+        <import plugin="org.eclipse.jdt.launching"/>
+        <import plugin="org.eclipse.ui"/>
+        <import plugin="org.eclipse.ant.core"/>
+        <import plugin="org.eclipse.debug.core"/>
+        <import plugin="org.eclipse.debug.ui"/>
+        <import plugin="org.eclipse.ui.externaltools"/>
+        <import plugin="org.eclipse.ant.ui"/>
+        <import plugin="org.eclipse.core.runtime"/>
+        <import plugin="org.eclipse.ui.console"/>
+        <import plugin="org.apache.geronimo.testsuite.common"/>
+    </requires>
+
+</plugin>

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/plugin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/plugin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml Thu Nov 17 02:19:12 2011
@@ -1,170 +1,170 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  -->
-
-<!-- @version $Rev: 678021 $ $Date: 2008-07-18 13:18:23 -0700 (Fri, 18 Jul 2008) $ -->
-
-<project>
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <groupId>org.apache.geronimo.devtools</groupId>
-    <artifactId>org.apache.geronimo.testsuite.v20</artifactId>
-    <version>3.0.0</version>
-    <packaging>jar</packaging>
-    <name>${artifactId}</name>
-
-    <parent>
-        <groupId>org.apache.geronimo.devtools</groupId>
-        <artifactId>testsuite-plugins</artifactId>
-        <version>3.0.0</version>
-    </parent>
-
-    <build>
-        <resources>
-            <resource>
-                <directory>.</directory>
-                <includes>
-                    <include>test.xml</include>
-                    <include>plugin.xml</include>
-                    <include>plugin.properties</include>
-                </includes>
-            </resource>
-
-            <resource>
-                <targetPath>META-INF</targetPath>
-                <directory>.</directory>
-                <includes>
-                    <include>LICENSE</include>
-                    <include>NOTICE</include>
-                </includes>
-            </resource>
-        </resources>
-
-        <plugins>
-
-            <plugin>
-                <groupId>org.apache.geronimo.devtools</groupId>
-                <artifactId>maven-eclipsepde-plugin</artifactId>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-            </plugin>
-
-            <!--
-             |
-             | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
-             |
-             -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-3.0.0"/>
-                                <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v20-3.0.0.jar"
-                                      dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-3.0.0"/>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <!-- Exclude tutorial java files -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <exclude>**/MyServlet.java</exclude>
-                        <exclude>**/MyStatelessSessionBean.java</exclude>
-                        <exclude>**/RemoteBusinessInterface.java</exclude>
-                    </excludes>
-                </configuration>
-             </plugin>
-
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.geronimo.devtools</groupId>
-            <artifactId>eclipse</artifactId>
-            <version>${version}</version>
-            <type>pom</type>
-        </dependency>
-
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.geronimo.devtools</groupId>
-            <artifactId>org.apache.geronimo.st.core</artifactId>
-            <version>${version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.geronimo.devtools</groupId>
-            <artifactId>org.apache.geronimo.st.v20.core</artifactId>
-            <version>${version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.geronimo.devtools</groupId>
-            <artifactId>org.apache.geronimo.jee.v21.jaxbmodel</artifactId>
-            <version>${version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.geronimo.devtools</groupId>
-            <artifactId>org.apache.geronimo.runtime.common</artifactId>
-            <version>${version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.geronimo.devtools</groupId>
-            <artifactId>org.apache.geronimo.runtime.v20</artifactId>
-            <version>${version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>abbot</groupId>
-            <artifactId>abbot.swt</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>abbot</groupId>
-            <artifactId>abbot.swt.eclipse</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.geronimo.devtools</groupId>
-            <artifactId>org.apache.geronimo.testsuite.common</artifactId>
-            <version>${version}</version>
-        </dependency>
-    </dependencies>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<!-- @version $Rev$ $Date$ -->
+
+<project>
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.apache.geronimo.devtools</groupId>
+    <artifactId>org.apache.geronimo.testsuite.v20</artifactId>
+    <version>3.0.0</version>
+    <packaging>jar</packaging>
+    <name>${artifactId}</name>
+
+    <parent>
+        <groupId>org.apache.geronimo.devtools</groupId>
+        <artifactId>testsuite-plugins</artifactId>
+        <version>3.0.0</version>
+    </parent>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>.</directory>
+                <includes>
+                    <include>test.xml</include>
+                    <include>plugin.xml</include>
+                    <include>plugin.properties</include>
+                </includes>
+            </resource>
+
+            <resource>
+                <targetPath>META-INF</targetPath>
+                <directory>.</directory>
+                <includes>
+                    <include>LICENSE</include>
+                    <include>NOTICE</include>
+                </includes>
+            </resource>
+        </resources>
+
+        <plugins>
+
+            <plugin>
+                <groupId>org.apache.geronimo.devtools</groupId>
+                <artifactId>maven-eclipsepde-plugin</artifactId>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+            </plugin>
+
+            <!--
+             |
+             | Unzip the resulting plugin jar into the launcher eclipse directory for later usage
+             |
+             -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <mkdir dir="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-3.0.0"/>
+                                <unzip src="${project.build.directory}/org.apache.geronimo.testsuite.v20-3.0.0.jar"
+                                      dest="${basedir}/../../launcher/eclipse/eclipse/plugins/org.apache.geronimo.testsuite.v20-3.0.0"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <!-- Exclude tutorial java files -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>**/MyServlet.java</exclude>
+                        <exclude>**/MyStatelessSessionBean.java</exclude>
+                        <exclude>**/RemoteBusinessInterface.java</exclude>
+                    </excludes>
+                </configuration>
+             </plugin>
+
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>eclipse</artifactId>
+            <version>${version}</version>
+            <type>pom</type>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>org.apache.geronimo.st.core</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>org.apache.geronimo.st.v20.core</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>org.apache.geronimo.jee.v21.jaxbmodel</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>org.apache.geronimo.runtime.common</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>org.apache.geronimo.runtime.v20</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>abbot</groupId>
+            <artifactId>abbot.swt</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>abbot</groupId>
+            <artifactId>abbot.swt.eclipse</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>org.apache.geronimo.testsuite.common</artifactId>
+            <version>${version}</version>
+        </dependency>
+    </dependencies>
+
+</project>

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/Activator.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/Activator.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/Activator.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/Activator.java Thu Nov 17 02:19:12 2011
@@ -1,94 +1,94 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.geronimo.testsuite.v20;
-
-import org.apache.geronimo.testsuite.common.selenium.EclipseSeleniumServer;
-import org.apache.geronimo.testsuite.common.ui.AbbotHelper;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.SafeRunner;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.swt.widgets.Shell;
-import org.osgi.framework.BundleContext;
-
-import abbot.swt.eclipse.utils.WorkbenchUtilities;
-
-/**
- * The activator class controls the plug-in life cycle
- *
- * @version $Rev: 677978 $ $Date: 2008-07-18 10:34:28 -0700 (Fri, 18 Jul 2008) $
- */
-public class Activator extends Plugin {
-
-    // The plug-in ID
-    public static final String PLUGIN_ID = "org.apache.geronimo.st.v20.core";
-
-    // The shared instance
-    private static Activator plugin;
-
-    private EclipseSeleniumServer seleniumServer;
-    
-    /**
-     * The constructor
-     */
-    public Activator() {
-        plugin = this;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
-     */
-    public void start(BundleContext context) throws Exception {
-        super.start(context);
-        Shell workbenchShell = WorkbenchUtilities.getWorkbenchWindow().getShell();
-        AbbotHelper aHelper = new AbbotHelper (workbenchShell);
-        seleniumServer = new EclipseSeleniumServer(aHelper, workbenchShell);
-        try {
-            SafeRunner.run( seleniumServer );
-            Thread.sleep(5000);
-//          new Exception("sdsfsdf").printStackTrace();
-        } catch ( Exception e ) {
-            e.printStackTrace();
-        }
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
-     */
-    public void stop(BundleContext context) throws Exception {
-        plugin = null;
-        super.stop(context);
-        seleniumServer.stop();
-    }
-
-    /**
-     * Returns the shared instance
-     * 
-     * @return the shared instance
-     */
-    public static Activator getDefault() {
-        return plugin;
-    }
-    
-    public static void log(int severity, String message, Throwable throwable) {
-        plugin.getLog().log(new Status(severity, PLUGIN_ID, 0, message, throwable));
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.testsuite.v20;
+
+import org.apache.geronimo.testsuite.common.selenium.EclipseSeleniumServer;
+import org.apache.geronimo.testsuite.common.ui.AbbotHelper;
+import org.eclipse.core.runtime.Plugin;
+import org.eclipse.core.runtime.SafeRunner;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.swt.widgets.Shell;
+import org.osgi.framework.BundleContext;
+
+import abbot.swt.eclipse.utils.WorkbenchUtilities;
+
+/**
+ * The activator class controls the plug-in life cycle
+ *
+ * @version $Rev$ $Date$
+ */
+public class Activator extends Plugin {
+
+    // The plug-in ID
+    public static final String PLUGIN_ID = "org.apache.geronimo.st.v20.core";
+
+    // The shared instance
+    private static Activator plugin;
+
+    private EclipseSeleniumServer seleniumServer;
+    
+    /**
+     * The constructor
+     */
+    public Activator() {
+        plugin = this;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+     */
+    public void start(BundleContext context) throws Exception {
+        super.start(context);
+        Shell workbenchShell = WorkbenchUtilities.getWorkbenchWindow().getShell();
+        AbbotHelper aHelper = new AbbotHelper (workbenchShell);
+        seleniumServer = new EclipseSeleniumServer(aHelper, workbenchShell);
+        try {
+            SafeRunner.run( seleniumServer );
+            Thread.sleep(5000);
+//          new Exception("sdsfsdf").printStackTrace();
+        } catch ( Exception e ) {
+            e.printStackTrace();
+        }
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+     */
+    public void stop(BundleContext context) throws Exception {
+        plugin = null;
+        super.stop(context);
+        seleniumServer.stop();
+    }
+
+    /**
+     * Returns the shared instance
+     * 
+     * @return the shared instance
+     */
+    public static Activator getDefault() {
+        return plugin;
+    }
+    
+    public static void log(int severity, String message, Throwable throwable) {
+        plugin.getLog().log(new Status(severity, PLUGIN_ID, 0, message, throwable));
+    }
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/Activator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/Activator.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/Activator.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/NewServerTest.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/NewServerTest.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/NewServerTest.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/NewServerTest.java Thu Nov 17 02:19:12 2011
@@ -1,91 +1,91 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.geronimo.testsuite.v20.ui;
-
-import org.apache.geronimo.testsuite.common.selenium.EclipseSelenium;
-import org.apache.geronimo.testsuite.common.ui.AbbotHelper;
-import org.apache.geronimo.testsuite.common.ui.Constants;
-import org.apache.geronimo.testsuite.common.ui.ServerTasks;
-import org.apache.geronimo.testsuite.common.ui.WorkbenchTasks;
-import org.eclipse.swt.widgets.Shell;
-
-import abbot.swt.eclipse.junit.extensions.WorkbenchTestCase;
-import abbot.swt.eclipse.utils.Preferences;
-import abbot.swt.eclipse.utils.WorkbenchUtilities;
-import abbot.swt.eclipse.utils.Preferences.Mode;
-
-/**
- * @version $Rev: 679174 $ $Date: 2008-07-23 12:52:55 -0700 (Wed, 23 Jul 2008) $
- */
-public class NewServerTest extends WorkbenchTestCase {
-    Shell workbenchShell;
-    AbbotHelper aHelper;
-    
-    protected void setUp() throws Exception {
-        super.setUp();
-        Preferences.setPerspectiveSwitchPrompt(Mode.Always);
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
-    // We only want to install/uninstall the server a single time so 
-    // we will roll all testcases into one large one that is controlled
-    // in the testAllGeronimoGUI method.
-    public void testAllGeronimoGUI() {
-        boolean success = false;
-        try {
-            workbenchShell = WorkbenchUtilities.getWorkbenchWindow().getShell();
-            aHelper = new AbbotHelper (workbenchShell);
-            
-            ServerTasks serverTasks = new ServerTasks(workbenchShell, aHelper, Constants.SERVER_V20 );
-            WorkbenchTasks workbenchTasks = new WorkbenchTasks(workbenchShell, aHelper);
-            
-            // so we are sure that we are looking in the desired perspective
-            workbenchTasks.showJEEPerspective();
-
-            // create server from an installed instance
-            serverTasks.createServer();
-
-            serverTasks.startServer();
-            
-            EclipseSelenium selenium = new EclipseSelenium();
-            selenium.start();
-            
-            selenium.open( "http://localhost:8080/console/" );
-            selenium.waitForPageToLoad( "2000" );
-            selenium.type("j_username", "system");
-            selenium.type("j_password", "manager");
-            selenium.click("submit");
-            
-            serverTasks.stopServer();
-
-            // remove the server 
-            serverTasks.removeServer();
-            selenium.stop();
-
-            success = true;
-        }
-        catch (Exception e) {
-            e.printStackTrace();
-        }
-        assertTrue (success);
-    }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.testsuite.v20.ui;
+
+import org.apache.geronimo.testsuite.common.selenium.EclipseSelenium;
+import org.apache.geronimo.testsuite.common.ui.AbbotHelper;
+import org.apache.geronimo.testsuite.common.ui.Constants;
+import org.apache.geronimo.testsuite.common.ui.ServerTasks;
+import org.apache.geronimo.testsuite.common.ui.WorkbenchTasks;
+import org.eclipse.swt.widgets.Shell;
+
+import abbot.swt.eclipse.junit.extensions.WorkbenchTestCase;
+import abbot.swt.eclipse.utils.Preferences;
+import abbot.swt.eclipse.utils.WorkbenchUtilities;
+import abbot.swt.eclipse.utils.Preferences.Mode;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class NewServerTest extends WorkbenchTestCase {
+    Shell workbenchShell;
+    AbbotHelper aHelper;
+    
+    protected void setUp() throws Exception {
+        super.setUp();
+        Preferences.setPerspectiveSwitchPrompt(Mode.Always);
+    }
+
+    protected void tearDown() throws Exception {
+        super.tearDown();
+    }
+
+    // We only want to install/uninstall the server a single time so 
+    // we will roll all testcases into one large one that is controlled
+    // in the testAllGeronimoGUI method.
+    public void testAllGeronimoGUI() {
+        boolean success = false;
+        try {
+            workbenchShell = WorkbenchUtilities.getWorkbenchWindow().getShell();
+            aHelper = new AbbotHelper (workbenchShell);
+            
+            ServerTasks serverTasks = new ServerTasks(workbenchShell, aHelper, Constants.SERVER_V20 );
+            WorkbenchTasks workbenchTasks = new WorkbenchTasks(workbenchShell, aHelper);
+            
+            // so we are sure that we are looking in the desired perspective
+            workbenchTasks.showJEEPerspective();
+
+            // create server from an installed instance
+            serverTasks.createServer();
+
+            serverTasks.startServer();
+            
+            EclipseSelenium selenium = new EclipseSelenium();
+            selenium.start();
+            
+            selenium.open( "http://localhost:8080/console/" );
+            selenium.waitForPageToLoad( "2000" );
+            selenium.type("j_username", "system");
+            selenium.type("j_password", "manager");
+            selenium.click("submit");
+            
+            serverTasks.stopServer();
+
+            // remove the server 
+            serverTasks.removeServer();
+            selenium.stop();
+
+            success = true;
+        }
+        catch (Exception e) {
+            e.printStackTrace();
+        }
+        assertTrue (success);
+    }
+
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/NewServerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/NewServerTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/NewServerTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/Tutorial5MinuteTest.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/Tutorial5MinuteTest.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/Tutorial5MinuteTest.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/Tutorial5MinuteTest.java Thu Nov 17 02:19:12 2011
@@ -1,95 +1,95 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.geronimo.testsuite.v20.ui;
-
-import org.apache.geronimo.testsuite.common.ui.AbbotHelper;
-import org.apache.geronimo.testsuite.common.ui.Constants;
-import org.apache.geronimo.testsuite.common.ui.ProjectTasks;
-import org.apache.geronimo.testsuite.common.ui.ServerTasks;
-import org.apache.geronimo.testsuite.common.ui.WorkbenchTasks;
-import org.eclipse.swt.widgets.Shell;
-
-import abbot.swt.eclipse.junit.extensions.WorkbenchTestCase;
-import abbot.swt.eclipse.utils.Preferences;
-import abbot.swt.eclipse.utils.WorkbenchUtilities;
-import abbot.swt.eclipse.utils.Preferences.Mode;
-
-/**
- * Tutorial5MinuteTest
- *
- * @version $Rev: 679174 $ $Date: 2008-07-23 12:52:55 -0700 (Wed, 23 Jul 2008) $
- */
-public class Tutorial5MinuteTest extends WorkbenchTestCase {
-    Shell workbenchShell;
-    AbbotHelper aHelper;
-    
-    protected void setUp() throws Exception {
-        super.setUp();
-        Preferences.setPerspectiveSwitchPrompt(Mode.Always);
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
-    // We only want to install/uninstall the server a single time so 
-    // we will roll all testcases into one large one that is controlled
-    // in the testAllGeronimoGUI method.
-    public void testAllGeronimoGUI() {
-        boolean success = false;
-        try {
-            workbenchShell = WorkbenchUtilities.getWorkbenchWindow().getShell();
-            aHelper = new AbbotHelper (workbenchShell);
-            
-            ServerTasks serverTasks = new ServerTasks(workbenchShell, aHelper, Constants.SERVER_V20 );
-            WorkbenchTasks workbenchTasks = new WorkbenchTasks(workbenchShell, aHelper);
-            ProjectTasks projectTasks = new ProjectTasks(workbenchShell, aHelper);
-            
-            // so we are sure that we are looking in the desired perspective
-            workbenchTasks.showJEEPerspective();
-
-            // create server from an installed instance
-            serverTasks.createServer();
-
-            projectTasks.createProjects ();
-
-            serverTasks.publishAllProjects();
-            serverTasks.startServer();
-
-            projectTasks.webTesting();
-
-            serverTasks.stopServer();
-
-            // delete the projects that have been created
-            // reverse alphabetical is a little smoother
-            projectTasks.deleteProject ("SampleWAR");
-            projectTasks.deleteProject ("SampleEJB");
-            projectTasks.deleteProject ("SampleEAR");
-
-            // remove the server 
-            serverTasks.removeServer();
-
-            success = true;
-        }
-        catch (Exception e) {
-            e.printStackTrace();
-        }
-        assertTrue (success);
-    }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.geronimo.testsuite.v20.ui;
+
+import org.apache.geronimo.testsuite.common.ui.AbbotHelper;
+import org.apache.geronimo.testsuite.common.ui.Constants;
+import org.apache.geronimo.testsuite.common.ui.ProjectTasks;
+import org.apache.geronimo.testsuite.common.ui.ServerTasks;
+import org.apache.geronimo.testsuite.common.ui.WorkbenchTasks;
+import org.eclipse.swt.widgets.Shell;
+
+import abbot.swt.eclipse.junit.extensions.WorkbenchTestCase;
+import abbot.swt.eclipse.utils.Preferences;
+import abbot.swt.eclipse.utils.WorkbenchUtilities;
+import abbot.swt.eclipse.utils.Preferences.Mode;
+
+/**
+ * Tutorial5MinuteTest
+ *
+ * @version $Rev$ $Date$
+ */
+public class Tutorial5MinuteTest extends WorkbenchTestCase {
+    Shell workbenchShell;
+    AbbotHelper aHelper;
+    
+    protected void setUp() throws Exception {
+        super.setUp();
+        Preferences.setPerspectiveSwitchPrompt(Mode.Always);
+    }
+
+    protected void tearDown() throws Exception {
+        super.tearDown();
+    }
+
+    // We only want to install/uninstall the server a single time so 
+    // we will roll all testcases into one large one that is controlled
+    // in the testAllGeronimoGUI method.
+    public void testAllGeronimoGUI() {
+        boolean success = false;
+        try {
+            workbenchShell = WorkbenchUtilities.getWorkbenchWindow().getShell();
+            aHelper = new AbbotHelper (workbenchShell);
+            
+            ServerTasks serverTasks = new ServerTasks(workbenchShell, aHelper, Constants.SERVER_V20 );
+            WorkbenchTasks workbenchTasks = new WorkbenchTasks(workbenchShell, aHelper);
+            ProjectTasks projectTasks = new ProjectTasks(workbenchShell, aHelper);
+            
+            // so we are sure that we are looking in the desired perspective
+            workbenchTasks.showJEEPerspective();
+
+            // create server from an installed instance
+            serverTasks.createServer();
+
+            projectTasks.createProjects ();
+
+            serverTasks.publishAllProjects();
+            serverTasks.startServer();
+
+            projectTasks.webTesting();
+
+            serverTasks.stopServer();
+
+            // delete the projects that have been created
+            // reverse alphabetical is a little smoother
+            projectTasks.deleteProject ("SampleWAR");
+            projectTasks.deleteProject ("SampleEJB");
+            projectTasks.deleteProject ("SampleEAR");
+
+            // remove the server 
+            serverTasks.removeServer();
+
+            success = true;
+        }
+        catch (Exception e) {
+            e.printStackTrace();
+        }
+        assertTrue (success);
+    }
+
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/Tutorial5MinuteTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/Tutorial5MinuteTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/java/org/apache/geronimo/testsuite/v20/ui/Tutorial5MinuteTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyServlet.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyServlet.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyServlet.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyServlet.java Thu Nov 17 02:19:12 2011
@@ -1,45 +1,45 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package sampleear;
-
-import java.io.IOException;
-
-import javax.ejb.EJB;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-/**
- * MyServlet
- *
- * @version $Rev: 679174 $ $Date: 2008-07-23 12:52:55 -0700 (Wed, 23 Jul 2008) $
- */
-public class MyServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
-    static final long serialVersionUID = 1L;
-
-    @EJB
-    RemoteBusinessInterface remoteBusinessIntf;
-
-    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
-        String name = request.getParameter("name");
-        if (name == null || name.length() == 0) {
-            name = "anonymous";
-        }
-        response.getWriter().write(remoteBusinessIntf.sayHello(name));
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package sampleear;
+
+import java.io.IOException;
+
+import javax.ejb.EJB;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * MyServlet
+ *
+ * @version $Rev$ $Date$
+ */
+public class MyServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
+    static final long serialVersionUID = 1L;
+
+    @EJB
+    RemoteBusinessInterface remoteBusinessIntf;
+
+    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+        String name = request.getParameter("name");
+        if (name == null || name.length() == 0) {
+            name = "anonymous";
+        }
+        response.getWriter().write(remoteBusinessIntf.sayHello(name));
+    }
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyServlet.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyServlet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyStatelessSessionBean.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyStatelessSessionBean.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyStatelessSessionBean.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyStatelessSessionBean.java Thu Nov 17 02:19:12 2011
@@ -1,33 +1,33 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package sampleear;
-
-import javax.ejb.Stateless;
-
-/**
- * MyStatelessSessionBean
- *
- * @version $Rev: 679174 $ $Date: 2008-07-23 12:52:55 -0700 (Wed, 23 Jul 2008) $
- */
-@Stateless
-public class MyStatelessSessionBean implements RemoteBusinessInterface {
-
-    public String sayHello(String name) {
-        return getClass().getName() + " says hello to " + name + ".";
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package sampleear;
+
+import javax.ejb.Stateless;
+
+/**
+ * MyStatelessSessionBean
+ *
+ * @version $Rev$ $Date$
+ */
+@Stateless
+public class MyStatelessSessionBean implements RemoteBusinessInterface {
+
+    public String sayHello(String name) {
+        return getClass().getName() + " says hello to " + name + ".";
+    }
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyStatelessSessionBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyStatelessSessionBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/MyStatelessSessionBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/RemoteBusinessInterface.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/RemoteBusinessInterface.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/RemoteBusinessInterface.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/RemoteBusinessInterface.java Thu Nov 17 02:19:12 2011
@@ -1,30 +1,30 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package sampleear;
-
-import javax.ejb.Remote;
-
-/**
- * RemoteBusinessInterface
- *
- * @version $Rev: 679174 $ $Date: 2008-07-23 12:52:55 -0700 (Wed, 23 Jul 2008) $
- */
-@Remote
-public interface RemoteBusinessInterface {
-    public String sayHello(String name);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package sampleear;
+
+import javax.ejb.Remote;
+
+/**
+ * RemoteBusinessInterface
+ *
+ * @version $Rev$ $Date$
+ */
+@Remote
+public interface RemoteBusinessInterface {
+    public String sayHello(String name);
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/RemoteBusinessInterface.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/RemoteBusinessInterface.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/testsuite/plugins/org.apache.geronimo.testsuite.v20/src/main/resources/ui-tutorial/RemoteBusinessInterface.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message