Author: dgolovin
Date: 2009-10-06 06:30:05 -0400 (Tue, 06 Oct 2009)
New Revision: 17915
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.classpath
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.project
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.settings/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/New_configuration.launch
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/build.properties
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/jbossEAPRuntime.properties
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/projectProperties.properties
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam12Settings.properties
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam21Settings.properties
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam2fpSettings.properties
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateActions.testCreateActionFor12war.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateConversations.testCreateConversationFor12war.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateEntities.testCreateEntityFor12war.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateForms.testCreateFormFor12war.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamProjects.testCreateSeamProject12war.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime12.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime21.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime2fp.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-DeleteSeamProjects.testDeleteSeamProject12war.jpeg
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/log4j.xml
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/Activator.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamTestLauncher.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateProjectWizard.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateServerRuntimes.java
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java
Log:
share seam swtbot tests with fixes to be runnable from tests builder
Added: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.classpath
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.classpath
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.classpath 2009-10-06 10:30:05 UTC
(rev 17915)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="resources"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.project
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.project
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.project 2009-10-06 10:30:05 UTC
(rev 17915)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.seam.ui.bot.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.settings/org.eclipse.jdt.core.prefs 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,8 @@
+#Thu Jun 18 13:29:27 EEST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,23 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: SWTBotTests
+Bundle-SymbolicName: org.jboss.tools.seam.ui.bot.test
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.tools.seam.ui.bot.test.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.jst.ui.bot.test;bundle-version="1.0.0",
+ org.eclipse.swtbot.eclipse.core;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.finder;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.spy;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.0",
+ org.eclipse.swtbot.swt.finder;bundle-version="2.0.0",
+ org.apache.log4j;bundle-version="1.2.13",
+ org.eclipse.swtbot.junit4_x;bundle-version="2.0.0",
+ org.junit4;bundle-version="4.5.0",
+ org.eclipse.swtbot.eclipse.junit4.headless;bundle-version="2.0.0",
+ org.junit;bundle-version="3.8.2"
+Eclipse-RegisterBuddy: org.apache.log4j
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Import-Package: junit.framework
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/New_configuration.launch
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/New_configuration.launch
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/New_configuration.launch 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
+<launchConfiguration
type="org.eclipse.swtbot.eclipse.ui.launcher.JunitLaunchConfig">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation"
value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location"
value="${workspace_loc}/../junit-workspace"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry
value="/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamTestLauncher.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER"
value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR"
value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME"
value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND"
value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE"
value="org.jboss.tools.seam.ui.bot.test.SeamTestLauncher"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl
${target.nl}"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
value="org.jboss.tools.seam.ui.bot.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER"
value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS"
value="-Xms1024m -Xmx2048m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
+<booleanAttribute key="run_in_ui_thread" value="true"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig"
value="${target_home}/configuration/config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="false"/>
+</launchConfiguration>
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/New_configuration.launch
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/build.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/build.properties
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/build.properties 2009-10-06 10:30:05
UTC (rev 17915)
@@ -0,0 +1,4 @@
+source.. = src/,resources/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/jbossEAPRuntime.properties
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/jbossEAPRuntime.properties
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/jbossEAPRuntime.properties 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,5 @@
+runtimeGroup=JBoss Enterprise Middleware
+runtimeItem=JBoss Enterprise Application Platform 4.3
+runtimeName=jboss-eap Runtime
+runtimePath=${jbosstools.test.jboss.home}
+serverName=jboss-eap
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/jbossEAPRuntime.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/projectProperties.properties
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/projectProperties.properties
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/projectProperties.properties 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,4 @@
+connName=DefaultDS
+jbossServerView=JBoss Server View
+
+
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/projectProperties.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam12Settings.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam12Settings.properties
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam12Settings.properties 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,4 @@
+seamRuntimeName=Seam 1.2.AP
+seamRuntimePath=${jbosstools.test.seam.1.2.1.eap.home}
+testProjectName=seamTest12
+configName=Dynamic Web Project with Seam 1.2
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam12Settings.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam21Settings.properties
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam21Settings.properties
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam21Settings.properties 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,4 @@
+seamRuntimeName=Seam 2.1.1.GA
+seamRuntimePath=${jbosstools.test.seam.2.1.0.GA.home}
+testProjectName=seamTest21
+configName=Dynamic Web Project with Seam 2.1 (technology preview)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam21Settings.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam2fpSettings.properties
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam2fpSettings.properties
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam2fpSettings.properties 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,4 @@
+seamRuntimeName=Seam 2FP
+seamRuntimePath=${jbosstools.test.seam.2fp.eap.home}
+testProjectName=seamTest2fp
+configName=Dynamic Web Project with Seam 2.0
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/resources/seam2fpSettings.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateActions.testCreateActionFor12war.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateActions.testCreateActionFor12war.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateConversations.testCreateConversationFor12war.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateConversations.testCreateConversationFor12war.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateEntities.testCreateEntityFor12war.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateEntities.testCreateEntityFor12war.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateForms.testCreateFormFor12war.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateForms.testCreateFormFor12war.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamProjects.testCreateSeamProject12war.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamProjects.testCreateSeamProject12war.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime12.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime12.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime21.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime21.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime2fp.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-CreateSeamRuntimes.testCreateSeamRuntime2fp.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-DeleteSeamProjects.testDeleteSeamProject12war.jpeg
===================================================================
(Binary files differ)
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/screenshots/screenshot-DeleteSeamProjects.testDeleteSeamProject12war.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/log4j.xml
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/log4j.xml
(rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/log4j.xml 2009-10-06 10:30:05
UTC (rev 17915)
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/"
+ debug="false">
+
+ <appender name="consoleAppender"
class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern"
+ value="%d{dd MMM yyyy HH:mm:ss.SSS} - %25t - %-5p - %30c{1} - (%C{1}.java:%L) -
%m%n" />
+ </layout>
+ </appender>
+
+ <appender name="fileAppender"
class="org.apache.log4j.FileAppender">
+ <param name="File" value="/tmp/debug.log" />
+ <param name="Append" value="false" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern"
+ value="%d{dd MMM yyyy HH:mm:ss.SSS} - %25t - %-5p - %30c{1} - (%C{1}.java:%L) -
%m%n" />
+ </layout>
+ </appender>
+
+ <appender name="asyncAppender"
class="org.apache.log4j.AsyncAppender">
+ <!-- appender-ref ref="consoleAppender" / -->
+ <appender-ref ref="fileAppender" />
+ </appender>
+
+ <!-- don't log matchers, this is very high amount of chatter -->
+ <category name="org.eclipse.swtbot.swt.finder.matchers">
+ <priority value="OFF" />
+ </category>
+
+ <!--
+ don't log widget notification events, this is moderately high chatter
+ -->
+ <category name="org.eclipse.swtbot.swt.finder.widgets">
+ <priority value="OFF" />
+ </category>
+
+ <!-- don't log finders, this is moderate chatter -->
+ <category name="org.eclipse.swtbot.swt.finder.finders">
+ <priority value="DEBUG" />
+ </category>
+
+ <category name="org.eclipse.swtbot.swt.finder.keyboard">
+ <!-- set to a value higher than debug to turn on. -->
+ <priority value="DEBUG" />
+ </category>
+
+ <category name="org.eclipse.swtbot">
+ <priority value="ALL" />
+ </category>
+
+ <root>
+ <priority value="INFO" />
+ <appender-ref ref="consoleAppender" />
+ <appender-ref ref="fileAppender" />
+ </root>
+
+</log4j:configuration>
\ No newline at end of file
Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/log4j.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/Activator.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/Activator.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/Activator.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,50 @@
+package org.jboss.tools.seam.ui.bot.test;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.seam.ui.bot.test";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/Activator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamTestLauncher.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamTestLauncher.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamTestLauncher.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,35 @@
+package org.jboss.tools.seam.ui.bot.test;
+
+import org.eclipse.swtbot.swt.finder.SWTBotTestCase;
+import org.jboss.tools.seam.ui.bot.test.create.CreateSeamRuntimes;
+import org.jboss.tools.seam.ui.bot.test.create.CreateSeamProjects;
+import org.jboss.tools.seam.ui.bot.test.create.CreateForms;
+import org.jboss.tools.seam.ui.bot.test.create.CreateActions;
+import org.jboss.tools.seam.ui.bot.test.create.CreateConversations;
+import org.jboss.tools.seam.ui.bot.test.create.CreateEntities;
+import org.jboss.tools.seam.ui.bot.test.create.DeleteSeamProjects;
+
+import junit.extensions.TestSetup;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+
+/**
+ *
+ * This is a swtbot testcase for an eclipse application.
+ *
+ */
+public class SeamTestLauncher extends SWTBotTestCase{
+ public static Test suite(){
+ TestSuite suite = new TestSuite("Seam tests");
+ suite.addTestSuite(CreateSeamRuntimes.class);
+ suite.addTestSuite(CreateSeamProjects.class);
+ suite.addTestSuite(CreateForms.class);
+ suite.addTestSuite(CreateActions.class);
+ suite.addTestSuite(CreateConversations.class);
+ suite.addTestSuite(CreateEntities.class);
+ suite.addTestSuite(DeleteSeamProjects.class);
+ return new TestSetup(suite);
+ }
+}
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/SeamTestLauncher.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,237 @@
+package org.jboss.tools.seam.ui.bot.test;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Properties;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.waits.Conditions;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.jboss.tools.test.TestProperties;
+import org.jboss.tools.ui.bot.test.JBTSWTBotTestCase;
+import org.jboss.tools.ui.bot.test.WidgetVariables;
+
+public abstract class TestControl extends JBTSWTBotTestCase{
+
+/*Properties here:*/
+
+ protected static Properties projectProperties;
+ protected static Properties jbossEAPRuntime;
+ protected static Properties seam12Settings;
+ protected static Properties seam2fpSettings;
+ protected static Properties seam21Settings;
+
+ private static String PROJECT_PROPERTIES = "projectProperties.properties";
+ private static String EAP_RUNTIME = "jbossEAPRuntime.properties";
+ private static String SEAM_SET_12 = "seam12Settings.properties";
+ private static String SEAM_SET_2FP = "seam2fpSettings.properties";
+ private static String SEAM_SET_21 = "seam21Settings.properties";
+
+ public static String JBOSS_EAP_HOME;
+ public static String SEAM_12_SETTINGS_HOME;
+ public static String SEAM_21_SETTINGS_HOME;
+ public static String SEAM_2FP_SETTINGS_HOME;
+
+ public static final String[] SUBSTITUTE_PROPERTIES = {
+ "jbosstools.test.jboss.home",
+ "jbosstools.test.seam.1.2.1.eap.home",
+ "jbosstools.test.seam.2.1.0.GA.home",
+ "jbosstools.test.seam.2fp.eap.home"
+ };
+
+ static {
+ try {
+ InputStream is = TestControl.class.getResourceAsStream("/" +
PROJECT_PROPERTIES);
+ projectProperties = new TestProperties();
+ projectProperties.load(is);
+ } catch (IOException e) {
+ fail("Can't load properties from " + PROJECT_PROPERTIES + "
file");
+ }
+ catch (IllegalStateException e) {
+ fail("Property file " + PROJECT_PROPERTIES + " was not found");
+ }
+ try {
+ InputStream is = TestControl.class.getResourceAsStream("/" + EAP_RUNTIME);
+ jbossEAPRuntime = new TestProperties();
+ jbossEAPRuntime.load(is);
+ } catch (IOException e) {
+ fail("Can't load properties from " + EAP_RUNTIME + "
file");
+ }
+ catch (IllegalStateException e) {
+ fail("Property file " + EAP_RUNTIME + " was not found");
+ }
+ try {
+ InputStream is = TestControl.class.getResourceAsStream("/" + SEAM_SET_12);
+ seam12Settings = new TestProperties();
+ seam12Settings.load(is);
+ } catch (IOException e) {
+ fail("Can't load properties from " + SEAM_SET_12 + "
file");
+ }
+ catch (IllegalStateException e) {
+ fail("Property file " + SEAM_SET_12 + " was not found");
+ }
+ try {
+ InputStream is = TestControl.class.getResourceAsStream("/" + SEAM_SET_2FP);
+ seam2fpSettings = new TestProperties();
+ seam2fpSettings.load(is);
+ } catch (IOException e) {
+ fail("Can't load properties from " + SEAM_SET_2FP + "
file");
+ }
+ catch (IllegalStateException e) {
+ fail("Property file " + SEAM_SET_2FP + " was not found");
+ }
+ try {
+ InputStream is = TestControl.class.getResourceAsStream("/" + SEAM_SET_21);
+ seam21Settings = new TestProperties();
+ seam21Settings.load(is);
+ } catch (IOException e) {
+ fail("Can't load properties from " + SEAM_SET_21 + "
file");
+ }
+ catch (IllegalStateException e) {
+ fail("Property file " + SEAM_SET_21 + " was not found");
+ }
+ JBOSS_EAP_HOME =
System.getProperty("jbosstools.test.jboss.home",jbossEAPRuntime.getProperty("runtimePath"));
+ SEAM_12_SETTINGS_HOME =
System.getProperty("jbosstools.test.seam.1.2.1.eap.home",seam12Settings.getProperty("seamRuntimePath"));
+
+ //Property SEAM_21_SETTINGS_HOME should be deleted or commented. There is no such
property on hudson
+ SEAM_21_SETTINGS_HOME =
System.getProperty("jbosstools.test.seam.home.2.1",seam21Settings.getProperty("seamRuntimePath"));
+
+
+ SEAM_2FP_SETTINGS_HOME =
System.getProperty("jbosstools.test.seam.2.0.1.GA.home",seam2fpSettings.getProperty("seamRuntimePath"));
+ }
+
+
+
+
+/*Pre-launch operations here:*/
+
+ @Override
+ protected void activePerspective() {
+ if (!bot.perspectiveByLabel("Seam").isActive()) {
+ bot.perspectiveByLabel("Seam").activate();
+ }
+
+ }
+
+ private static void substituteSystemProperties(Properties projectProperties2) {
+ for (Object opject : projectProperties2.keySet()) {
+ String propertyValue = projectProperties2.get(opject).toString();
+ if(propertyValue.matches("\\$\\{.*")) {
+ for (String substitute : SUBSTITUTE_PROPERTIES) {
+ String regexp = "\\$\\{" + substitute + "}";
+ if(propertyValue.matches(regexp)) {
+ projectProperties2.put(opject, propertyValue.replaceAll(regexp,
System.getProperty(substitute)));
+ }
+ }
+ }
+ }
+ }
+
+ /*protected void setUp() throws Exception {
+ super.setUp();
+ bot.viewByTitle(projectProperties.getProperty("jbossServerView")).setFocus();
+ SWTBot innerBot =
bot.viewByTitle(projectProperties.getProperty("jbossServerView")).bot();
+ SWTBotTree tree = innerBot.tree();
+ try {
+ tree.getTreeItem(jbossEAPRuntime.getProperty("serverName")+"
[Stopped]");
+ } catch (WidgetNotFoundException e) {
+ createServerRuntime(jbossEAPRuntime);
+ }
+ }*/
+
+/*Predefined methods here:*/
+
+public static String TYPE_WAR = "WAR";
+public static String TYPE_EAR = "EAR";
+
+/**Creates any Server Runtime + Server. */
+ protected void createServerRuntime(Properties serverType){
+ bot.menu("File").menu("New").menu("Other...").click();
+ SWTBotTree tree = bot.tree();
+ tree.expandNode("Server").select("Server");
+ bot.button("Next >").click();
+ SWTBotTree tree2 = bot.tree();
+ tree2.expandNode(serverType.getProperty("runtimeGroup")).select(serverType.getProperty("runtimeItem"));
+ bot.textWithLabel("Server
name:").setText(serverType.getProperty("serverName"));
+ bot.button("Next >").click();
+ bot.textWithLabel("Name").setText(serverType.getProperty("runtimeName"));
+ bot.textWithLabel("Home
Directory").setText(serverType.getProperty("runtimePath"));
+ bot.button("Finish").click();
+ }
+
+/** Creates any Seam runtime. */
+ protected void createSeamRuntime(Properties runtimeSet, String homeFolder){
+ bot.menu("Window").menu("Preferences").click();
+ SWTBotTree tree = bot.tree();
+ tree.expandNode("JBoss
Tools").expandNode("Web").select("Seam");
+ bot.button("Add").click();
+ bot.textWithLabel("Home Folder:").setText(homeFolder);
+ bot.textWithLabel("Name:").setText(runtimeSet.getProperty("seamRuntimeName"));
+ bot.button("Finish").click();
+ bot.button("OK").click();
+ }
+
+/**Creates any Seam project. */
+ protected void createSeamProject(Properties runtimeSet, Properties serverType,
+ String type ){
+ bot.menu("File").menu("New").menu("Seam Web
Project").click();
+ bot.textWithLabel("Project
name:").setText(runtimeSet.getProperty("testProjectName")+ type);
+ bot.comboBoxInGroup("Target
runtime").setSelection(serverType.getProperty("runtimeName"));
+ bot.comboBoxInGroup("Target
Server").setSelection(serverType.getProperty("serverName"));
+ bot.comboBoxInGroup("Configuration").setSelection(runtimeSet.getProperty("configName"));
+ bot.button("Next >").click();
+ bot.button("Next >").click();
+ bot.button("Next >").click();
+ bot.button("Next >").click();
+ bot.comboBoxWithLabel("Seam
Runtime:").setSelection(runtimeSet.getProperty("seamRuntimeName"));
+ bot.radio(type).click();
+ bot.comboBoxWithLabel("Connection
profile:").setSelection(projectProperties.getProperty("connName"));
+ bot.button("Finish").click();
+ bot.waitUntil(Conditions.shellCloses(bot.activeShell()),15000);
+ }
+
+/**Creates any Seam Action, Form etc. */
+ protected void createSeamUnit(String unitType,
+ Properties runtimeSet, String type){
+ bot.menu("File").menu("New").menu("Seam "
+unitType).click();
+ SWTBotShell shell = bot.activeShell();
+ bot.textWithLabel("Seam
Project:").setText(runtimeSet.getProperty("testProjectName")+ type);
+ if ("Entity".equals(unitType)) {
+ bot.textWithLabel("Seam entity class
name:").setText("seam"+unitType);
+ } else {
+ bot.textWithLabel("Seam component
name:").setText("seam"+unitType);
+ }
+ bot.button("Finish").click();
+ bot.waitUntil(Conditions.shellCloses(shell),15000);
+ }
+
+/**Deletes any Seam project. */
+ protected void deleteSeamProject(Properties runtimeSet, String type){
+ SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
+ SWTBotTree tree = innerBot.tree();
+ if ("WAR".equals(type)) {
+ tree.getTreeItem(runtimeSet.getProperty("testProjectName")+
type).contextMenu("Delete").click();
+ bot.button("OK").click();
+ bot.sleep(1000);
+ tree.getTreeItem(runtimeSet.getProperty("testProjectName")+
type+"-test").contextMenu("Delete").click();
+ bot.button("OK").click();
+ bot.sleep(1000);
+ } else {
+ tree.getTreeItem(runtimeSet.getProperty("testProjectName")+
type).contextMenu("Delete").click();
+ bot.button("OK").click();
+ bot.sleep(1000);
+ tree.getTreeItem(runtimeSet.getProperty("testProjectName")+
type+"-ear").contextMenu("Delete").click();
+ bot.button("OK").click();
+ bot.sleep(1000);
+ tree.getTreeItem(runtimeSet.getProperty("testProjectName")+
type+"-ejb").contextMenu("Delete").click();
+ bot.button("OK").click();
+ bot.sleep(1000);
+ tree.getTreeItem(runtimeSet.getProperty("testProjectName")+
type+"-test").contextMenu("Delete").click();
+ bot.button("OK").click();
+ bot.sleep(1000);
+ }
+ }
+
+}
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/TestControl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,33 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class CreateActions extends TestControl{
+
+ private static String TEST_TYPE = "Action";
+
+ public void testCreateActionFor12war(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
+ }
+
+/* public void testCreateActionFor12ear(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
+ }
+
+ public void testCreateActionFor2fpwar(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_WAR);
+ }
+
+ public void testCreateActionFor2fpear(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
+ }
+
+ public void testCreateActionFor21war(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
+ }
+
+ public void testCreateActionFor21ear(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
+ }*/
+}
+
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateActions.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,33 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class CreateConversations extends TestControl{
+
+ private static String TEST_TYPE = "Conversation";
+
+ public void testCreateConversationFor12war(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
+ }
+
+/* public void testCreateConversationFor12ear(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
+ }
+
+ public void testCreateConversationFor2fpwar(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_WAR);
+ }
+
+ public void testCreateConversationFor2fpear(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
+ }
+
+ public void testCreateConversationFor21war(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
+ }
+
+ public void testCreateConversationFor21ear(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
+ }*/
+}
+
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateConversations.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,38 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class CreateEntities extends TestControl{
+
+ private static String TEST_TYPE = "Entity";
+
+ public void testCreateEntityFor12war(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
+ }
+
+/* public void testCreateEntityFor12ear(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
+ waitForJobs();
+ }
+
+ public void testCreateEntityFor2fpwar(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_WAR);
+ waitForJobs();
+ }
+
+ public void testCreateEntityFor2fpear(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
+ waitForJobs();
+ }
+
+ public void testCreateEntityFor21war(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
+ waitForJobs();
+ }
+
+ public void testCreateEntityFor21ear(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
+ waitForJobs();
+ }*/
+}
+
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateEntities.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,33 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class CreateForms extends TestControl{
+
+ private static String TEST_TYPE = "Form";
+
+ public void testCreateFormFor12war(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_WAR);
+ }
+
+/* public void testCreateFormFor12ear(){
+ createSeamUnit(TEST_TYPE, seam12Settings, TYPE_EAR);
+ }
+
+ public void testCreateFormFor2fpwar(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_WAR);
+ }
+
+ public void testCreateFormFor2fpear(){
+ createSeamUnit(TEST_TYPE, seam2fpSettings, TYPE_EAR);
+ }
+
+ public void testCreateFormFor21war(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_WAR);
+ }
+
+ public void testCreateFormFor21ear(){
+ createSeamUnit(TEST_TYPE, seam21Settings, TYPE_EAR);
+ }*/
+}
+
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateForms.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateProjectWizard.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateProjectWizard.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateProjectWizard.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,5 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+public class CreateProjectWizard {
+
+}
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateProjectWizard.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,36 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class CreateSeamProjects extends TestControl{
+
+ public void testCreateSeamProject12war(){
+ createSeamProject(seam12Settings, jbossEAPRuntime, TYPE_WAR);
+ }
+
+/* public void testCreateSeamProject12ear(){
+ createSeamProject(seam12Settings, jbossEAPRuntime, TYPE_EAR);
+ waitForJobs();
+ }
+
+ public void testCreateSeamProject2fpwar(){
+ createSeamProject(seam2fpSettings, jbossEAPRuntime, TYPE_WAR);
+ waitForJobs();
+ }
+
+ public void testCreateSeamProject2fpear(){
+ createSeamProject(seam2fpSettings, jbossEAPRuntime, TYPE_EAR);
+ waitForJobs();
+ }
+
+ public void testCreateSeamProject21war(){
+ createSeamProject(seam21Settings, jbossEAPRuntime, TYPE_WAR);
+ waitForJobs();
+ }
+
+ public void testCreateSeamProject21ear(){
+ createSeamProject(seam21Settings, jbossEAPRuntime, TYPE_EAR);
+ waitForJobs();
+ }*/
+
+}
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamProjects.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,18 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class CreateSeamRuntimes extends TestControl{
+
+ public void testCreateSeamRuntime12(){
+ createSeamRuntime(seam12Settings, SEAM_12_SETTINGS_HOME);
+ }
+
+ public void testCreateSeamRuntime2fp(){
+ createSeamRuntime(seam2fpSettings, SEAM_2FP_SETTINGS_HOME);
+ }
+
+ public void testCreateSeamRuntime21(){
+ createSeamRuntime(seam21Settings, SEAM_21_SETTINGS_HOME);
+ }
+}
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateSeamRuntimes.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateServerRuntimes.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateServerRuntimes.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateServerRuntimes.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,10 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class CreateServerRuntimes extends TestControl{
+
+ public void testCreateEAPServerRuntime(){
+ createServerRuntime(jbossEAPRuntime);
+ }
+}
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/CreateServerRuntimes.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java 2009-10-06
10:30:05 UTC (rev 17915)
@@ -0,0 +1,32 @@
+package org.jboss.tools.seam.ui.bot.test.create;
+
+import org.jboss.tools.seam.ui.bot.test.TestControl;
+
+public class DeleteSeamProjects extends TestControl{
+
+/*
+ public void testDeleteSeamProject12war(){
+ deleteSeamProject(seam12Settings, TYPE_WAR);
+ }
+
+ public void testDeleteSeamProject12ear(){
+ deleteSeamProject(seam12Settings, TYPE_EAR);
+ }
+
+ public void testDeleteSeamProject2fpwar(){
+ deleteSeamProject(seam2fpSettings, TYPE_WAR);
+ }
+
+ public void testDeleteSeamProject2fpear(){
+ deleteSeamProject(seam2fpSettings, TYPE_EAR);
+ }
+
+ public void testDeleteSeamProject21war(){
+ deleteSeamProject(seam21Settings, TYPE_WAR);
+ }
+
+ public void testDeleteSeamProject21ear(){
+ deleteSeamProject(seam21Settings, TYPE_EAR);
+ }*/
+
+}
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.ui.bot.test/src/org/jboss/tools/seam/ui/bot/test/create/DeleteSeamProjects.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain