JBoss Tools SVN: r39629 - in trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test: resources/prj and 18 other directories.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 12:31:40 -0400 (Mon, 19 Mar 2012)
New Revision: 39629
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/.settings/org.hibernate.eclipse.console.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.classpath
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.project
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.eclipse.jdt.core.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.hibernate.eclipse.console.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/bin/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/cfg/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb40hsqldb.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate40.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/hibernate.cfg.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customer.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customers.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Dog.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Employees.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Kunde.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Offices.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orderdetails.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orders.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordattributes.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordresourceauditlog.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Payments.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Productlines.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Products.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.hbm.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.classpath
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.project
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.settings/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.settings/org.eclipse.jdt.core.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/bin/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/src/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.classpath
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.project
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.settings/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.settings/org.eclipse.jdt.core.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/bin/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/src/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.classpath
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.project
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jdt.core.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jpt.core.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.hibernate.eclipse.console.prefs
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/classes/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/classes/META-INF/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/classes/META-INF/persistence.xml
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/src/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/src/META-INF/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/src/META-INF/persistence.xml
Log:
Resource projects for Hibernate ui bot tests added
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/.settings/org.hibernate.eclipse.console.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/.settings/org.hibernate.eclipse.console.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/.settings/org.hibernate.eclipse.console.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,3 @@
+default.configuration=
+eclipse.preferences.version=1
+hibernate3.enabled=false
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/.settings/org.hibernate.eclipse.console.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.classpath
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.classpath (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.classpath 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.project
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.project (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.project 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>hibernate35</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.eclipse.jdt.core.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,12 @@
+#Thu Dec 08 10:03:09 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.hibernate.eclipse.console.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.hibernate.eclipse.console.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.hibernate.eclipse.console.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,4 @@
+#Thu Dec 08 16:29:12 CET 2011
+default.configuration=hibernate35
+eclipse.preferences.version=1
+hibernate3.enabled=false
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/.settings/org.hibernate.eclipse.console.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/hibernate35"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="hibernate35"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CFG_XML_FILE" value="/hibernatelib/cfg/hibernate.cfg.xml"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY" value="CORE"/>
+<listAttribute key="org.hibernate.eclipse.launch.FILE_MAPPINGS">
+<listEntry value="/hibernate35/src/org/testday/Customer.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Customers.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Dog.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Employees.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Kunde.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Offices.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Orderdetails.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Orders.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Passwordattributes.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Passwordresourceauditlog.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Payments.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Productlines.hbm.xml"/>
+<listEntry value="/hibernate35/src/org/testday/Products.hbm.xml"/>
+</listAttribute>
+<stringAttribute key="org.hibernate.eclipse.launch.HIBERNATE_VERSION" value="4.0"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/console/hibernate35.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb40hsqldb.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb40hsqldb.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb40hsqldb.launch 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.hibernate.eclipse.launch.CodeGenerationLaunchConfigurationType">
+<stringAttribute key="org.hibernate.tools.configurationname" value="hibernate40"/>
+<booleanAttribute key="org.hibernate.tools.ejb3" value="false"/>
+<listAttribute key="org.hibernate.tools.exporters">
+<listEntry value="org.hibernate.tools.hbm2java"/>
+<listEntry value="org.hibernate.tools.hbm2hbmxml"/>
+<listEntry value="org.hibernate.tools.hbm2dao"/>
+<listEntry value="org.hibernate.tools.hbmtemplate"/>
+<listEntry value="org.hibernate.tools.hbm2cfgxml"/>
+<listEntry value="org.hibernate.tools.hbm2doc"/>
+<listEntry value="org.hibernate.tools.hbm2ddl"/>
+<listEntry value="org.hibernate.tools.query"/>
+</listAttribute>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2cfgxml" value="false"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2cfgxml.extension_id" value="org.hibernate.tools.hbm2cfgxml"/>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2dao" value="false"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2dao.extension_id" value="org.hibernate.tools.hbm2dao"/>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2ddl" value="false"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2ddl.extension_id" value="org.hibernate.tools.hbm2ddl"/>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2doc" value="false"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2doc.extension_id" value="org.hibernate.tools.hbm2doc"/>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2hbmxml" value="true"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2hbmxml.extension_id" value="org.hibernate.tools.hbm2hbmxml"/>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2java" value="true"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbm2java.extension_id" value="org.hibernate.tools.hbm2java"/>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbmtemplate" value="false"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.hbmtemplate.extension_id" value="org.hibernate.tools.hbmtemplate"/>
+<booleanAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.query" value="false"/>
+<stringAttribute key="org.hibernate.tools.exporters.org.hibernate.tools.query.extension_id" value="org.hibernate.tools.query"/>
+<booleanAttribute key="org.hibernate.tools.jdk5" value="false"/>
+<stringAttribute key="org.hibernate.tools.outputdir" value="/hibernate40/src"/>
+<stringAttribute key="org.hibernate.tools.package" value="org.hsql"/>
+<booleanAttribute key="org.hibernate.tools.prefercompositeids" value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_many_to_many" value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_one_to_one" value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_optimistc_lock" value="true"/>
+<booleanAttribute key="org.hibernate.tools.schema2hbm" value="true"/>
+<booleanAttribute key="org.hibernate.tools.useExternalProcess" value="false"/>
+<booleanAttribute key="org.hibernate.tools.useOwnTemplates" value="false"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hb40hsqldb.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate.launch 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType">
+<stringAttribute key="org.hibernate.eclipse.launch.CFG_XML_FILE" value="/hibernate35/src/hibernate.cfg.xml"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY" value="CORE"/>
+<listAttribute key="org.hibernate.eclipse.launch.FILE_MAPPINGS"/>
+<stringAttribute key="org.hibernate.eclipse.launch.HIBERNATE_VERSION" value="3.5"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate40.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate40.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate40.launch 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="hibernate40"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="hibernate40"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CFG_XML_FILE" value="/hibernatelib/cfg/hibernate.cfg.xml"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY" value="CORE"/>
+<listAttribute key="org.hibernate.eclipse.launch.FILE_MAPPINGS">
+<listEntry value="/hibernate40/src/org/hsql/Customer.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Customers.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Dog.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Employees.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Kunde.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Offices.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Orderdetails.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Orders.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Passwordattributes.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Passwordresourceauditlog.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Payments.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Productlines.hbm.xml"/>
+<listEntry value="/hibernate40/src/org/hsql/Products.hbm.xml"/>
+</listAttribute>
+<stringAttribute key="org.hibernate.eclipse.launch.HIBERNATE_VERSION" value="4.0"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/hibernate40.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/hibernate.cfg.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/hibernate.cfg.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/hibernate.cfg.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-configuration PUBLIC
+ "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+ <session-factory>
+ <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
+ </session-factory>
+</hibernate-configuration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/hibernate.cfg.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customer.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customer.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customer.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,51 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Customer generated by hbm2java
+ */
+public class Customer implements java.io.Serializable {
+
+ private long id;
+ private String firstname;
+ private String surname;
+
+ public Customer() {
+ }
+
+ public Customer(long id) {
+ this.id = id;
+ }
+
+ public Customer(long id, String firstname, String surname) {
+ this.id = id;
+ this.firstname = firstname;
+ this.surname = surname;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getFirstname() {
+ return this.firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getSurname() {
+ return this.surname;
+ }
+
+ public void setSurname(String surname) {
+ this.surname = surname;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customer.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customers.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customers.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customers.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,187 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Customers generated by hbm2java
+ */
+public class Customers implements java.io.Serializable {
+
+ private int customernumber;
+ private Employees employees;
+ private String addressline1;
+ private String addressline2;
+ private String city;
+ private String contactfirstname;
+ private String contactlastname;
+ private String country;
+ private Double creditlimit;
+ private String customername;
+ private String phone;
+ private String postalcode;
+ private String state;
+ private Set orderses = new HashSet(0);
+ private Set paymentses = new HashSet(0);
+
+ public Customers() {
+ }
+
+ public Customers(int customernumber, String addressline1, String city,
+ String contactfirstname, String contactlastname, String country,
+ String customername, String phone) {
+ this.customernumber = customernumber;
+ this.addressline1 = addressline1;
+ this.city = city;
+ this.contactfirstname = contactfirstname;
+ this.contactlastname = contactlastname;
+ this.country = country;
+ this.customername = customername;
+ this.phone = phone;
+ }
+
+ public Customers(int customernumber, Employees employees,
+ String addressline1, String addressline2, String city,
+ String contactfirstname, String contactlastname, String country,
+ Double creditlimit, String customername, String phone,
+ String postalcode, String state, Set orderses, Set paymentses) {
+ this.customernumber = customernumber;
+ this.employees = employees;
+ this.addressline1 = addressline1;
+ this.addressline2 = addressline2;
+ this.city = city;
+ this.contactfirstname = contactfirstname;
+ this.contactlastname = contactlastname;
+ this.country = country;
+ this.creditlimit = creditlimit;
+ this.customername = customername;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.state = state;
+ this.orderses = orderses;
+ this.paymentses = paymentses;
+ }
+
+ public int getCustomernumber() {
+ return this.customernumber;
+ }
+
+ public void setCustomernumber(int customernumber) {
+ this.customernumber = customernumber;
+ }
+
+ public Employees getEmployees() {
+ return this.employees;
+ }
+
+ public void setEmployees(Employees employees) {
+ this.employees = employees;
+ }
+
+ public String getAddressline1() {
+ return this.addressline1;
+ }
+
+ public void setAddressline1(String addressline1) {
+ this.addressline1 = addressline1;
+ }
+
+ public String getAddressline2() {
+ return this.addressline2;
+ }
+
+ public void setAddressline2(String addressline2) {
+ this.addressline2 = addressline2;
+ }
+
+ public String getCity() {
+ return this.city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getContactfirstname() {
+ return this.contactfirstname;
+ }
+
+ public void setContactfirstname(String contactfirstname) {
+ this.contactfirstname = contactfirstname;
+ }
+
+ public String getContactlastname() {
+ return this.contactlastname;
+ }
+
+ public void setContactlastname(String contactlastname) {
+ this.contactlastname = contactlastname;
+ }
+
+ public String getCountry() {
+ return this.country;
+ }
+
+ public void setCountry(String country) {
+ this.country = country;
+ }
+
+ public Double getCreditlimit() {
+ return this.creditlimit;
+ }
+
+ public void setCreditlimit(Double creditlimit) {
+ this.creditlimit = creditlimit;
+ }
+
+ public String getCustomername() {
+ return this.customername;
+ }
+
+ public void setCustomername(String customername) {
+ this.customername = customername;
+ }
+
+ public String getPhone() {
+ return this.phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getPostalcode() {
+ return this.postalcode;
+ }
+
+ public void setPostalcode(String postalcode) {
+ this.postalcode = postalcode;
+ }
+
+ public String getState() {
+ return this.state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public Set getOrderses() {
+ return this.orderses;
+ }
+
+ public void setOrderses(Set orderses) {
+ this.orderses = orderses;
+ }
+
+ public Set getPaymentses() {
+ return this.paymentses;
+ }
+
+ public void setPaymentses(Set paymentses) {
+ this.paymentses = paymentses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Customers.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Dog.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Dog.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Dog.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,41 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Dog generated by hbm2java
+ */
+public class Dog implements java.io.Serializable {
+
+ private long id;
+ private String name;
+
+ public Dog() {
+ }
+
+ public Dog(long id) {
+ this.id = id;
+ }
+
+ public Dog(long id, String name) {
+ this.id = id;
+ this.name = name;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Dog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Employees.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Employees.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Employees.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,124 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Employees generated by hbm2java
+ */
+public class Employees implements java.io.Serializable {
+
+ private int employeenumber;
+ private String email;
+ private String extension;
+ private String firstname;
+ private String jobtitle;
+ private String lastname;
+ private String officecode;
+ private Integer reportsto;
+ private Set customerses = new HashSet(0);
+
+ public Employees() {
+ }
+
+ public Employees(int employeenumber, String email, String extension,
+ String firstname, String jobtitle, String lastname,
+ String officecode) {
+ this.employeenumber = employeenumber;
+ this.email = email;
+ this.extension = extension;
+ this.firstname = firstname;
+ this.jobtitle = jobtitle;
+ this.lastname = lastname;
+ this.officecode = officecode;
+ }
+
+ public Employees(int employeenumber, String email, String extension,
+ String firstname, String jobtitle, String lastname,
+ String officecode, Integer reportsto, Set customerses) {
+ this.employeenumber = employeenumber;
+ this.email = email;
+ this.extension = extension;
+ this.firstname = firstname;
+ this.jobtitle = jobtitle;
+ this.lastname = lastname;
+ this.officecode = officecode;
+ this.reportsto = reportsto;
+ this.customerses = customerses;
+ }
+
+ public int getEmployeenumber() {
+ return this.employeenumber;
+ }
+
+ public void setEmployeenumber(int employeenumber) {
+ this.employeenumber = employeenumber;
+ }
+
+ public String getEmail() {
+ return this.email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getExtension() {
+ return this.extension;
+ }
+
+ public void setExtension(String extension) {
+ this.extension = extension;
+ }
+
+ public String getFirstname() {
+ return this.firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getJobtitle() {
+ return this.jobtitle;
+ }
+
+ public void setJobtitle(String jobtitle) {
+ this.jobtitle = jobtitle;
+ }
+
+ public String getLastname() {
+ return this.lastname;
+ }
+
+ public void setLastname(String lastname) {
+ this.lastname = lastname;
+ }
+
+ public String getOfficecode() {
+ return this.officecode;
+ }
+
+ public void setOfficecode(String officecode) {
+ this.officecode = officecode;
+ }
+
+ public Integer getReportsto() {
+ return this.reportsto;
+ }
+
+ public void setReportsto(Integer reportsto) {
+ this.reportsto = reportsto;
+ }
+
+ public Set getCustomerses() {
+ return this.customerses;
+ }
+
+ public void setCustomerses(Set customerses) {
+ this.customerses = customerses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Employees.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Kunde.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Kunde.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Kunde.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,37 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Kunde generated by hbm2java
+ */
+public class Kunde implements java.io.Serializable {
+
+ private long id;
+ private String art;
+
+ public Kunde() {
+ }
+
+ public Kunde(long id, String art) {
+ this.id = id;
+ this.art = art;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getArt() {
+ return this.art;
+ }
+
+ public void setArt(String art) {
+ this.art = art;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Kunde.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Offices.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Offices.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Offices.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,120 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Offices generated by hbm2java
+ */
+public class Offices implements java.io.Serializable {
+
+ private String officecode;
+ private String addressline1;
+ private String addressline2;
+ private String city;
+ private String country;
+ private String phone;
+ private String postalcode;
+ private String state;
+ private String territory;
+
+ public Offices() {
+ }
+
+ public Offices(String officecode, String addressline1, String city,
+ String country, String phone, String postalcode, String territory) {
+ this.officecode = officecode;
+ this.addressline1 = addressline1;
+ this.city = city;
+ this.country = country;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.territory = territory;
+ }
+
+ public Offices(String officecode, String addressline1, String addressline2,
+ String city, String country, String phone, String postalcode,
+ String state, String territory) {
+ this.officecode = officecode;
+ this.addressline1 = addressline1;
+ this.addressline2 = addressline2;
+ this.city = city;
+ this.country = country;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.state = state;
+ this.territory = territory;
+ }
+
+ public String getOfficecode() {
+ return this.officecode;
+ }
+
+ public void setOfficecode(String officecode) {
+ this.officecode = officecode;
+ }
+
+ public String getAddressline1() {
+ return this.addressline1;
+ }
+
+ public void setAddressline1(String addressline1) {
+ this.addressline1 = addressline1;
+ }
+
+ public String getAddressline2() {
+ return this.addressline2;
+ }
+
+ public void setAddressline2(String addressline2) {
+ this.addressline2 = addressline2;
+ }
+
+ public String getCity() {
+ return this.city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getCountry() {
+ return this.country;
+ }
+
+ public void setCountry(String country) {
+ this.country = country;
+ }
+
+ public String getPhone() {
+ return this.phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getPostalcode() {
+ return this.postalcode;
+ }
+
+ public void setPostalcode(String postalcode) {
+ this.postalcode = postalcode;
+ }
+
+ public String getState() {
+ return this.state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public String getTerritory() {
+ return this.territory;
+ }
+
+ public void setTerritory(String territory) {
+ this.territory = territory;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Offices.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orderdetails.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orderdetails.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orderdetails.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,77 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Orderdetails generated by hbm2java
+ */
+public class Orderdetails implements java.io.Serializable {
+
+ private Integer orderdetailnumber;
+ private Orders orders;
+ private Products products;
+ private short orderlinenumber;
+ private double priceeach;
+ private int quantityordered;
+
+ public Orderdetails() {
+ }
+
+ public Orderdetails(Orders orders, Products products,
+ short orderlinenumber, double priceeach, int quantityordered) {
+ this.orders = orders;
+ this.products = products;
+ this.orderlinenumber = orderlinenumber;
+ this.priceeach = priceeach;
+ this.quantityordered = quantityordered;
+ }
+
+ public Integer getOrderdetailnumber() {
+ return this.orderdetailnumber;
+ }
+
+ public void setOrderdetailnumber(Integer orderdetailnumber) {
+ this.orderdetailnumber = orderdetailnumber;
+ }
+
+ public Orders getOrders() {
+ return this.orders;
+ }
+
+ public void setOrders(Orders orders) {
+ this.orders = orders;
+ }
+
+ public Products getProducts() {
+ return this.products;
+ }
+
+ public void setProducts(Products products) {
+ this.products = products;
+ }
+
+ public short getOrderlinenumber() {
+ return this.orderlinenumber;
+ }
+
+ public void setOrderlinenumber(short orderlinenumber) {
+ this.orderlinenumber = orderlinenumber;
+ }
+
+ public double getPriceeach() {
+ return this.priceeach;
+ }
+
+ public void setPriceeach(double priceeach) {
+ this.priceeach = priceeach;
+ }
+
+ public int getQuantityordered() {
+ return this.quantityordered;
+ }
+
+ public void setQuantityordered(int quantityordered) {
+ this.quantityordered = quantityordered;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orderdetails.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orders.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orders.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orders.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,112 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Orders generated by hbm2java
+ */
+public class Orders implements java.io.Serializable {
+
+ private int ordernumber;
+ private Customers customers;
+ private String comments;
+ private Date orderdate;
+ private Date requireddate;
+ private Date shippeddate;
+ private String status;
+ private Set orderdetailses = new HashSet(0);
+
+ public Orders() {
+ }
+
+ public Orders(int ordernumber, Customers customers, Date orderdate,
+ Date requireddate, String status) {
+ this.ordernumber = ordernumber;
+ this.customers = customers;
+ this.orderdate = orderdate;
+ this.requireddate = requireddate;
+ this.status = status;
+ }
+
+ public Orders(int ordernumber, Customers customers, String comments,
+ Date orderdate, Date requireddate, Date shippeddate, String status,
+ Set orderdetailses) {
+ this.ordernumber = ordernumber;
+ this.customers = customers;
+ this.comments = comments;
+ this.orderdate = orderdate;
+ this.requireddate = requireddate;
+ this.shippeddate = shippeddate;
+ this.status = status;
+ this.orderdetailses = orderdetailses;
+ }
+
+ public int getOrdernumber() {
+ return this.ordernumber;
+ }
+
+ public void setOrdernumber(int ordernumber) {
+ this.ordernumber = ordernumber;
+ }
+
+ public Customers getCustomers() {
+ return this.customers;
+ }
+
+ public void setCustomers(Customers customers) {
+ this.customers = customers;
+ }
+
+ public String getComments() {
+ return this.comments;
+ }
+
+ public void setComments(String comments) {
+ this.comments = comments;
+ }
+
+ public Date getOrderdate() {
+ return this.orderdate;
+ }
+
+ public void setOrderdate(Date orderdate) {
+ this.orderdate = orderdate;
+ }
+
+ public Date getRequireddate() {
+ return this.requireddate;
+ }
+
+ public void setRequireddate(Date requireddate) {
+ this.requireddate = requireddate;
+ }
+
+ public Date getShippeddate() {
+ return this.shippeddate;
+ }
+
+ public void setShippeddate(Date shippeddate) {
+ this.shippeddate = shippeddate;
+ }
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public Set getOrderdetailses() {
+ return this.orderdetailses;
+ }
+
+ public void setOrderdetailses(Set orderdetailses) {
+ this.orderdetailses = orderdetailses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Orders.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordattributes.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordattributes.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordattributes.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,53 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Passwordattributes generated by hbm2java
+ */
+public class Passwordattributes implements java.io.Serializable {
+
+ private String id;
+ private Long version;
+ private Set passwordresourceauditlogs = new HashSet(0);
+
+ public Passwordattributes() {
+ }
+
+ public Passwordattributes(String id) {
+ this.id = id;
+ }
+
+ public Passwordattributes(String id, Set passwordresourceauditlogs) {
+ this.id = id;
+ this.passwordresourceauditlogs = passwordresourceauditlogs;
+ }
+
+ public String getId() {
+ return this.id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Long getVersion() {
+ return this.version;
+ }
+
+ public void setVersion(Long version) {
+ this.version = version;
+ }
+
+ public Set getPasswordresourceauditlogs() {
+ return this.passwordresourceauditlogs;
+ }
+
+ public void setPasswordresourceauditlogs(Set passwordresourceauditlogs) {
+ this.passwordresourceauditlogs = passwordresourceauditlogs;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordattributes.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordresourceauditlog.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordresourceauditlog.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordresourceauditlog.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,84 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+
+/**
+ * Passwordresourceauditlog generated by hbm2java
+ */
+public class Passwordresourceauditlog implements java.io.Serializable {
+
+ private String id;
+ private Date timestamp;
+ private Passwordattributes passwordattributes;
+ private String datasourcename;
+ private String username;
+ private Long version;
+
+ public Passwordresourceauditlog() {
+ }
+
+ public Passwordresourceauditlog(String id) {
+ this.id = id;
+ }
+
+ public Passwordresourceauditlog(String id,
+ Passwordattributes passwordattributes, String datasourcename,
+ String username, Long version) {
+ this.id = id;
+ this.passwordattributes = passwordattributes;
+ this.datasourcename = datasourcename;
+ this.username = username;
+ this.version = version;
+ }
+
+ public String getId() {
+ return this.id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Date getTimestamp() {
+ return this.timestamp;
+ }
+
+ public void setTimestamp(Date timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public Passwordattributes getPasswordattributes() {
+ return this.passwordattributes;
+ }
+
+ public void setPasswordattributes(Passwordattributes passwordattributes) {
+ this.passwordattributes = passwordattributes;
+ }
+
+ public String getDatasourcename() {
+ return this.datasourcename;
+ }
+
+ public void setDatasourcename(String datasourcename) {
+ this.datasourcename = datasourcename;
+ }
+
+ public String getUsername() {
+ return this.username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public Long getVersion() {
+ return this.version;
+ }
+
+ public void setVersion(Long version) {
+ this.version = version;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Passwordresourceauditlog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Payments.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Payments.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Payments.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,69 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+
+/**
+ * Payments generated by hbm2java
+ */
+public class Payments implements java.io.Serializable {
+
+ private Integer paymentnumber;
+ private Customers customers;
+ private double amount;
+ private String checknumber;
+ private Date paymentdate;
+
+ public Payments() {
+ }
+
+ public Payments(Customers customers, double amount, String checknumber,
+ Date paymentdate) {
+ this.customers = customers;
+ this.amount = amount;
+ this.checknumber = checknumber;
+ this.paymentdate = paymentdate;
+ }
+
+ public Integer getPaymentnumber() {
+ return this.paymentnumber;
+ }
+
+ public void setPaymentnumber(Integer paymentnumber) {
+ this.paymentnumber = paymentnumber;
+ }
+
+ public Customers getCustomers() {
+ return this.customers;
+ }
+
+ public void setCustomers(Customers customers) {
+ this.customers = customers;
+ }
+
+ public double getAmount() {
+ return this.amount;
+ }
+
+ public void setAmount(double amount) {
+ this.amount = amount;
+ }
+
+ public String getChecknumber() {
+ return this.checknumber;
+ }
+
+ public void setChecknumber(String checknumber) {
+ this.checknumber = checknumber;
+ }
+
+ public Date getPaymentdate() {
+ return this.paymentdate;
+ }
+
+ public void setPaymentdate(Date paymentdate) {
+ this.paymentdate = paymentdate;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Payments.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Productlines.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Productlines.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Productlines.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,65 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Productlines generated by hbm2java
+ */
+public class Productlines implements java.io.Serializable {
+
+ private String productline;
+ private String htmldescription;
+ private String textdescription;
+ private Set productses = new HashSet(0);
+
+ public Productlines() {
+ }
+
+ public Productlines(String productline) {
+ this.productline = productline;
+ }
+
+ public Productlines(String productline, String htmldescription,
+ String textdescription, Set productses) {
+ this.productline = productline;
+ this.htmldescription = htmldescription;
+ this.textdescription = textdescription;
+ this.productses = productses;
+ }
+
+ public String getProductline() {
+ return this.productline;
+ }
+
+ public void setProductline(String productline) {
+ this.productline = productline;
+ }
+
+ public String getHtmldescription() {
+ return this.htmldescription;
+ }
+
+ public void setHtmldescription(String htmldescription) {
+ this.htmldescription = htmldescription;
+ }
+
+ public String getTextdescription() {
+ return this.textdescription;
+ }
+
+ public void setTextdescription(String textdescription) {
+ this.textdescription = textdescription;
+ }
+
+ public Set getProductses() {
+ return this.productses;
+ }
+
+ public void setProductses(Set productses) {
+ this.productses = productses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Productlines.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Products.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Products.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Products.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,138 @@
+package org.mapping;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Products generated by hbm2java
+ */
+public class Products implements java.io.Serializable {
+
+ private String productcode;
+ private Productlines productlines;
+ private double buyprice;
+ private double msrp;
+ private String productdescription;
+ private String productname;
+ private String productscale;
+ private String productvendor;
+ private short quantityinstock;
+ private Set orderdetailses = new HashSet(0);
+
+ public Products() {
+ }
+
+ public Products(String productcode, Productlines productlines,
+ double buyprice, double msrp, String productdescription,
+ String productname, String productscale, String productvendor,
+ short quantityinstock) {
+ this.productcode = productcode;
+ this.productlines = productlines;
+ this.buyprice = buyprice;
+ this.msrp = msrp;
+ this.productdescription = productdescription;
+ this.productname = productname;
+ this.productscale = productscale;
+ this.productvendor = productvendor;
+ this.quantityinstock = quantityinstock;
+ }
+
+ public Products(String productcode, Productlines productlines,
+ double buyprice, double msrp, String productdescription,
+ String productname, String productscale, String productvendor,
+ short quantityinstock, Set orderdetailses) {
+ this.productcode = productcode;
+ this.productlines = productlines;
+ this.buyprice = buyprice;
+ this.msrp = msrp;
+ this.productdescription = productdescription;
+ this.productname = productname;
+ this.productscale = productscale;
+ this.productvendor = productvendor;
+ this.quantityinstock = quantityinstock;
+ this.orderdetailses = orderdetailses;
+ }
+
+ public String getProductcode() {
+ return this.productcode;
+ }
+
+ public void setProductcode(String productcode) {
+ this.productcode = productcode;
+ }
+
+ public Productlines getProductlines() {
+ return this.productlines;
+ }
+
+ public void setProductlines(Productlines productlines) {
+ this.productlines = productlines;
+ }
+
+ public double getBuyprice() {
+ return this.buyprice;
+ }
+
+ public void setBuyprice(double buyprice) {
+ this.buyprice = buyprice;
+ }
+
+ public double getMsrp() {
+ return this.msrp;
+ }
+
+ public void setMsrp(double msrp) {
+ this.msrp = msrp;
+ }
+
+ public String getProductdescription() {
+ return this.productdescription;
+ }
+
+ public void setProductdescription(String productdescription) {
+ this.productdescription = productdescription;
+ }
+
+ public String getProductname() {
+ return this.productname;
+ }
+
+ public void setProductname(String productname) {
+ this.productname = productname;
+ }
+
+ public String getProductscale() {
+ return this.productscale;
+ }
+
+ public void setProductscale(String productscale) {
+ this.productscale = productscale;
+ }
+
+ public String getProductvendor() {
+ return this.productvendor;
+ }
+
+ public void setProductvendor(String productvendor) {
+ this.productvendor = productvendor;
+ }
+
+ public short getQuantityinstock() {
+ return this.quantityinstock;
+ }
+
+ public void setQuantityinstock(short quantityinstock) {
+ this.quantityinstock = quantityinstock;
+ }
+
+ public Set getOrderdetailses() {
+ return this.orderdetailses;
+ }
+
+ public void setOrderdetailses(Set orderdetailses) {
+ this.orderdetailses = orderdetailses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/Products.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Customer" table="CUSTOMER">
+ <id name="id" type="long">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="firstname" type="java.lang.String">
+ <column name="FIRSTNAME" />
+ </property>
+ <property name="surname" type="java.lang.String">
+ <column name="SURNAME" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,51 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Customer generated by hbm2java
+ */
+public class Customer implements java.io.Serializable {
+
+ private long id;
+ private String firstname;
+ private String surname;
+
+ public Customer() {
+ }
+
+ public Customer(long id) {
+ this.id = id;
+ }
+
+ public Customer(long id, String firstname, String surname) {
+ this.id = id;
+ this.firstname = firstname;
+ this.surname = surname;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getFirstname() {
+ return this.firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getSurname() {
+ return this.surname;
+ }
+
+ public void setSurname(String surname) {
+ this.surname = surname;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customer.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Customers" table="CUSTOMERS">
+ <id name="customernumber" type="int">
+ <column name="CUSTOMERNUMBER" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="employees" class="org.mapping.edit.Employees" fetch="join">
+ <column name="EMPLOYEES" />
+ </many-to-one>
+ <property name="addressline1" type="java.lang.String">
+ <column name="ADDRESSLINE1" />
+ </property>
+ <property name="addressline2" type="java.lang.String">
+ <column name="ADDRESSLINE2" />
+ </property>
+ <property name="city" type="java.lang.String">
+ <column name="CITY" />
+ </property>
+ <property name="contactfirstname" type="java.lang.String">
+ <column name="CONTACTFIRSTNAME" />
+ </property>
+ <property name="contactlastname" type="java.lang.String">
+ <column name="CONTACTLASTNAME" />
+ </property>
+ <property name="country" type="java.lang.String">
+ <column name="COUNTRY" />
+ </property>
+ <property name="creditlimit" type="java.lang.Double">
+ <column name="CREDITLIMIT" />
+ </property>
+ <property name="customername" type="java.lang.String">
+ <column name="CUSTOMERNAME" />
+ </property>
+ <property name="phone" type="java.lang.String">
+ <column name="PHONE" />
+ </property>
+ <property name="postalcode" type="java.lang.String">
+ <column name="POSTALCODE" />
+ </property>
+ <property name="state" type="java.lang.String">
+ <column name="STATE" />
+ </property>
+ <set name="orderses" table="CUSTOMERS" inverse="false" lazy="true">
+ <key>
+ <column name="CUSTOMERNUMBER" />
+ </key>
+ <element type="string">
+ <column name="ORDERSES" />
+ </element>
+ </set>
+ <set name="paymentses" table="CUSTOMERS" inverse="false" lazy="true">
+ <key>
+ <column name="CUSTOMERNUMBER" />
+ </key>
+ <element type="string">
+ <column name="PAYMENTSES" />
+ </element>
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,187 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Customers generated by hbm2java
+ */
+public class Customers implements java.io.Serializable {
+
+ private int customernumber;
+ private Employees employees;
+ private String addressline1;
+ private String addressline2;
+ private String city;
+ private String contactfirstname;
+ private String contactlastname;
+ private String country;
+ private Double creditlimit;
+ private String customername;
+ private String phone;
+ private String postalcode;
+ private String state;
+ private Set orderses = new HashSet(0);
+ private Set paymentses = new HashSet(0);
+
+ public Customers() {
+ }
+
+ public Customers(int customernumber, String addressline1, String city,
+ String contactfirstname, String contactlastname, String country,
+ String customername, String phone) {
+ this.customernumber = customernumber;
+ this.addressline1 = addressline1;
+ this.city = city;
+ this.contactfirstname = contactfirstname;
+ this.contactlastname = contactlastname;
+ this.country = country;
+ this.customername = customername;
+ this.phone = phone;
+ }
+
+ public Customers(int customernumber, Employees employees,
+ String addressline1, String addressline2, String city,
+ String contactfirstname, String contactlastname, String country,
+ Double creditlimit, String customername, String phone,
+ String postalcode, String state, Set orderses, Set paymentses) {
+ this.customernumber = customernumber;
+ this.employees = employees;
+ this.addressline1 = addressline1;
+ this.addressline2 = addressline2;
+ this.city = city;
+ this.contactfirstname = contactfirstname;
+ this.contactlastname = contactlastname;
+ this.country = country;
+ this.creditlimit = creditlimit;
+ this.customername = customername;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.state = state;
+ this.orderses = orderses;
+ this.paymentses = paymentses;
+ }
+
+ public int getCustomernumber() {
+ return this.customernumber;
+ }
+
+ public void setCustomernumber(int customernumber) {
+ this.customernumber = customernumber;
+ }
+
+ public Employees getEmployees() {
+ return this.employees;
+ }
+
+ public void setEmployees(Employees employees) {
+ this.employees = employees;
+ }
+
+ public String getAddressline1() {
+ return this.addressline1;
+ }
+
+ public void setAddressline1(String addressline1) {
+ this.addressline1 = addressline1;
+ }
+
+ public String getAddressline2() {
+ return this.addressline2;
+ }
+
+ public void setAddressline2(String addressline2) {
+ this.addressline2 = addressline2;
+ }
+
+ public String getCity() {
+ return this.city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getContactfirstname() {
+ return this.contactfirstname;
+ }
+
+ public void setContactfirstname(String contactfirstname) {
+ this.contactfirstname = contactfirstname;
+ }
+
+ public String getContactlastname() {
+ return this.contactlastname;
+ }
+
+ public void setContactlastname(String contactlastname) {
+ this.contactlastname = contactlastname;
+ }
+
+ public String getCountry() {
+ return this.country;
+ }
+
+ public void setCountry(String country) {
+ this.country = country;
+ }
+
+ public Double getCreditlimit() {
+ return this.creditlimit;
+ }
+
+ public void setCreditlimit(Double creditlimit) {
+ this.creditlimit = creditlimit;
+ }
+
+ public String getCustomername() {
+ return this.customername;
+ }
+
+ public void setCustomername(String customername) {
+ this.customername = customername;
+ }
+
+ public String getPhone() {
+ return this.phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getPostalcode() {
+ return this.postalcode;
+ }
+
+ public void setPostalcode(String postalcode) {
+ this.postalcode = postalcode;
+ }
+
+ public String getState() {
+ return this.state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public Set getOrderses() {
+ return this.orderses;
+ }
+
+ public void setOrderses(Set orderses) {
+ this.orderses = orderses;
+ }
+
+ public Set getPaymentses() {
+ return this.paymentses;
+ }
+
+ public void setPaymentses(Set paymentses) {
+ this.paymentses = paymentses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Customers.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Dog" table="DOG">
+ <id name="id" type="long">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="name" type="java.lang.String">
+ <column name="NAME" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,41 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Dog generated by hbm2java
+ */
+public class Dog implements java.io.Serializable {
+
+ private long id;
+ private String name;
+
+ public Dog() {
+ }
+
+ public Dog(long id) {
+ this.id = id;
+ }
+
+ public Dog(long id, String name) {
+ this.id = id;
+ this.name = name;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Dog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Employees" table="EMPLOYEES">
+ <id name="employeenumber" type="int">
+ <column name="EMPLOYEENUMBER" />
+ <generator class="assigned" />
+ </id>
+ <property name="email" type="java.lang.String">
+ <column name="EMAIL" />
+ </property>
+ <property name="extension" type="java.lang.String">
+ <column name="EXTENSION" />
+ </property>
+ <property name="firstname" type="java.lang.String">
+ <column name="FIRSTNAME" />
+ </property>
+ <property name="jobtitle" type="java.lang.String">
+ <column name="JOBTITLE" />
+ </property>
+ <property name="lastname" type="java.lang.String">
+ <column name="LASTNAME" />
+ </property>
+ <property name="officecode" type="java.lang.String">
+ <column name="OFFICECODE" />
+ </property>
+ <property name="reportsto" type="java.lang.Integer">
+ <column name="REPORTSTO" />
+ </property>
+ <set name="customerses" table="EMPLOYEES" inverse="false" lazy="true">
+ <key>
+ <column name="EMPLOYEENUMBER" />
+ </key>
+ <element type="string">
+ <column name="CUSTOMERSES" />
+ </element>
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,124 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Employees generated by hbm2java
+ */
+public class Employees implements java.io.Serializable {
+
+ private int employeenumber;
+ private String email;
+ private String extension;
+ private String firstname;
+ private String jobtitle;
+ private String lastname;
+ private String officecode;
+ private Integer reportsto;
+ private Set customerses = new HashSet(0);
+
+ public Employees() {
+ }
+
+ public Employees(int employeenumber, String email, String extension,
+ String firstname, String jobtitle, String lastname,
+ String officecode) {
+ this.employeenumber = employeenumber;
+ this.email = email;
+ this.extension = extension;
+ this.firstname = firstname;
+ this.jobtitle = jobtitle;
+ this.lastname = lastname;
+ this.officecode = officecode;
+ }
+
+ public Employees(int employeenumber, String email, String extension,
+ String firstname, String jobtitle, String lastname,
+ String officecode, Integer reportsto, Set customerses) {
+ this.employeenumber = employeenumber;
+ this.email = email;
+ this.extension = extension;
+ this.firstname = firstname;
+ this.jobtitle = jobtitle;
+ this.lastname = lastname;
+ this.officecode = officecode;
+ this.reportsto = reportsto;
+ this.customerses = customerses;
+ }
+
+ public int getEmployeenumber() {
+ return this.employeenumber;
+ }
+
+ public void setEmployeenumber(int employeenumber) {
+ this.employeenumber = employeenumber;
+ }
+
+ public String getEmail() {
+ return this.email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getExtension() {
+ return this.extension;
+ }
+
+ public void setExtension(String extension) {
+ this.extension = extension;
+ }
+
+ public String getFirstname() {
+ return this.firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getJobtitle() {
+ return this.jobtitle;
+ }
+
+ public void setJobtitle(String jobtitle) {
+ this.jobtitle = jobtitle;
+ }
+
+ public String getLastname() {
+ return this.lastname;
+ }
+
+ public void setLastname(String lastname) {
+ this.lastname = lastname;
+ }
+
+ public String getOfficecode() {
+ return this.officecode;
+ }
+
+ public void setOfficecode(String officecode) {
+ this.officecode = officecode;
+ }
+
+ public Integer getReportsto() {
+ return this.reportsto;
+ }
+
+ public void setReportsto(Integer reportsto) {
+ this.reportsto = reportsto;
+ }
+
+ public Set getCustomerses() {
+ return this.customerses;
+ }
+
+ public void setCustomerses(Set customerses) {
+ this.customerses = customerses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Employees.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Kunde" table="KUNDE">
+ <id name="id" type="long">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="art" type="java.lang.String">
+ <column name="ART" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,37 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Kunde generated by hbm2java
+ */
+public class Kunde implements java.io.Serializable {
+
+ private long id;
+ private String art;
+
+ public Kunde() {
+ }
+
+ public Kunde(long id, String art) {
+ this.id = id;
+ this.art = art;
+ }
+
+ public long getId() {
+ return this.id;
+ }
+
+ public void setId(long id) {
+ this.id = id;
+ }
+
+ public String getArt() {
+ return this.art;
+ }
+
+ public void setArt(String art) {
+ this.art = art;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Kunde.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Offices" table="OFFICES">
+ <id name="officecode" type="java.lang.String">
+ <column name="OFFICECODE" />
+ <generator class="assigned" />
+ </id>
+ <property name="addressline1" type="java.lang.String">
+ <column name="ADDRESSLINE1" />
+ </property>
+ <property name="addressline2" type="java.lang.String">
+ <column name="ADDRESSLINE2" />
+ </property>
+ <property name="city" type="java.lang.String">
+ <column name="CITY" />
+ </property>
+ <property name="country" type="java.lang.String">
+ <column name="COUNTRY" />
+ </property>
+ <property name="phone" type="java.lang.String">
+ <column name="PHONE" />
+ </property>
+ <property name="postalcode" type="java.lang.String">
+ <column name="POSTALCODE" />
+ </property>
+ <property name="state" type="java.lang.String">
+ <column name="STATE" />
+ </property>
+ <property name="territory" type="java.lang.String">
+ <column name="TERRITORY" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,120 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Offices generated by hbm2java
+ */
+public class Offices implements java.io.Serializable {
+
+ private String officecode;
+ private String addressline1;
+ private String addressline2;
+ private String city;
+ private String country;
+ private String phone;
+ private String postalcode;
+ private String state;
+ private String territory;
+
+ public Offices() {
+ }
+
+ public Offices(String officecode, String addressline1, String city,
+ String country, String phone, String postalcode, String territory) {
+ this.officecode = officecode;
+ this.addressline1 = addressline1;
+ this.city = city;
+ this.country = country;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.territory = territory;
+ }
+
+ public Offices(String officecode, String addressline1, String addressline2,
+ String city, String country, String phone, String postalcode,
+ String state, String territory) {
+ this.officecode = officecode;
+ this.addressline1 = addressline1;
+ this.addressline2 = addressline2;
+ this.city = city;
+ this.country = country;
+ this.phone = phone;
+ this.postalcode = postalcode;
+ this.state = state;
+ this.territory = territory;
+ }
+
+ public String getOfficecode() {
+ return this.officecode;
+ }
+
+ public void setOfficecode(String officecode) {
+ this.officecode = officecode;
+ }
+
+ public String getAddressline1() {
+ return this.addressline1;
+ }
+
+ public void setAddressline1(String addressline1) {
+ this.addressline1 = addressline1;
+ }
+
+ public String getAddressline2() {
+ return this.addressline2;
+ }
+
+ public void setAddressline2(String addressline2) {
+ this.addressline2 = addressline2;
+ }
+
+ public String getCity() {
+ return this.city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getCountry() {
+ return this.country;
+ }
+
+ public void setCountry(String country) {
+ this.country = country;
+ }
+
+ public String getPhone() {
+ return this.phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getPostalcode() {
+ return this.postalcode;
+ }
+
+ public void setPostalcode(String postalcode) {
+ this.postalcode = postalcode;
+ }
+
+ public String getState() {
+ return this.state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public String getTerritory() {
+ return this.territory;
+ }
+
+ public void setTerritory(String territory) {
+ this.territory = territory;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Offices.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Orderdetails" table="ORDERDETAILS">
+ <id name="orderdetailnumber" type="java.lang.Integer">
+ <column name="ORDERDETAILNUMBER" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="orders" class="org.mapping.edit.Orders" fetch="join">
+ <column name="ORDERS" />
+ </many-to-one>
+ <many-to-one name="products" class="org.mapping.edit.Products" fetch="join">
+ <column name="PRODUCTS" />
+ </many-to-one>
+ <property name="orderlinenumber" type="short">
+ <column name="ORDERLINENUMBER" />
+ </property>
+ <property name="priceeach" type="double">
+ <column name="PRICEEACH" />
+ </property>
+ <property name="quantityordered" type="int">
+ <column name="QUANTITYORDERED" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,77 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+/**
+ * Orderdetails generated by hbm2java
+ */
+public class Orderdetails implements java.io.Serializable {
+
+ private Integer orderdetailnumber;
+ private Orders orders;
+ private Products products;
+ private short orderlinenumber;
+ private double priceeach;
+ private int quantityordered;
+
+ public Orderdetails() {
+ }
+
+ public Orderdetails(Orders orders, Products products,
+ short orderlinenumber, double priceeach, int quantityordered) {
+ this.orders = orders;
+ this.products = products;
+ this.orderlinenumber = orderlinenumber;
+ this.priceeach = priceeach;
+ this.quantityordered = quantityordered;
+ }
+
+ public Integer getOrderdetailnumber() {
+ return this.orderdetailnumber;
+ }
+
+ public void setOrderdetailnumber(Integer orderdetailnumber) {
+ this.orderdetailnumber = orderdetailnumber;
+ }
+
+ public Orders getOrders() {
+ return this.orders;
+ }
+
+ public void setOrders(Orders orders) {
+ this.orders = orders;
+ }
+
+ public Products getProducts() {
+ return this.products;
+ }
+
+ public void setProducts(Products products) {
+ this.products = products;
+ }
+
+ public short getOrderlinenumber() {
+ return this.orderlinenumber;
+ }
+
+ public void setOrderlinenumber(short orderlinenumber) {
+ this.orderlinenumber = orderlinenumber;
+ }
+
+ public double getPriceeach() {
+ return this.priceeach;
+ }
+
+ public void setPriceeach(double priceeach) {
+ this.priceeach = priceeach;
+ }
+
+ public int getQuantityordered() {
+ return this.quantityordered;
+ }
+
+ public void setQuantityordered(int quantityordered) {
+ this.quantityordered = quantityordered;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orderdetails.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Orders" table="ORDERS">
+ <id name="ordernumber" type="int">
+ <column name="ORDERNUMBER" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="customers" class="org.mapping.edit.Customers" fetch="join">
+ <column name="CUSTOMERS" />
+ </many-to-one>
+ <property name="comments" type="java.lang.String">
+ <column name="COMMENTS" />
+ </property>
+ <property name="orderdate" type="java.util.Date">
+ <column name="ORDERDATE" />
+ </property>
+ <property name="requireddate" type="java.util.Date">
+ <column name="REQUIREDDATE" />
+ </property>
+ <property name="shippeddate" type="java.util.Date">
+ <column name="SHIPPEDDATE" />
+ </property>
+ <property name="status" type="java.lang.String">
+ <column name="STATUS" />
+ </property>
+ <set name="orderdetailses" table="ORDERS" inverse="false" lazy="true">
+ <key>
+ <column name="ORDERNUMBER" />
+ </key>
+ <element type="string">
+ <column name="ORDERDETAILSES" />
+ </element>
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,112 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Orders generated by hbm2java
+ */
+public class Orders implements java.io.Serializable {
+
+ private int ordernumber;
+ private Customers customers;
+ private String comments;
+ private Date orderdate;
+ private Date requireddate;
+ private Date shippeddate;
+ private String status;
+ private Set orderdetailses = new HashSet(0);
+
+ public Orders() {
+ }
+
+ public Orders(int ordernumber, Customers customers, Date orderdate,
+ Date requireddate, String status) {
+ this.ordernumber = ordernumber;
+ this.customers = customers;
+ this.orderdate = orderdate;
+ this.requireddate = requireddate;
+ this.status = status;
+ }
+
+ public Orders(int ordernumber, Customers customers, String comments,
+ Date orderdate, Date requireddate, Date shippeddate, String status,
+ Set orderdetailses) {
+ this.ordernumber = ordernumber;
+ this.customers = customers;
+ this.comments = comments;
+ this.orderdate = orderdate;
+ this.requireddate = requireddate;
+ this.shippeddate = shippeddate;
+ this.status = status;
+ this.orderdetailses = orderdetailses;
+ }
+
+ public int getOrdernumber() {
+ return this.ordernumber;
+ }
+
+ public void setOrdernumber(int ordernumber) {
+ this.ordernumber = ordernumber;
+ }
+
+ public Customers getCustomers() {
+ return this.customers;
+ }
+
+ public void setCustomers(Customers customers) {
+ this.customers = customers;
+ }
+
+ public String getComments() {
+ return this.comments;
+ }
+
+ public void setComments(String comments) {
+ this.comments = comments;
+ }
+
+ public Date getOrderdate() {
+ return this.orderdate;
+ }
+
+ public void setOrderdate(Date orderdate) {
+ this.orderdate = orderdate;
+ }
+
+ public Date getRequireddate() {
+ return this.requireddate;
+ }
+
+ public void setRequireddate(Date requireddate) {
+ this.requireddate = requireddate;
+ }
+
+ public Date getShippeddate() {
+ return this.shippeddate;
+ }
+
+ public void setShippeddate(Date shippeddate) {
+ this.shippeddate = shippeddate;
+ }
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public Set getOrderdetailses() {
+ return this.orderdetailses;
+ }
+
+ public void setOrderdetailses(Set orderdetailses) {
+ this.orderdetailses = orderdetailses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Orders.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Passwordattributes" table="PASSWORDATTRIBUTES">
+ <id name="id" type="java.lang.String">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="version" type="java.lang.Long">
+ <column name="VERSION" />
+ </property>
+ <set name="passwordresourceauditlogs" table="PASSWORDATTRIBUTES" inverse="false" lazy="true">
+ <key>
+ <column name="ID" />
+ </key>
+ <element type="string">
+ <column name="PASSWORDRESOURCEAUDITLOGS" />
+ </element>
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,53 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Passwordattributes generated by hbm2java
+ */
+public class Passwordattributes implements java.io.Serializable {
+
+ private String id;
+ private Long version;
+ private Set passwordresourceauditlogs = new HashSet(0);
+
+ public Passwordattributes() {
+ }
+
+ public Passwordattributes(String id) {
+ this.id = id;
+ }
+
+ public Passwordattributes(String id, Set passwordresourceauditlogs) {
+ this.id = id;
+ this.passwordresourceauditlogs = passwordresourceauditlogs;
+ }
+
+ public String getId() {
+ return this.id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Long getVersion() {
+ return this.version;
+ }
+
+ public void setVersion(Long version) {
+ this.version = version;
+ }
+
+ public Set getPasswordresourceauditlogs() {
+ return this.passwordresourceauditlogs;
+ }
+
+ public void setPasswordresourceauditlogs(Set passwordresourceauditlogs) {
+ this.passwordresourceauditlogs = passwordresourceauditlogs;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordattributes.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Passwordresourceauditlog" table="PASSWORDRESOURCEAUDITLOG">
+ <id name="id" type="java.lang.String">
+ <column name="ID" />
+ <generator class="assigned" />
+ </id>
+ <property name="timestamp" type="java.util.Date">
+ <column name="TIMESTAMP" />
+ </property>
+ <many-to-one name="passwordattributes" class="org.mapping.edit.Passwordattributes" fetch="join">
+ <column name="PASSWORDATTRIBUTES" />
+ </many-to-one>
+ <property name="datasourcename" type="java.lang.String">
+ <column name="DATASOURCENAME" />
+ </property>
+ <property name="username" type="java.lang.String">
+ <column name="USERNAME" />
+ </property>
+ <property name="version" type="java.lang.Long">
+ <column name="VERSION" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,84 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+
+/**
+ * Passwordresourceauditlog generated by hbm2java
+ */
+public class Passwordresourceauditlog implements java.io.Serializable {
+
+ private String id;
+ private Date timestamp;
+ private Passwordattributes passwordattributes;
+ private String datasourcename;
+ private String username;
+ private Long version;
+
+ public Passwordresourceauditlog() {
+ }
+
+ public Passwordresourceauditlog(String id) {
+ this.id = id;
+ }
+
+ public Passwordresourceauditlog(String id,
+ Passwordattributes passwordattributes, String datasourcename,
+ String username, Long version) {
+ this.id = id;
+ this.passwordattributes = passwordattributes;
+ this.datasourcename = datasourcename;
+ this.username = username;
+ this.version = version;
+ }
+
+ public String getId() {
+ return this.id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public Date getTimestamp() {
+ return this.timestamp;
+ }
+
+ public void setTimestamp(Date timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public Passwordattributes getPasswordattributes() {
+ return this.passwordattributes;
+ }
+
+ public void setPasswordattributes(Passwordattributes passwordattributes) {
+ this.passwordattributes = passwordattributes;
+ }
+
+ public String getDatasourcename() {
+ return this.datasourcename;
+ }
+
+ public void setDatasourcename(String datasourcename) {
+ this.datasourcename = datasourcename;
+ }
+
+ public String getUsername() {
+ return this.username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public Long getVersion() {
+ return this.version;
+ }
+
+ public void setVersion(Long version) {
+ this.version = version;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Passwordresourceauditlog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Payments" table="PAYMENTS">
+ <id name="paymentnumber" type="java.lang.Integer">
+ <column name="PAYMENTNUMBER" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="customers" class="org.mapping.edit.Customers" fetch="join">
+ <column name="CUSTOMERS" />
+ </many-to-one>
+ <property name="amount" type="double">
+ <column name="AMOUNT" />
+ </property>
+ <property name="checknumber" type="java.lang.String">
+ <column name="CHECKNUMBER" />
+ </property>
+ <property name="paymentdate" type="java.util.Date">
+ <column name="PAYMENTDATE" />
+ </property>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,69 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.Date;
+
+/**
+ * Payments generated by hbm2java
+ */
+public class Payments implements java.io.Serializable {
+
+ private Integer paymentnumber;
+ private Customers customers;
+ private double amount;
+ private String checknumber;
+ private Date paymentdate;
+
+ public Payments() {
+ }
+
+ public Payments(Customers customers, double amount, String checknumber,
+ Date paymentdate) {
+ this.customers = customers;
+ this.amount = amount;
+ this.checknumber = checknumber;
+ this.paymentdate = paymentdate;
+ }
+
+ public Integer getPaymentnumber() {
+ return this.paymentnumber;
+ }
+
+ public void setPaymentnumber(Integer paymentnumber) {
+ this.paymentnumber = paymentnumber;
+ }
+
+ public Customers getCustomers() {
+ return this.customers;
+ }
+
+ public void setCustomers(Customers customers) {
+ this.customers = customers;
+ }
+
+ public double getAmount() {
+ return this.amount;
+ }
+
+ public void setAmount(double amount) {
+ this.amount = amount;
+ }
+
+ public String getChecknumber() {
+ return this.checknumber;
+ }
+
+ public void setChecknumber(String checknumber) {
+ this.checknumber = checknumber;
+ }
+
+ public Date getPaymentdate() {
+ return this.paymentdate;
+ }
+
+ public void setPaymentdate(Date paymentdate) {
+ this.paymentdate = paymentdate;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Payments.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Productlines" table="PRODUCTLINES">
+ <id name="productline" type="java.lang.String">
+ <column name="PRODUCTLINE" />
+ <generator class="assigned" />
+ </id>
+ <property name="htmldescription" type="java.lang.String">
+ <column name="HTMLDESCRIPTION" />
+ </property>
+ <property name="textdescription" type="java.lang.String">
+ <column name="TEXTDESCRIPTION" />
+ </property>
+ <set name="productses" table="PRODUCTLINES" inverse="false" lazy="true">
+ <key>
+ <column name="PRODUCTLINE" />
+ </key>
+ <element type="string">
+ <column name="PRODUCTSES" />
+ </element>
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,65 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Productlines generated by hbm2java
+ */
+public class Productlines implements java.io.Serializable {
+
+ private String productline;
+ private String htmldescription;
+ private String textdescription;
+ private Set productses = new HashSet(0);
+
+ public Productlines() {
+ }
+
+ public Productlines(String productline) {
+ this.productline = productline;
+ }
+
+ public Productlines(String productline, String htmldescription,
+ String textdescription, Set productses) {
+ this.productline = productline;
+ this.htmldescription = htmldescription;
+ this.textdescription = textdescription;
+ this.productses = productses;
+ }
+
+ public String getProductline() {
+ return this.productline;
+ }
+
+ public void setProductline(String productline) {
+ this.productline = productline;
+ }
+
+ public String getHtmldescription() {
+ return this.htmldescription;
+ }
+
+ public void setHtmldescription(String htmldescription) {
+ this.htmldescription = htmldescription;
+ }
+
+ public String getTextdescription() {
+ return this.textdescription;
+ }
+
+ public void setTextdescription(String textdescription) {
+ this.textdescription = textdescription;
+ }
+
+ public Set getProductses() {
+ return this.productses;
+ }
+
+ public void setProductses(Set productses) {
+ this.productses = productses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Productlines.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.hbm.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.hbm.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.hbm.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+<!-- Generated Mar 19, 2012 10:39:54 AM by Hibernate Tools 3.4.0.CR1 -->
+<hibernate-mapping>
+ <class name="org.mapping.edit.Products" table="PRODUCTS">
+ <id name="productcode" type="java.lang.String">
+ <column name="PRODUCTCODE" />
+ <generator class="assigned" />
+ </id>
+ <many-to-one name="productlines" class="org.mapping.edit.Productlines" fetch="join">
+ <column name="PRODUCTLINES" />
+ </many-to-one>
+ <property name="buyprice" type="double">
+ <column name="BUYPRICE" />
+ </property>
+ <property name="msrp" type="double">
+ <column name="MSRP" />
+ </property>
+ <property name="productdescription" type="java.lang.String">
+ <column name="PRODUCTDESCRIPTION" />
+ </property>
+ <property name="productname" type="java.lang.String">
+ <column name="PRODUCTNAME" />
+ </property>
+ <property name="productscale" type="java.lang.String">
+ <column name="PRODUCTSCALE" />
+ </property>
+ <property name="productvendor" type="java.lang.String">
+ <column name="PRODUCTVENDOR" />
+ </property>
+ <property name="quantityinstock" type="short">
+ <column name="QUANTITYINSTOCK" />
+ </property>
+ <set name="orderdetailses" table="PRODUCTS" inverse="false" lazy="true">
+ <key>
+ <column name="PRODUCTCODE" />
+ </key>
+ <element type="string">
+ <column name="ORDERDETAILSES" />
+ </element>
+ </set>
+ </class>
+</hibernate-mapping>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.hbm.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.java 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,138 @@
+package org.mapping.edit;
+
+// Generated Mar 7, 2012 1:42:51 PM by Hibernate Tools 3.4.0.CR1
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Products generated by hbm2java
+ */
+public class Products implements java.io.Serializable {
+
+ private String productcode;
+ private Productlines productlines;
+ private double buyprice;
+ private double msrp;
+ private String productdescription;
+ private String productname;
+ private String productscale;
+ private String productvendor;
+ private short quantityinstock;
+ private Set orderdetailses = new HashSet(0);
+
+ public Products() {
+ }
+
+ public Products(String productcode, Productlines productlines,
+ double buyprice, double msrp, String productdescription,
+ String productname, String productscale, String productvendor,
+ short quantityinstock) {
+ this.productcode = productcode;
+ this.productlines = productlines;
+ this.buyprice = buyprice;
+ this.msrp = msrp;
+ this.productdescription = productdescription;
+ this.productname = productname;
+ this.productscale = productscale;
+ this.productvendor = productvendor;
+ this.quantityinstock = quantityinstock;
+ }
+
+ public Products(String productcode, Productlines productlines,
+ double buyprice, double msrp, String productdescription,
+ String productname, String productscale, String productvendor,
+ short quantityinstock, Set orderdetailses) {
+ this.productcode = productcode;
+ this.productlines = productlines;
+ this.buyprice = buyprice;
+ this.msrp = msrp;
+ this.productdescription = productdescription;
+ this.productname = productname;
+ this.productscale = productscale;
+ this.productvendor = productvendor;
+ this.quantityinstock = quantityinstock;
+ this.orderdetailses = orderdetailses;
+ }
+
+ public String getProductcode() {
+ return this.productcode;
+ }
+
+ public void setProductcode(String productcode) {
+ this.productcode = productcode;
+ }
+
+ public Productlines getProductlines() {
+ return this.productlines;
+ }
+
+ public void setProductlines(Productlines productlines) {
+ this.productlines = productlines;
+ }
+
+ public double getBuyprice() {
+ return this.buyprice;
+ }
+
+ public void setBuyprice(double buyprice) {
+ this.buyprice = buyprice;
+ }
+
+ public double getMsrp() {
+ return this.msrp;
+ }
+
+ public void setMsrp(double msrp) {
+ this.msrp = msrp;
+ }
+
+ public String getProductdescription() {
+ return this.productdescription;
+ }
+
+ public void setProductdescription(String productdescription) {
+ this.productdescription = productdescription;
+ }
+
+ public String getProductname() {
+ return this.productname;
+ }
+
+ public void setProductname(String productname) {
+ this.productname = productname;
+ }
+
+ public String getProductscale() {
+ return this.productscale;
+ }
+
+ public void setProductscale(String productscale) {
+ this.productscale = productscale;
+ }
+
+ public String getProductvendor() {
+ return this.productvendor;
+ }
+
+ public void setProductvendor(String productvendor) {
+ this.productvendor = productvendor;
+ }
+
+ public short getQuantityinstock() {
+ return this.quantityinstock;
+ }
+
+ public void setQuantityinstock(short quantityinstock) {
+ this.quantityinstock = quantityinstock;
+ }
+
+ public Set getOrderdetailses() {
+ return this.orderdetailses;
+ }
+
+ public void setOrderdetailses(Set orderdetailses) {
+ this.orderdetailses = orderdetailses;
+ }
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate35/src/org/mapping/edit/Products.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.classpath
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.classpath (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.classpath 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate36/antlr-2.7.6.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate36/commons-collections-3.1.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate36/dom4j-1.6.1.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate36/hibernate3.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate36/javassist-3.12.0.GA.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate36/jta-1.1.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate36/slf4j-api-1.6.1.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.project
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.project (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.project 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>hibernate36</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.settings/org.eclipse.jdt.core.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,12 @@
+#Thu Dec 08 11:17:26 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate36/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.classpath
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.classpath (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.classpath 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/antlr-2.7.7.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/commons-collections-3.2.1.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/dom4j-1.6.1.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/hibernate-commons-annotations-4.0.1.Final.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/hibernate-core-4.0.1.Final.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/hibernate-entitymanager-4.0.1.Final.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/hibernate-envers-4.0.1.Final.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/hibernate-jpa-2.0-api-1.0.1.Final.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/javassist-3.15.0-GA.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/jboss-logging-3.1.0.CR2.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/hibernate40/jboss-transaction-api_1.1_spec-1.0.0.Final.jar"/>
+ <classpathentry kind="lib" path="/hibernatelib/connector/hsqldb.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.project
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.project (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.project 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>hibernate40</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.settings/org.eclipse.jdt.core.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,12 @@
+#Thu Dec 08 11:17:39 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/hibernate40/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.classpath
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.classpath (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.classpath 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.project
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.project (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.project 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jpatest35</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.hibernate.eclipse.console.hibernateBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.hibernate.eclipse.console.hibernateNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jdt.core.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jpt.core.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jpt.core.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jpt.core.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+org.eclipse.jpt.core.platform=hibernate2_0
+org.eclipse.jpt.jpa.core.discoverAnnotatedClasses=true
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.jpt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,7 @@
+<root>
+ <facet id="jpt.jpa">
+ <node name="libprov">
+ <attribute name="provider-id" value="jpa-no-op-library-provider"/>
+ </node>
+ </facet>
+</root>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="java"/>
+ <fixed facet="jpt.jpa"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jpt.jpa" version="2.0"/>
+</faceted-project>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.eclipse.wst.common.project.facet.core.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.hibernate.eclipse.console.prefs
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.hibernate.eclipse.console.prefs (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.hibernate.eclipse.console.prefs 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,3 @@
+default.configuration=jpatest35
+eclipse.preferences.version=1
+hibernate3.enabled=true
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/.settings/org.hibernate.eclipse.console.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/classes/META-INF/persistence.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/classes/META-INF/persistence.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/classes/META-INF/persistence.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
+ <persistence-unit name="jpatest35">
+ </persistence-unit>
+</persistence>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/build/classes/META-INF/persistence.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/src/META-INF/persistence.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/src/META-INF/persistence.xml (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/src/META-INF/persistence.xml 2012-03-19 16:31:40 UTC (rev 39629)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
+ <persistence-unit name="jpatest35">
+ </persistence-unit>
+</persistence>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/resources/prj/jpatest35/src/META-INF/persistence.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 6 months
JBoss Tools SVN: r39628 - trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot.
by jbosstools-commits@lists.jboss.org
Author: rhopp
Date: 2012-03-19 12:21:14 -0400 (Mon, 19 Mar 2012)
New Revision: 39628
Modified:
trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java
Log:
Extended examples testing. Still pretty messy.
Modified: trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java
===================================================================
--- trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java 2012-03-19 15:59:50 UTC (rev 39627)
+++ trunk/central/tests/org.jboss.tools.central.test.ui.bot/src/org/jboss/tools/central/test/ui/bot/CreateProjectsTest.java 2012-03-19 16:21:14 UTC (rev 39628)
@@ -7,12 +7,8 @@
import org.jboss.tools.ui.bot.ext.SWTBotFactory;
import org.jboss.tools.ui.bot.ext.SWTFormsBotExt;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
-import org.jboss.tools.ui.bot.ext.condition.BrowserIsLoaded;
-import org.jboss.tools.ui.bot.ext.condition.NonSystemJobRunsCondition;
-import org.jboss.tools.ui.bot.ext.condition.TaskDuration;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
-import org.jboss.tools.ui.bot.ext.parts.SWTBotBrowserExt;
import org.jboss.tools.ui.bot.ext.parts.SWTBotTwistie;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ui.bot.ext.wizards.SWTBotWizard;
@@ -126,37 +122,17 @@
twistieBot.toggle();
}*/
SWTFormsBotExt formsBot = SWTBotFactory.getFormsBot();
- checkExample(formsBot, "Helloworld");
- checkExample(formsBot, "Numberguess");
- checkExample(formsBot, "Login");
- checkExample(formsBot, "Kitchensink");
- checkExample(formsBot, "HTML5");
- /*formsBot.formTextWithText("Helloworld").click();
- bot.clickButton("Start");
- bot.waitWhile(new NonSystemJobRunsCondition(), TaskDuration.NORMAL.getTimeout());
- formsBot.formTextWithText("Numberguess").click();
- bot.clickButton("Start");
- bot.waitWhile(new NonSystemJobRunsCondition(), TaskDuration.NORMAL.getTimeout());
- log.info(bot.activeEditor().getTitle());
- formsBot.formTextWithText("Login").click();
- bot.clickButton("Start");
- bot.waitWhile(new NonSystemJobRunsCondition(),TaskDuration.NORMAL.getTimeout());
- formsBot.formTextWithText("Kitchensink").click();
- bot.clickButton("Start");
- bot.waitWhile(new NonSystemJobRunsCondition(), TaskDuration.NORMAL.getTimeout());*/
+ checkExample(formsBot, "Helloworld", true);
+ checkExample(formsBot, "Numberguess", true);
+ //checkExample(formsBot, "Login", false); //Login example ma nejaky divny login.xml cheatsheet
+ //checkExample(formsBot, "Kitchensink", true); //zatim nejaka chyba v JBDS https://issues.jboss.org/browse/JBDS-2072
+ checkExample(formsBot, "HTML5", true);
}
private void waitForAWhile(){
bot.sleep(Long.MAX_VALUE);
}
- private boolean createDirectory(String path){
- if (new File(path).mkdir()){
- return true;
- }
- return false;
- }
-
private static boolean deleteDirectory(File path) {
if( path.exists() ) {
File[] files = path.listFiles();
@@ -172,13 +148,30 @@
return( path.delete() );
}
- private void checkExample(SWTFormsBotExt formsBot, String formText){
+ private void checkExample(SWTFormsBotExt formsBot, String formText, boolean readme){
formsBot.formTextWithText(formText).click();
bot.waitForShell(IDELabel.JBossCentralEditor.PROJECT_EXAMPLE);
SWTBotWizard wizard = new SWTBotWizard(bot.shell(IDELabel.JBossCentralEditor.PROJECT_EXAMPLE).widget);
wizard.next();
wizard.finishWithWait();
- bot.activeShell().close();
+ String readmeText = bot.checkBox(1).getText();
+ assertFalse("Quick fix should not be enabled (Everything should be fine)", bot.checkBox(0).isEnabled());
+ if (readme){
+ assertTrue("Show readme checkbox should be enabled", bot.checkBox(1).isEnabled());
+ assertTrue("Show readme checkbox should be checked by default", bot.checkBox(1).isChecked());
+ if (readmeText.contains("cheatsheet.xml")){
+ bot.clickButton("Finish");
+ assertTrue("Cheat Sheets view should be open right now", bot.activeView().getTitle().equals("Cheat Sheets"));
+ bot.activeView().close();
+ }else if (readmeText.toLowerCase().contains("readme.md")){
+ bot.clickButton("Finish");
+ assertTrue("Readme should have opened in Text Editor", bot.activeEditor().getReference().getEditor(false).getClass().getName().contains("org.eclipse.ui.editors.text.TextEditor"));
+ bot.activeEditor().close();
+ }else if (readmeText.toLowerCase().contains("readme.htm")){
+ bot.clickButton("Finish");
+ assertTrue("Readme should have opened in Internal Browser", bot.activeEditor().getReference().getEditor(false).getClass().getName().contains("org.eclipse.ui.internal.browser.WebBrowserEditor"));
+ }
+ }
}
private void checkCreateProject(String formText){
12 years, 6 months
JBoss Tools SVN: r39627 - in trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test: src/org/jboss/tools/hb/ui/bot/suite and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 11:59:50 -0400 (Mon, 19 Mar 2012)
New Revision: 39627
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/Hibernate.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/HibernateSuite.java
Log:
Hibernate ui bot suite launcher added
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/Hibernate.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/Hibernate.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/Hibernate.launch 2012-03-19 15:59:50 UTC (rev 39627)
@@ -0,0 +1,43 @@
+<?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.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/HibernateSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<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.hb.ui.bot.suite.HibernateSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.hibernate.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="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=256M -Dusage_reporting_enabled=false -Dtest.configurations.dir=/home/jpeterka/etc/hb"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="com.jboss.jbds.product.product"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/Hibernate.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/HibernateSuite.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/HibernateSuite.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/HibernateSuite.java 2012-03-19 15:59:50 UTC (rev 39627)
@@ -0,0 +1,20 @@
+package org.jboss.tools.hb.ui.bot.suite;
+
+import org.jboss.tools.hb.ui.bot.test.configuration.CreateConfigurationFileTest;
+import org.jboss.tools.hb.ui.bot.test.configuration.EditConfigurationFileTest;
+import org.jboss.tools.hb.ui.bot.test.console.CreateConsoleConfigurationTest;
+import org.jboss.tools.hb.ui.bot.test.perspective.PerspectiveTest;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(RequirementAwareSuite.class)
+@SuiteClasses({
+ CreateConfigurationFileTest.class,
+ EditConfigurationFileTest.class,
+ PerspectiveTest.class,
+ CreateConsoleConfigurationTest.class
+ })
+public class HibernateSuite {
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/HibernateSuite.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 6 months
JBoss Tools SVN: r39626 - in trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test: src/org/jboss/tools/hb/ui/bot/suite and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 11:59:12 -0400 (Mon, 19 Mar 2012)
New Revision: 39626
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingDiagram.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingDiagramSuite.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/diagram/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/diagram/MappingDiagramTest.java
Log:
Hibernate mapping diagram ui bot test added
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingDiagram.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingDiagram.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingDiagram.launch 2012-03-19 15:59:12 UTC (rev 39626)
@@ -0,0 +1,43 @@
+<?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.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingDiagramSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<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.hb.ui.bot.suite.MappingDiagramSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.hibernate.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="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=256M -Dusage_reporting_enabled=false -Dtest.configurations.dir=/home/jpeterka/etc/hb"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="com.jboss.jbds.product.product"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingDiagram.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingDiagramSuite.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingDiagramSuite.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingDiagramSuite.java 2012-03-19 15:59:12 UTC (rev 39626)
@@ -0,0 +1,12 @@
+package org.jboss.tools.hb.ui.bot.suite;
+
+import org.jboss.tools.hb.ui.bot.test.diagram.MappingDiagramTest;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(RequirementAwareSuite.class)
+(a)SuiteClasses({MappingDiagramTest.class})
+public class MappingDiagramSuite {
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingDiagramSuite.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/diagram/MappingDiagramTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/diagram/MappingDiagramTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/diagram/MappingDiagramTest.java 2012-03-19 15:59:12 UTC (rev 39626)
@@ -0,0 +1,34 @@
+package org.jboss.tools.hb.ui.bot.test.diagram;
+
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.hb.ui.bot.common.Tree;
+import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.junit.Test;
+
+/**
+ * Hibernate mapping diagram ui bot test
+ *
+ * @author jpeterka
+ *
+ */
+@Require(clearProjects = false, perspective = "Hibernate")
+public class MappingDiagramTest extends HibernateBaseTest {
+
+ final String hc = "hibernate35";
+
+ @Test
+ public void showMappingDiagram() {
+ importTestProject("/resources/prj");
+ openDiagram();
+ }
+
+ private void openDiagram() {
+ SWTBotView hcv = open.viewOpen(ActionItem.View.HibernateHibernateConfigurations.LABEL);
+ SWTBotTreeItem item = Tree.select(hcv.bot(), hc, "Configuration");
+ item.contextMenu("Mapping Diagram").click();
+
+ }
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/diagram/MappingDiagramTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 6 months
JBoss Tools SVN: r39625 - in trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot: matcher/factory and 8 other directories.
by jbosstools-commits@lists.jboss.org
Author: ljelinko
Date: 2012-03-19 11:58:51 -0400 (Mon, 19 Mar 2012)
New Revision: 39625
Added:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoadsInJBPortalMatcher.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5CompatibilityGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLJBPortal.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletGateinTemplate.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletJBPortalTemplate.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentGateinTemplate.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowserJBPortalTemplate.java
Removed:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoads4xRuntimeMatcher.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5Compatibility.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime4xTest.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime5xTest.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime4x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime5x.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime4xTemplate.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime5xTemplate.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentRuntime5xTemplate.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowser4xRuntimeTemplate.java
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/factory/PortletMatchersFactory.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/AllTestsSuite.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDSCompatibilityTestSuite.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/JavaPortletTestSuite.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/ExamplesSuite.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/JSFPortletTestSuite.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/SeamPortletTestSuite.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/PortletServerTestSuite.java
Log:
Renamed classes from *Runtime4x* to *JBPortal* and from *Runtime5x* to *Gatein*
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoads4xRuntimeMatcher.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoads4xRuntimeMatcher.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoads4xRuntimeMatcher.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,31 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.matcher.browser.portlet;
-
-import org.hamcrest.Description;
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-import org.jboss.tools.portlet.ui.bot.matcher.AbstractSWTMatcher;
-import org.jboss.tools.portlet.ui.bot.matcher.browser.PageSourceMatcher;
-
-/**
- * Check if the given portlet can be loaded in EPP 4.x runtime.
- *
- * @author Lucia Jelinkova
- *
- */
-public class PortletLoads4xRuntimeMatcher extends AbstractSWTMatcher<PortletDefinition> {
-
- private static final String PORTAL_URL = "http://localhost:8080/portal/portal/default/";
-
- private PageSourceMatcher pageMatcher;
-
- @Override
- public boolean matchesSafely(PortletDefinition portletTitle) {
- pageMatcher = new PageSourceMatcher(PORTAL_URL + portletTitle.getPage());
- pageMatcher.setBot(getBot());
- return pageMatcher.matchesSafely("<span class=\"portlet-titlebar-title\">" + portletTitle.getDisplayName() + "</span>");
- }
-
- @Override
- public void describeTo(Description description) {
- description.appendDescriptionOf(pageMatcher);
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoadsInJBPortalMatcher.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoads4xRuntimeMatcher.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoadsInJBPortalMatcher.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/browser/portlet/PortletLoadsInJBPortalMatcher.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,31 @@
+package org.jboss.tools.portlet.ui.bot.matcher.browser.portlet;
+
+import org.hamcrest.Description;
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+import org.jboss.tools.portlet.ui.bot.matcher.AbstractSWTMatcher;
+import org.jboss.tools.portlet.ui.bot.matcher.browser.PageSourceMatcher;
+
+/**
+ * Check if the given portlet can be loaded in EPP 4.x runtime.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class PortletLoadsInJBPortalMatcher extends AbstractSWTMatcher<PortletDefinition> {
+
+ private static final String PORTAL_URL = "http://localhost:8080/portal/portal/default/";
+
+ private PageSourceMatcher pageMatcher;
+
+ @Override
+ public boolean matchesSafely(PortletDefinition portletTitle) {
+ pageMatcher = new PageSourceMatcher(PORTAL_URL + portletTitle.getPage());
+ pageMatcher.setBot(getBot());
+ return pageMatcher.matchesSafely("<span class=\"portlet-titlebar-title\">" + portletTitle.getDisplayName() + "</span>");
+ }
+
+ @Override
+ public void describeTo(Description description) {
+ description.appendDescriptionOf(pageMatcher);
+ }
+}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/factory/PortletMatchersFactory.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/factory/PortletMatchersFactory.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/matcher/factory/PortletMatchersFactory.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -2,7 +2,7 @@
import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
import org.jboss.tools.portlet.ui.bot.matcher.SWTMatcher;
-import org.jboss.tools.portlet.ui.bot.matcher.browser.portlet.PortletLoads4xRuntimeMatcher;
+import org.jboss.tools.portlet.ui.bot.matcher.browser.portlet.PortletLoadsInJBPortalMatcher;
public class PortletMatchersFactory {
@@ -11,6 +11,6 @@
}
public static SWTMatcher<PortletDefinition> canLoadAt4xRuntime(){
- return new PortletLoads4xRuntimeMatcher();
+ return new PortletLoadsInJBPortalMatcher();
}
}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/AllTestsSuite.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/AllTestsSuite.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/AllTestsSuite.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,31 +1,31 @@
package org.jboss.tools.portlet.ui.bot.test;
-import org.jboss.tools.portlet.ui.bot.test.compatibility.JBDS4vs5Compatibility;
+import org.jboss.tools.portlet.ui.bot.test.compatibility.JBDS4vs5CompatibilityGatein;
import org.jboss.tools.portlet.ui.bot.test.core.CreateJavaPortletProject;
-import org.jboss.tools.portlet.ui.bot.test.core.CreateJavaPortletRuntime4x;
-import org.jboss.tools.portlet.ui.bot.test.core.CreateJavaPortletRuntime5x;
-import org.jboss.tools.portlet.ui.bot.test.core.HotJavaPortletDeploymentRuntime5x;
-import org.jboss.tools.portlet.ui.bot.test.core.LoadJavaPortletInBrowserRuntime4x;
+import org.jboss.tools.portlet.ui.bot.test.core.CreateJavaPortletJBPortal;
+import org.jboss.tools.portlet.ui.bot.test.core.CreateJavaPortletGatein;
+import org.jboss.tools.portlet.ui.bot.test.core.HotJavaPortletDeploymentGatein;
+import org.jboss.tools.portlet.ui.bot.test.core.LoadJavaPortletInBrowserJBPortal;
import org.jboss.tools.portlet.ui.bot.test.core.RunJavaPortletOnServer;
-import org.jboss.tools.portlet.ui.bot.test.example.JSFPortletExampleRuntime4x;
-import org.jboss.tools.portlet.ui.bot.test.example.JSFPortletExampleRuntime5x;
-import org.jboss.tools.portlet.ui.bot.test.example.JavaPortletExampleRuntime4x;
-import org.jboss.tools.portlet.ui.bot.test.example.RichFacesPortletExampleRuntime5x;
-import org.jboss.tools.portlet.ui.bot.test.example.SeamPortletExampleRuntime4x;
-import org.jboss.tools.portlet.ui.bot.test.example.SeamPortletExampleRuntime5x;
+import org.jboss.tools.portlet.ui.bot.test.example.JSFPortletExampleJBPortal;
+import org.jboss.tools.portlet.ui.bot.test.example.JSFPortletExampleGatein;
+import org.jboss.tools.portlet.ui.bot.test.example.JavaPortletExampleJBPortal;
+import org.jboss.tools.portlet.ui.bot.test.example.RichFacesPortletExampleGatein;
+import org.jboss.tools.portlet.ui.bot.test.example.SeamPortletExampleJBPortal;
+import org.jboss.tools.portlet.ui.bot.test.example.SeamPortletExampleGatein;
import org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletProject;
-import org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletRuntime4x;
-import org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletRuntime5x;
-import org.jboss.tools.portlet.ui.bot.test.jsf.HotJSFPortletDeploymentRuntime5x;
-import org.jboss.tools.portlet.ui.bot.test.jsf.LoadJSFPortletInBrowserRuntime4x;
+import org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletJBPortal;
+import org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletGatein;
+import org.jboss.tools.portlet.ui.bot.test.jsf.HotJSFPortletDeploymentGatein;
+import org.jboss.tools.portlet.ui.bot.test.jsf.LoadJSFPortletInBrowserJBPortal;
import org.jboss.tools.portlet.ui.bot.test.jsf.RunJSFPortletOnServer;
import org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletProject;
-import org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletRuntime4x;
-import org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletRuntime5x;
-import org.jboss.tools.portlet.ui.bot.test.seam.HotSeamPortletDeploymentRuntime5x;
+import org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletJBPortal;
+import org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletGatein;
+import org.jboss.tools.portlet.ui.bot.test.seam.HotSeamPortletDeploymentGatein;
import org.jboss.tools.portlet.ui.bot.test.seam.RunSeamPortletOnServer;
-import org.jboss.tools.portlet.ui.bot.test.server.RunAsLoadsPortalURLRuntime4x;
-import org.jboss.tools.portlet.ui.bot.test.server.RunAsLoadsPortalURLRuntime5x;
+import org.jboss.tools.portlet.ui.bot.test.server.RunAsLoadsPortalURLJBPortal;
+import org.jboss.tools.portlet.ui.bot.test.server.RunAsLoadsPortalURLGatein;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -33,31 +33,31 @@
@RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
CreateJavaPortletProject.class,
- CreateJavaPortletRuntime4x.class,
- CreateJavaPortletRuntime5x.class,
+ CreateJavaPortletJBPortal.class,
+ CreateJavaPortletGatein.class,
RunJavaPortletOnServer.class,
- LoadJavaPortletInBrowserRuntime4x.class,
- HotJavaPortletDeploymentRuntime5x.class,
+ LoadJavaPortletInBrowserJBPortal.class,
+ HotJavaPortletDeploymentGatein.class,
CreateJSFPortletProject.class,
- CreateJSFPortletRuntime4x.class,
- CreateJSFPortletRuntime5x.class,
+ CreateJSFPortletJBPortal.class,
+ CreateJSFPortletGatein.class,
RunJSFPortletOnServer.class,
- LoadJSFPortletInBrowserRuntime4x.class,
- HotJSFPortletDeploymentRuntime5x.class,
+ LoadJSFPortletInBrowserJBPortal.class,
+ HotJSFPortletDeploymentGatein.class,
CreateSeamPortletProject.class,
- CreateSeamPortletRuntime4x.class,
- CreateSeamPortletRuntime5x.class,
+ CreateSeamPortletJBPortal.class,
+ CreateSeamPortletGatein.class,
RunSeamPortletOnServer.class,
- HotSeamPortletDeploymentRuntime5x.class,
- JavaPortletExampleRuntime4x.class,
- JSFPortletExampleRuntime4x.class,
- SeamPortletExampleRuntime4x.class,
- JSFPortletExampleRuntime5x.class,
- RichFacesPortletExampleRuntime5x.class,
- SeamPortletExampleRuntime5x.class,
- JBDS4vs5Compatibility.class,
- RunAsLoadsPortalURLRuntime4x.class,
- RunAsLoadsPortalURLRuntime5x.class
+ HotSeamPortletDeploymentGatein.class,
+ JavaPortletExampleJBPortal.class,
+ JSFPortletExampleJBPortal.class,
+ SeamPortletExampleJBPortal.class,
+ JSFPortletExampleGatein.class,
+ RichFacesPortletExampleGatein.class,
+ SeamPortletExampleGatein.class,
+ JBDS4vs5CompatibilityGatein.class,
+ RunAsLoadsPortalURLJBPortal.class,
+ RunAsLoadsPortalURLGatein.class
})
public class AllTestsSuite {
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5Compatibility.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5Compatibility.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5Compatibility.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,64 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.compatibility;
-
-import static org.jboss.tools.portlet.ui.bot.matcher.factory.DefaultMatchersFactory.isNumberOfErrors;
-import static org.jboss.tools.portlet.ui.bot.matcher.factory.WorkspaceMatchersFactory.isExistingProject;
-
-import org.jboss.tools.portlet.ui.bot.task.importing.project.ExistingProjectImportTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.WizardFillingTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.importing.project.ExistingProjectWizardPageFillingTask;
-import org.jboss.tools.portlet.ui.bot.test.Activator;
-import org.jboss.tools.portlet.ui.bot.test.testcase.SWTTaskBasedTestCase;
-import org.jboss.tools.ui.bot.ext.SWTUtilExt;
-import org.jboss.tools.ui.bot.ext.config.Annotations.DB;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Seam;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-import org.junit.Test;
-
-/**
- * Tests that project from JBDS 4 can work in JBDS 5 without any problems.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(server=@Server(version="5.1", operator=">", state=ServerState.Present), db=@DB, seam=@Seam)
-public class JBDS4vs5Compatibility extends SWTTaskBasedTestCase {
-
- private static final String ZIP_FILE = "resources/org/jboss/tools/portlet/ui/bot/test/compatibility/jbds-compatibility.zip";
-
- private static final String CORE_PROJECT_NAME = "jbds-4-core";
-
- private static final String JSF_PROJECT_NAME = "jbds-4-jsf";
-
- private static final String SEAM_PROJECT_NAME = "jbds-4-seam";
-
- @Test
- public void testCompatibility(){
- doPerform(new ExistingProjectImportTask());
- doPerform(getWizardFillingTask());
-
- doAssertThatInWorkspace(CORE_PROJECT_NAME, isExistingProject());
- doAssertThatInWorkspace(JSF_PROJECT_NAME, isExistingProject());
- doAssertThatInWorkspace(SEAM_PROJECT_NAME, isExistingProject());
- doAssertThatInWorkspace(0, isNumberOfErrors());
- }
-
- private WizardFillingTask getWizardFillingTask(){
- WizardFillingTask wizard = new WizardFillingTask();
- wizard.addWizardPage(getWizardPage());
- return wizard;
- }
-
- private ExistingProjectWizardPageFillingTask getWizardPage(){
- ExistingProjectWizardPageFillingTask task = new ExistingProjectWizardPageFillingTask();
- task.setZipFilePath(getZIPFileLocation());
- task.setProjectNames(CORE_PROJECT_NAME, JSF_PROJECT_NAME, SEAM_PROJECT_NAME);
- task.setCopyProjectsIntoWorkspace(true);
- return task;
- }
-
- private String getZIPFileLocation(){
- return SWTUtilExt.getPathToFileWithinPlugin(Activator.PLUGIN_ID, ZIP_FILE);
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5CompatibilityGatein.java (from rev 39491, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5Compatibility.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5CompatibilityGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDS4vs5CompatibilityGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,64 @@
+package org.jboss.tools.portlet.ui.bot.test.compatibility;
+
+import static org.jboss.tools.portlet.ui.bot.matcher.factory.DefaultMatchersFactory.isNumberOfErrors;
+import static org.jboss.tools.portlet.ui.bot.matcher.factory.WorkspaceMatchersFactory.isExistingProject;
+
+import org.jboss.tools.portlet.ui.bot.task.importing.project.ExistingProjectImportTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.WizardFillingTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.importing.project.ExistingProjectWizardPageFillingTask;
+import org.jboss.tools.portlet.ui.bot.test.Activator;
+import org.jboss.tools.portlet.ui.bot.test.testcase.SWTTaskBasedTestCase;
+import org.jboss.tools.ui.bot.ext.SWTUtilExt;
+import org.jboss.tools.ui.bot.ext.config.Annotations.DB;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Seam;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.junit.Test;
+
+/**
+ * Tests that project from JBDS 4 can work in JBDS 5 without any problems.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(server=@Server(version="5.1", operator=">", state=ServerState.Present), db=@DB, seam=@Seam)
+public class JBDS4vs5CompatibilityGatein extends SWTTaskBasedTestCase {
+
+ private static final String ZIP_FILE = "resources/org/jboss/tools/portlet/ui/bot/test/compatibility/jbds-compatibility.zip";
+
+ private static final String CORE_PROJECT_NAME = "jbds-4-core";
+
+ private static final String JSF_PROJECT_NAME = "jbds-4-jsf";
+
+ private static final String SEAM_PROJECT_NAME = "jbds-4-seam";
+
+ @Test
+ public void testCompatibility(){
+ doPerform(new ExistingProjectImportTask());
+ doPerform(getWizardFillingTask());
+
+ doAssertThatInWorkspace(CORE_PROJECT_NAME, isExistingProject());
+ doAssertThatInWorkspace(JSF_PROJECT_NAME, isExistingProject());
+ doAssertThatInWorkspace(SEAM_PROJECT_NAME, isExistingProject());
+ doAssertThatInWorkspace(0, isNumberOfErrors());
+ }
+
+ private WizardFillingTask getWizardFillingTask(){
+ WizardFillingTask wizard = new WizardFillingTask();
+ wizard.addWizardPage(getWizardPage());
+ return wizard;
+ }
+
+ private ExistingProjectWizardPageFillingTask getWizardPage(){
+ ExistingProjectWizardPageFillingTask task = new ExistingProjectWizardPageFillingTask();
+ task.setZipFilePath(getZIPFileLocation());
+ task.setProjectNames(CORE_PROJECT_NAME, JSF_PROJECT_NAME, SEAM_PROJECT_NAME);
+ task.setCopyProjectsIntoWorkspace(true);
+ return task;
+ }
+
+ private String getZIPFileLocation(){
+ return SWTUtilExt.getPathToFileWithinPlugin(Activator.PLUGIN_ID, ZIP_FILE);
+ }
+}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDSCompatibilityTestSuite.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDSCompatibilityTestSuite.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/compatibility/JBDSCompatibilityTestSuite.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -6,7 +6,7 @@
@RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
- JBDS4vs5Compatibility.class,
+ JBDS4vs5CompatibilityGatein.class,
})
public class JBDSCompatibilityTestSuite {
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletGatein.java (from rev 38683, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,34 @@
+package org.jboss.tools.portlet.ui.bot.test.core;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.jboss.tools.portlet.ui.bot.test.template.CreateJavaPortletTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+
+/**
+ * Creates a new java portlet and checks if the right files are generated.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="5.0", operator=">", state=ServerState.Present))
+public class CreateJavaPortletGatein extends CreateJavaPortletTemplate {
+
+ @Override
+ protected List<String> getExpectedFiles() {
+ return Arrays.asList(CLASS_FILE);
+ }
+
+ @Override
+ protected List<String> getNonExpectedFiles() {
+ return Arrays.asList(
+ DEFAULT_OBJECTS_XML,
+ PORTLET_INSTANCES_XML,
+ JSF_FOLDER,
+ JBOSS_APP_XML,
+ JBOSS_PORTLET_XML);
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletJBPortal.java (from rev 38683, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,35 @@
+package org.jboss.tools.portlet.ui.bot.test.core;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.jboss.tools.portlet.ui.bot.test.template.CreateJavaPortletTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+
+/**
+ * Creates a new java portlet and checks if the right files are generated.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="4.3", state=ServerState.Present))
+public class CreateJavaPortletJBPortal extends CreateJavaPortletTemplate {
+
+ @Override
+ protected List<String> getExpectedFiles() {
+ return Arrays.asList(
+ DEFAULT_OBJECTS_XML,
+ PORTLET_INSTANCES_XML,
+ CLASS_FILE);
+ }
+
+ @Override
+ protected List<String> getNonExpectedFiles() {
+ return Arrays.asList(
+ JSF_FOLDER,
+ JBOSS_APP_XML,
+ JBOSS_PORTLET_XML);
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,35 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.core;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jboss.tools.portlet.ui.bot.test.template.CreateJavaPortletTemplate;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-
-/**
- * Creates a new java portlet and checks if the right files are generated.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="4.3", state=ServerState.Present))
-public class CreateJavaPortletRuntime4x extends CreateJavaPortletTemplate {
-
- @Override
- protected List<String> getExpectedFiles() {
- return Arrays.asList(
- DEFAULT_OBJECTS_XML,
- PORTLET_INSTANCES_XML,
- CLASS_FILE);
- }
-
- @Override
- protected List<String> getNonExpectedFiles() {
- return Arrays.asList(
- JSF_FOLDER,
- JBOSS_APP_XML,
- JBOSS_PORTLET_XML);
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/CreateJavaPortletRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,34 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.core;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jboss.tools.portlet.ui.bot.test.template.CreateJavaPortletTemplate;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-
-/**
- * Creates a new java portlet and checks if the right files are generated.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="5.0", operator=">", state=ServerState.Present))
-public class CreateJavaPortletRuntime5x extends CreateJavaPortletTemplate {
-
- @Override
- protected List<String> getExpectedFiles() {
- return Arrays.asList(CLASS_FILE);
- }
-
- @Override
- protected List<String> getNonExpectedFiles() {
- return Arrays.asList(
- DEFAULT_OBJECTS_XML,
- PORTLET_INSTANCES_XML,
- JSF_FOLDER,
- JBOSS_APP_XML,
- JBOSS_PORTLET_XML);
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentGatein.java (from rev 39619, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,36 @@
+package org.jboss.tools.portlet.ui.bot.test.core;
+
+import static org.jboss.tools.portlet.ui.bot.test.core.CreateJavaPortletProject.PROJECT_NAME;
+
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JavaPortletCreationTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JavaPortletWizardPageFillingTask;
+import org.jboss.tools.portlet.ui.bot.test.template.CreateJavaPortletTemplate;
+import org.jboss.tools.portlet.ui.bot.test.template.HotDeploymentGateinTemplate;
+
+/**
+ * Creates a java portlet and checks if the project is re-deployed.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class HotJavaPortletDeploymentGatein extends HotDeploymentGateinTemplate {
+
+ @Override
+ protected String getProjectName() {
+ return CreateJavaPortletProject.PROJECT_NAME;
+ }
+
+ @Override
+ protected AbstractPortletCreationTask createPortlet() {
+ JavaPortletWizardPageFillingTask task = new JavaPortletWizardPageFillingTask();
+ task.setProject(PROJECT_NAME);
+ task.setPackageName(CreateJavaPortletTemplate.PACKAGE_NAME);
+ task.setClassName("HotDeployedJavaPortlet");
+
+ JavaPortletCreationTask wizardTask = new JavaPortletCreationTask();
+ wizardTask.addWizardPage(task);
+ return wizardTask;
+ }
+
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/HotJavaPortletDeploymentRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,36 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.core;
-
-import static org.jboss.tools.portlet.ui.bot.test.core.CreateJavaPortletProject.PROJECT_NAME;
-
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JavaPortletCreationTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JavaPortletWizardPageFillingTask;
-import org.jboss.tools.portlet.ui.bot.test.template.CreateJavaPortletTemplate;
-import org.jboss.tools.portlet.ui.bot.test.template.HotDeploymentRuntime5xTemplate;
-
-/**
- * Creates a java portlet and checks if the project is re-deployed.
- *
- * @author Lucia Jelinkova
- *
- */
-public class HotJavaPortletDeploymentRuntime5x extends HotDeploymentRuntime5xTemplate {
-
- @Override
- protected String getProjectName() {
- return CreateJavaPortletProject.PROJECT_NAME;
- }
-
- @Override
- protected AbstractPortletCreationTask createPortlet() {
- JavaPortletWizardPageFillingTask task = new JavaPortletWizardPageFillingTask();
- task.setProject(PROJECT_NAME);
- task.setPackageName(CreateJavaPortletTemplate.PACKAGE_NAME);
- task.setClassName("HotDeployedJavaPortlet");
-
- JavaPortletCreationTask wizardTask = new JavaPortletCreationTask();
- wizardTask.addWizardPage(task);
- return wizardTask;
- }
-
-}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/JavaPortletTestSuite.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/JavaPortletTestSuite.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/JavaPortletTestSuite.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -7,11 +7,11 @@
@RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
CreateJavaPortletProject.class,
- CreateJavaPortletRuntime4x.class,
- CreateJavaPortletRuntime5x.class,
+ CreateJavaPortletJBPortal.class,
+ CreateJavaPortletGatein.class,
RunJavaPortletOnServer.class,
- LoadJavaPortletInBrowserRuntime4x.class,
- HotJavaPortletDeploymentRuntime5x.class
+ LoadJavaPortletInBrowserJBPortal.class,
+ HotJavaPortletDeploymentGatein.class
})
public class JavaPortletTestSuite {
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserJBPortal.java (from rev 38683, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,15 @@
+package org.jboss.tools.portlet.ui.bot.test.core;
+
+import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
+
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+import org.jboss.tools.portlet.ui.bot.test.template.LoadPortletInBrowserJBPortalTemplate;
+
+
+public class LoadJavaPortletInBrowserJBPortal extends LoadPortletInBrowserJBPortalTemplate {
+
+ @Override
+ protected PortletDefinition getPortletDefinition() {
+ return portlet(CreateJavaPortletGatein.CLASS_NAME);
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/core/LoadJavaPortletInBrowserRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,15 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.core;
-
-import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
-
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-import org.jboss.tools.portlet.ui.bot.test.template.LoadPortletInBrowser4xRuntimeTemplate;
-
-
-public class LoadJavaPortletInBrowserRuntime4x extends LoadPortletInBrowser4xRuntimeTemplate {
-
- @Override
- protected PortletDefinition getPortletDefinition() {
- return portlet(CreateJavaPortletRuntime5x.CLASS_NAME);
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleGatein.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime5xTest.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,22 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ * Common ancestor for example projects tests for 5x runtime.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(server=@Server(version="5.0", operator=">", state=ServerState.Running, type=ServerType.EPP))
+public abstract class AbstractPortletExampleGatein extends
+ AbstractPortletExampleTest {
+
+ @Override
+ public String getExampleCategory() {
+ return "Portlet for GateIn 3.1/EPP 5.x";
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleJBPortal.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime4xTest.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,33 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+import static org.jboss.tools.portlet.ui.bot.matcher.factory.PortletMatchersFactory.canLoadAt4xRuntime;
+
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ * Common ancestor for example projects tests for 4x runtime.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(server=@Server(version="4.3", state=ServerState.Running, type=ServerType.EPP))
+public abstract class AbstractPortletExampleJBPortal extends
+ AbstractPortletExampleTest {
+
+ protected abstract PortletDefinition getPortletDefinition();
+
+ @Override
+ protected void executeExample() {
+ super.executeExample();
+ doAssertThatInWorkspace(getPortletDefinition(), canLoadAt4xRuntime());
+ }
+
+ @Override
+ public String getExampleCategory() {
+ return "Portlet";
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime4xTest.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime4xTest.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime4xTest.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,33 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-import static org.jboss.tools.portlet.ui.bot.matcher.factory.PortletMatchersFactory.canLoadAt4xRuntime;
-
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
-
-/**
- * Common ancestor for example projects tests for 4x runtime.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(server=@Server(version="4.3", state=ServerState.Running, type=ServerType.EPP))
-public abstract class AbstractPortletExampleRuntime4xTest extends
- AbstractPortletExampleTest {
-
- protected abstract PortletDefinition getPortletDefinition();
-
- @Override
- protected void executeExample() {
- super.executeExample();
- doAssertThatInWorkspace(getPortletDefinition(), canLoadAt4xRuntime());
- }
-
- @Override
- public String getExampleCategory() {
- return "Portlet";
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime5xTest.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime5xTest.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/AbstractPortletExampleRuntime5xTest.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,22 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
-
-/**
- * Common ancestor for example projects tests for 5x runtime.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(server=@Server(version="5.0", operator=">", state=ServerState.Running, type=ServerType.EPP))
-public abstract class AbstractPortletExampleRuntime5xTest extends
- AbstractPortletExampleTest {
-
- @Override
- public String getExampleCategory() {
- return "Portlet for GateIn 3.1/EPP 5.x";
- }
-}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/ExamplesSuite.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/ExamplesSuite.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/ExamplesSuite.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -6,12 +6,12 @@
@RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
- JavaPortletExampleRuntime4x.class,
- JSFPortletExampleRuntime4x.class,
- SeamPortletExampleRuntime4x.class,
- JSFPortletExampleRuntime5x.class,
- RichFacesPortletExampleRuntime5x.class,
- SeamPortletExampleRuntime5x.class
+ JavaPortletExampleJBPortal.class,
+ JSFPortletExampleJBPortal.class,
+ SeamPortletExampleJBPortal.class,
+ JSFPortletExampleGatein.class,
+ RichFacesPortletExampleGatein.class,
+ SeamPortletExampleGatein.class
})
public class ExamplesSuite {
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleGatein.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,22 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+/**
+ * Tests the JSF portlet example.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class JSFPortletExampleGatein extends AbstractPortletExampleGatein {
+
+ private static final String PROJECT_NAME = "JSFPortlet";
+
+ @Override
+ public String getExampleName() {
+ return "JBoss JSF RI Portlet";
+ }
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[]{PROJECT_NAME};
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleJBPortal.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,32 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
+
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+
+
+/**
+ * Tests the JSF portlet example.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class JSFPortletExampleJBPortal extends AbstractPortletExampleJBPortal {
+
+ private static final String PROJECT_NAME = "testjsfportlet";
+
+ @Override
+ public String getExampleName() {
+ return "JBoss JSF Portlet Example";
+ }
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[]{PROJECT_NAME};
+ }
+
+ @Override
+ protected PortletDefinition getPortletDefinition() {
+ return portlet("TestJSFPortlet", "Test JBoss JSF Portlet");
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,32 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
-
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-
-
-/**
- * Tests the JSF portlet example.
- *
- * @author Lucia Jelinkova
- *
- */
-public class JSFPortletExampleRuntime4x extends AbstractPortletExampleRuntime4xTest {
-
- private static final String PROJECT_NAME = "testjsfportlet";
-
- @Override
- public String getExampleName() {
- return "JBoss JSF Portlet Example";
- }
-
- @Override
- public String[] getProjectNames() {
- return new String[]{PROJECT_NAME};
- }
-
- @Override
- protected PortletDefinition getPortletDefinition() {
- return portlet("TestJSFPortlet", "Test JBoss JSF Portlet");
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JSFPortletExampleRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,22 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-/**
- * Tests the JSF portlet example.
- *
- * @author Lucia Jelinkova
- *
- */
-public class JSFPortletExampleRuntime5x extends AbstractPortletExampleRuntime5xTest {
-
- private static final String PROJECT_NAME = "JSFPortlet";
-
- @Override
- public String getExampleName() {
- return "JBoss JSF RI Portlet";
- }
-
- @Override
- public String[] getProjectNames() {
- return new String[]{PROJECT_NAME};
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleJBPortal.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,32 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
+
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+
+
+/**
+ * Tests the Java portlet example.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class JavaPortletExampleJBPortal extends AbstractPortletExampleJBPortal {
+
+ private static final String PROJECT_NAME = "testjavaportlet";
+
+ @Override
+ public String getExampleName() {
+ return "JBoss Java Portlet Example";
+ }
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[]{PROJECT_NAME};
+ }
+
+ @Override
+ protected PortletDefinition getPortletDefinition() {
+ return portlet("default/TestJavaPortlet", "TestJavaPortlet");
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/JavaPortletExampleRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,32 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
-
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-
-
-/**
- * Tests the Java portlet example.
- *
- * @author Lucia Jelinkova
- *
- */
-public class JavaPortletExampleRuntime4x extends AbstractPortletExampleRuntime4xTest {
-
- private static final String PROJECT_NAME = "testjavaportlet";
-
- @Override
- public String getExampleName() {
- return "JBoss Java Portlet Example";
- }
-
- @Override
- public String[] getProjectNames() {
- return new String[]{PROJECT_NAME};
- }
-
- @Override
- protected PortletDefinition getPortletDefinition() {
- return portlet("default/TestJavaPortlet", "TestJavaPortlet");
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,32 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+
+/**
+ * Tests the JSF portlet example.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class RichFacesPortletExampleGatein extends AbstractPortletExampleGatein {
+
+ private static final String PROJECT_NAME_IN_WIZARD = "RichFacesPortlet";
+
+ private static final String PROJECT_NAME_IN_WORKSPACE = "RichfacesPortlet";
+
+ private int getProjectNameMethodCallCounter = 0;
+
+ @Override
+ public String getExampleName() {
+ return "JBoss Portlet Bridge - RichFaces Application";
+ }
+
+ @Override
+ public String[] getProjectNames() {
+ // an ugly hack to pass the assert that the project name in wizard is the same as project name in workspace
+ if (getProjectNameMethodCallCounter <= 1){
+ getProjectNameMethodCallCounter++;
+ return new String[]{PROJECT_NAME_IN_WIZARD};
+ }
+ return new String[]{PROJECT_NAME_IN_WORKSPACE};
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,32 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-
-/**
- * Tests the JSF portlet example.
- *
- * @author Lucia Jelinkova
- *
- */
-public class RichFacesPortletExampleRuntime5x extends AbstractPortletExampleRuntime5xTest {
-
- private static final String PROJECT_NAME_IN_WIZARD = "RichFacesPortlet";
-
- private static final String PROJECT_NAME_IN_WORKSPACE = "RichfacesPortlet";
-
- private int getProjectNameMethodCallCounter = 0;
-
- @Override
- public String getExampleName() {
- return "JBoss Portlet Bridge - RichFaces Application";
- }
-
- @Override
- public String[] getProjectNames() {
- // an ugly hack to pass the assert that the project name in wizard is the same as project name in workspace
- if (getProjectNameMethodCallCounter <= 1){
- getProjectNameMethodCallCounter++;
- return new String[]{PROJECT_NAME_IN_WIZARD};
- }
- return new String[]{PROJECT_NAME_IN_WORKSPACE};
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,44 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+import org.jboss.tools.ui.bot.ext.config.Annotations.DB;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Seam;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+
+/**
+ * Tests the JSF portlet example.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(db=@DB, seam=@Seam, server=@Server(version="5.0", operator=">", state=ServerState.Running, type=ServerType.EPP))
+public class SeamPortletExampleGatein extends AbstractPortletExampleGatein {
+
+ private static final String PROJECT_NAME_IN_WIZARD = "SeamPortlet";
+
+ private static final String PROJECT_NAME_EAR = "seam-portlet-ear";
+
+ private static final String PROJECT_NAME_EJB = "seam-portlet-ejb";
+
+ private static final String PROJECT_NAME_WAR = "seam-portlet-web";
+
+ private int getProjectNameMethodCallCounter = 0;
+
+ @Override
+ public String getExampleName() {
+ return "JBoss Portlet Bridge - Seam Portlet";
+ }
+
+ @Override
+ public String[] getProjectNames() {
+ // an ugly hack to pass the assert that the project name in wizard is the same as project name in workspace
+ if (getProjectNameMethodCallCounter <= 1){
+ getProjectNameMethodCallCounter++;
+ return new String[]{PROJECT_NAME_IN_WIZARD};
+ }
+ return new String[]{PROJECT_NAME_EAR, PROJECT_NAME_EJB, PROJECT_NAME_WAR};
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleJBPortal.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,50 @@
+package org.jboss.tools.portlet.ui.bot.test.example;
+
+import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.file;
+import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
+
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+import org.jboss.tools.portlet.ui.bot.entity.WorkspaceFile;
+import org.jboss.tools.portlet.ui.bot.task.server.RunningFileOnServerTask;
+import org.jboss.tools.ui.bot.ext.config.Annotations.DB;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Seam;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+
+/**
+ * Tests the Seam portlet example.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(db=@DB, seam=@Seam, server=@Server(version="4.3", state=ServerState.Running, type=ServerType.EPP))
+public class SeamPortletExampleJBPortal extends AbstractPortletExampleJBPortal {
+
+ private static final String PROJECT_NAME = "testseamportlet";
+
+ private static final WorkspaceFile DATASOURCE_FILE = file(PROJECT_NAME, "resources/" + PROJECT_NAME + "-ds.xml");
+
+ @Override
+ public String getExampleName() {
+ return "JBoss Seam Portlet Example";
+ }
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[]{PROJECT_NAME};
+ }
+
+ @Override
+ protected void executeExample() {
+ doPerform(new RunningFileOnServerTask(DATASOURCE_FILE));
+ super.executeExample();
+ }
+
+ @Override
+ protected PortletDefinition getPortletDefinition() {
+ return portlet("TestSeamPortlet", "Test JBoss Seam Portlet");
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,50 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.file;
-import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
-
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-import org.jboss.tools.portlet.ui.bot.entity.WorkspaceFile;
-import org.jboss.tools.portlet.ui.bot.task.server.RunningFileOnServerTask;
-import org.jboss.tools.ui.bot.ext.config.Annotations.DB;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Seam;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
-
-
-/**
- * Tests the Seam portlet example.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(db=@DB, seam=@Seam, server=@Server(version="4.3", state=ServerState.Running, type=ServerType.EPP))
-public class SeamPortletExampleRuntime4x extends AbstractPortletExampleRuntime4xTest {
-
- private static final String PROJECT_NAME = "testseamportlet";
-
- private static final WorkspaceFile DATASOURCE_FILE = file(PROJECT_NAME, "resources/" + PROJECT_NAME + "-ds.xml");
-
- @Override
- public String getExampleName() {
- return "JBoss Seam Portlet Example";
- }
-
- @Override
- public String[] getProjectNames() {
- return new String[]{PROJECT_NAME};
- }
-
- @Override
- protected void executeExample() {
- doPerform(new RunningFileOnServerTask(DATASOURCE_FILE));
- super.executeExample();
- }
-
- @Override
- protected PortletDefinition getPortletDefinition() {
- return portlet("TestSeamPortlet", "Test JBoss Seam Portlet");
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,44 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.example;
-
-import org.jboss.tools.ui.bot.ext.config.Annotations.DB;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Seam;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
-
-
-/**
- * Tests the JSF portlet example.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(db=@DB, seam=@Seam, server=@Server(version="5.0", operator=">", state=ServerState.Running, type=ServerType.EPP))
-public class SeamPortletExampleRuntime5x extends AbstractPortletExampleRuntime5xTest {
-
- private static final String PROJECT_NAME_IN_WIZARD = "SeamPortlet";
-
- private static final String PROJECT_NAME_EAR = "seam-portlet-ear";
-
- private static final String PROJECT_NAME_EJB = "seam-portlet-ejb";
-
- private static final String PROJECT_NAME_WAR = "seam-portlet-web";
-
- private int getProjectNameMethodCallCounter = 0;
-
- @Override
- public String getExampleName() {
- return "JBoss Portlet Bridge - Seam Portlet";
- }
-
- @Override
- public String[] getProjectNames() {
- // an ugly hack to pass the assert that the project name in wizard is the same as project name in workspace
- if (getProjectNameMethodCallCounter <= 1){
- getProjectNameMethodCallCounter++;
- return new String[]{PROJECT_NAME_IN_WIZARD};
- }
- return new String[]{PROJECT_NAME_EAR, PROJECT_NAME_EJB, PROJECT_NAME_WAR};
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletGatein.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,19 @@
+package org.jboss.tools.portlet.ui.bot.test.jsf;
+
+import static org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletProject.PROJECT_NAME;
+
+import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletGateinTemplate;
+
+/**
+ * Creates a new jsf portlet for 5.x runtime and checks if the right files are generated.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class CreateJSFPortletGatein extends CreateJSFSeamPortletGateinTemplate {
+
+ @Override
+ protected String getProjectName() {
+ return PROJECT_NAME;
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletJBPortal.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,19 @@
+package org.jboss.tools.portlet.ui.bot.test.jsf;
+
+import static org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletProject.PROJECT_NAME;
+
+import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletJBPortalTemplate;
+
+/**
+ * Creates a new jsf portlet for 4.x runtime and checks if the right files are generated.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class CreateJSFPortletJBPortal extends CreateJSFSeamPortletJBPortalTemplate {
+
+ @Override
+ protected String getProjectName() {
+ return PROJECT_NAME;
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,19 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.jsf;
-
-import static org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletProject.PROJECT_NAME;
-
-import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletRuntime4xTemplate;
-
-/**
- * Creates a new jsf portlet for 4.x runtime and checks if the right files are generated.
- *
- * @author Lucia Jelinkova
- *
- */
-public class CreateJSFPortletRuntime4x extends CreateJSFSeamPortletRuntime4xTemplate {
-
- @Override
- protected String getProjectName() {
- return PROJECT_NAME;
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/CreateJSFPortletRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,19 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.jsf;
-
-import static org.jboss.tools.portlet.ui.bot.test.jsf.CreateJSFPortletProject.PROJECT_NAME;
-
-import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletRuntime5xTemplate;
-
-/**
- * Creates a new jsf portlet for 5.x runtime and checks if the right files are generated.
- *
- * @author Lucia Jelinkova
- *
- */
-public class CreateJSFPortletRuntime5x extends CreateJSFSeamPortletRuntime5xTemplate {
-
- @Override
- protected String getProjectName() {
- return PROJECT_NAME;
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentGatein.java (from rev 39619, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,33 @@
+package org.jboss.tools.portlet.ui.bot.test.jsf;
+
+import org.jboss.tools.portlet.ui.bot.task.wizard.WizardPageDefaultsFillingTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletCreationTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletWizardPageFillingTask;
+import org.jboss.tools.portlet.ui.bot.test.template.HotDeploymentGateinTemplate;
+
+/**
+ * Creates a java portlet and checks if the project is re-deployed.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class HotJSFPortletDeploymentGatein extends HotDeploymentGateinTemplate {
+
+ @Override
+ protected String getProjectName() {
+ return CreateJSFPortletProject.PROJECT_NAME;
+ }
+
+ @Override
+ protected AbstractPortletCreationTask createPortlet() {
+ JSFPortletWizardPageFillingTask jsfPage = new JSFPortletWizardPageFillingTask();
+ jsfPage.setName("hotDeployment");
+
+ JSFPortletCreationTask wizard = new JSFPortletCreationTask();
+ wizard.addWizardPage(new WizardPageDefaultsFillingTask());
+ wizard.addWizardPage(jsfPage);
+ wizard.addWizardPage(new WizardPageDefaultsFillingTask());
+ return wizard;
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/HotJSFPortletDeploymentRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,33 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.jsf;
-
-import org.jboss.tools.portlet.ui.bot.task.wizard.WizardPageDefaultsFillingTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletCreationTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletWizardPageFillingTask;
-import org.jboss.tools.portlet.ui.bot.test.template.HotDeploymentRuntime5xTemplate;
-
-/**
- * Creates a java portlet and checks if the project is re-deployed.
- *
- * @author Lucia Jelinkova
- *
- */
-public class HotJSFPortletDeploymentRuntime5x extends HotDeploymentRuntime5xTemplate {
-
- @Override
- protected String getProjectName() {
- return CreateJSFPortletProject.PROJECT_NAME;
- }
-
- @Override
- protected AbstractPortletCreationTask createPortlet() {
- JSFPortletWizardPageFillingTask jsfPage = new JSFPortletWizardPageFillingTask();
- jsfPage.setName("hotDeployment");
-
- JSFPortletCreationTask wizard = new JSFPortletCreationTask();
- wizard.addWizardPage(new WizardPageDefaultsFillingTask());
- wizard.addWizardPage(jsfPage);
- wizard.addWizardPage(new WizardPageDefaultsFillingTask());
- return wizard;
- }
-}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/JSFPortletTestSuite.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/JSFPortletTestSuite.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/JSFPortletTestSuite.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -7,11 +7,11 @@
@RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
CreateJSFPortletProject.class,
- CreateJSFPortletRuntime4x.class,
- CreateJSFPortletRuntime5x.class,
+ CreateJSFPortletJBPortal.class,
+ CreateJSFPortletGatein.class,
RunJSFPortletOnServer.class,
- LoadJSFPortletInBrowserRuntime4x.class,
- HotJSFPortletDeploymentRuntime5x.class
+ LoadJSFPortletInBrowserJBPortal.class,
+ HotJSFPortletDeploymentGatein.class
})
public class JSFPortletTestSuite {
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserJBPortal.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,15 @@
+package org.jboss.tools.portlet.ui.bot.test.jsf;
+
+import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
+
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+import org.jboss.tools.portlet.ui.bot.test.template.LoadPortletInBrowserJBPortalTemplate;
+
+
+public class LoadJSFPortletInBrowserJBPortal extends LoadPortletInBrowserJBPortalTemplate {
+
+ @Override
+ protected PortletDefinition getPortletDefinition() {
+ return portlet("JSFPortlet", "JBoss JSF Portlet");
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/jsf/LoadJSFPortletInBrowserRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,15 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.jsf;
-
-import static org.jboss.tools.portlet.ui.bot.entity.EntityFactory.portlet;
-
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-import org.jboss.tools.portlet.ui.bot.test.template.LoadPortletInBrowser4xRuntimeTemplate;
-
-
-public class LoadJSFPortletInBrowserRuntime4x extends LoadPortletInBrowser4xRuntimeTemplate {
-
- @Override
- protected PortletDefinition getPortletDefinition() {
- return portlet("JSFPortlet", "JBoss JSF Portlet");
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletGatein.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,19 @@
+package org.jboss.tools.portlet.ui.bot.test.seam;
+
+import static org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletProject.PROJECT_NAME;
+
+import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletGateinTemplate;
+
+/**
+ * Creates a new seam portlet for 5.x runtime and checks if the right files are generated.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class CreateSeamPortletGatein extends CreateJSFSeamPortletGateinTemplate {
+
+ @Override
+ protected String getProjectName() {
+ return PROJECT_NAME;
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletJBPortal.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,19 @@
+package org.jboss.tools.portlet.ui.bot.test.seam;
+
+import static org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletProject.PROJECT_NAME;
+
+import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletJBPortalTemplate;
+
+/**
+ * Creates a new seam portlet for 4.x runtime and checks if the right files are generated.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class CreateSeamPortletJBPortal extends CreateJSFSeamPortletJBPortalTemplate {
+
+ @Override
+ protected String getProjectName() {
+ return PROJECT_NAME;
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,19 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.seam;
-
-import static org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletProject.PROJECT_NAME;
-
-import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletRuntime4xTemplate;
-
-/**
- * Creates a new seam portlet for 4.x runtime and checks if the right files are generated.
- *
- * @author Lucia Jelinkova
- *
- */
-public class CreateSeamPortletRuntime4x extends CreateJSFSeamPortletRuntime4xTemplate {
-
- @Override
- protected String getProjectName() {
- return PROJECT_NAME;
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/CreateSeamPortletRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,19 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.seam;
-
-import static org.jboss.tools.portlet.ui.bot.test.seam.CreateSeamPortletProject.PROJECT_NAME;
-
-import org.jboss.tools.portlet.ui.bot.test.template.CreateJSFSeamPortletRuntime5xTemplate;
-
-/**
- * Creates a new seam portlet for 5.x runtime and checks if the right files are generated.
- *
- * @author Lucia Jelinkova
- *
- */
-public class CreateSeamPortletRuntime5x extends CreateJSFSeamPortletRuntime5xTemplate {
-
- @Override
- protected String getProjectName() {
- return PROJECT_NAME;
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentGatein.java (from rev 39619, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,33 @@
+package org.jboss.tools.portlet.ui.bot.test.seam;
+
+import org.jboss.tools.portlet.ui.bot.task.wizard.WizardPageDefaultsFillingTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletCreationTask;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletWizardPageFillingTask;
+import org.jboss.tools.portlet.ui.bot.test.template.HotDeploymentGateinTemplate;
+
+/**
+ * Creates a java portlet and checks if the project is re-deployed.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+public class HotSeamPortletDeploymentGatein extends HotDeploymentGateinTemplate {
+
+ @Override
+ protected String getProjectName() {
+ return CreateSeamPortletProject.PROJECT_NAME;
+ }
+
+ @Override
+ protected AbstractPortletCreationTask createPortlet() {
+ JSFPortletWizardPageFillingTask jsfPage = new JSFPortletWizardPageFillingTask();
+ jsfPage.setName("hotDeployment");
+
+ JSFPortletCreationTask wizard = new JSFPortletCreationTask();
+ wizard.addWizardPage(new WizardPageDefaultsFillingTask());
+ wizard.addWizardPage(jsfPage);
+ wizard.addWizardPage(new WizardPageDefaultsFillingTask());
+ return wizard;
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/HotSeamPortletDeploymentRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,33 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.seam;
-
-import org.jboss.tools.portlet.ui.bot.task.wizard.WizardPageDefaultsFillingTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletCreationTask;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.JSFPortletWizardPageFillingTask;
-import org.jboss.tools.portlet.ui.bot.test.template.HotDeploymentRuntime5xTemplate;
-
-/**
- * Creates a java portlet and checks if the project is re-deployed.
- *
- * @author Lucia Jelinkova
- *
- */
-public class HotSeamPortletDeploymentRuntime5x extends HotDeploymentRuntime5xTemplate {
-
- @Override
- protected String getProjectName() {
- return CreateSeamPortletProject.PROJECT_NAME;
- }
-
- @Override
- protected AbstractPortletCreationTask createPortlet() {
- JSFPortletWizardPageFillingTask jsfPage = new JSFPortletWizardPageFillingTask();
- jsfPage.setName("hotDeployment");
-
- JSFPortletCreationTask wizard = new JSFPortletCreationTask();
- wizard.addWizardPage(new WizardPageDefaultsFillingTask());
- wizard.addWizardPage(jsfPage);
- wizard.addWizardPage(new WizardPageDefaultsFillingTask());
- return wizard;
- }
-}
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/SeamPortletTestSuite.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/SeamPortletTestSuite.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/seam/SeamPortletTestSuite.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -7,10 +7,10 @@
@RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
CreateSeamPortletProject.class,
- CreateSeamPortletRuntime4x.class,
- CreateSeamPortletRuntime5x.class,
+ CreateSeamPortletJBPortal.class,
+ CreateSeamPortletGatein.class,
RunSeamPortletOnServer.class,
- HotSeamPortletDeploymentRuntime5x.class
+ HotSeamPortletDeploymentGatein.class
})
public class SeamPortletTestSuite {
Modified: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/PortletServerTestSuite.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/PortletServerTestSuite.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/PortletServerTestSuite.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -6,8 +6,8 @@
@RunWith(RequirementAwareSuite.class)
@Suite.SuiteClasses({
- RunAsLoadsPortalURLRuntime4x.class,
- RunAsLoadsPortalURLRuntime5x.class
+ RunAsLoadsPortalURLJBPortal.class,
+ RunAsLoadsPortalURLGatein.class
})
public class PortletServerTestSuite {
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLGatein.java (from rev 39610, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime5x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLGatein.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLGatein.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,15 @@
+package org.jboss.tools.portlet.ui.bot.test.server;
+
+import org.jboss.tools.portlet.ui.bot.test.template.RunAsLoadsPortalURLTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+
+@Require(server=@Server(version="5.0", operator=">", state=ServerState.Running))
+public class RunAsLoadsPortalURLGatein extends RunAsLoadsPortalURLTemplate {
+
+ @Override
+ public String getExpectedURL() {
+ return "http://localhost:8080/portal/classic/";
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLJBPortal.java (from rev 39610, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime4x.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLJBPortal.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLJBPortal.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,15 @@
+package org.jboss.tools.portlet.ui.bot.test.server;
+
+import org.jboss.tools.portlet.ui.bot.test.template.RunAsLoadsPortalURLTemplate;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+
+@Require(server=@Server(version="4.3", state=ServerState.Running))
+public class RunAsLoadsPortalURLJBPortal extends RunAsLoadsPortalURLTemplate {
+
+ @Override
+ public String getExpectedURL() {
+ return "http://localhost:8080/portal";
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime4x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime4x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime4x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,15 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.server;
-
-import org.jboss.tools.portlet.ui.bot.test.template.RunAsLoadsPortalURLTemplate;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-
-@Require(server=@Server(version="4.3", state=ServerState.Running))
-public class RunAsLoadsPortalURLRuntime4x extends RunAsLoadsPortalURLTemplate {
-
- @Override
- public String getExpectedURL() {
- return "http://localhost:8080/portal";
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime5x.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime5x.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/server/RunAsLoadsPortalURLRuntime5x.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,15 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.server;
-
-import org.jboss.tools.portlet.ui.bot.test.template.RunAsLoadsPortalURLTemplate;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-
-@Require(server=@Server(version="5.0", operator=">", state=ServerState.Running))
-public class RunAsLoadsPortalURLRuntime5x extends RunAsLoadsPortalURLTemplate {
-
- @Override
- public String getExpectedURL() {
- return "http://localhost:8080/portal/classic/";
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletGateinTemplate.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime5xTemplate.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletGateinTemplate.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletGateinTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,30 @@
+package org.jboss.tools.portlet.ui.bot.test.template;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+
+@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="5.0", operator=">", state=ServerState.Present))
+public abstract class CreateJSFSeamPortletGateinTemplate extends CreateJSFSeamPortletTemplate {
+
+ @Override
+ protected List<String> getExpectedFiles() {
+ return Arrays.asList(
+ JSF_FOLDER + "edit.jsp",
+ JSF_FOLDER + "view.jsp",
+ JSF_FOLDER + "help.jsp"
+ );
+ }
+
+ @Override
+ protected List<String> getNonExpectedFiles() {
+ return Arrays.asList(
+ DEFAULT_OBJECTS_XML,
+ PORTLET_INSTANCES_XML,
+ JBOSS_APP_XML,
+ JBOSS_PORTLET_XML);
+ }
+}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletJBPortalTemplate.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime4xTemplate.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletJBPortalTemplate.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletJBPortalTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,37 @@
+package org.jboss.tools.portlet.ui.bot.test.template;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+
+/**
+ * Creates a new jsf portlet with 4.x runtime and checks if the right files are generated.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="4.3", state=ServerState.Present))
+public abstract class CreateJSFSeamPortletJBPortalTemplate extends CreateJSFSeamPortletTemplate {
+
+ @Override
+ protected List<String> getExpectedFiles() {
+ return Arrays.asList(
+ JSF_FOLDER + "edit.jsp",
+ JSF_FOLDER + "view.jsp",
+ JSF_FOLDER + "help.jsp",
+ DEFAULT_OBJECTS_XML,
+ PORTLET_INSTANCES_XML,
+ JBOSS_APP_XML,
+ JBOSS_PORTLET_XML
+ );
+ }
+
+ @Override
+ protected List<String> getNonExpectedFiles() {
+ return Collections.emptyList();
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime4xTemplate.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime4xTemplate.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime4xTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,37 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.template;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-
-/**
- * Creates a new jsf portlet with 4.x runtime and checks if the right files are generated.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="4.3", state=ServerState.Present))
-public abstract class CreateJSFSeamPortletRuntime4xTemplate extends CreateJSFSeamPortletTemplate {
-
- @Override
- protected List<String> getExpectedFiles() {
- return Arrays.asList(
- JSF_FOLDER + "edit.jsp",
- JSF_FOLDER + "view.jsp",
- JSF_FOLDER + "help.jsp",
- DEFAULT_OBJECTS_XML,
- PORTLET_INSTANCES_XML,
- JBOSS_APP_XML,
- JBOSS_PORTLET_XML
- );
- }
-
- @Override
- protected List<String> getNonExpectedFiles() {
- return Collections.emptyList();
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime5xTemplate.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime5xTemplate.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/CreateJSFSeamPortletRuntime5xTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,30 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.template;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-
-@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="5.0", operator=">", state=ServerState.Present))
-public abstract class CreateJSFSeamPortletRuntime5xTemplate extends CreateJSFSeamPortletTemplate {
-
- @Override
- protected List<String> getExpectedFiles() {
- return Arrays.asList(
- JSF_FOLDER + "edit.jsp",
- JSF_FOLDER + "view.jsp",
- JSF_FOLDER + "help.jsp"
- );
- }
-
- @Override
- protected List<String> getNonExpectedFiles() {
- return Arrays.asList(
- DEFAULT_OBJECTS_XML,
- PORTLET_INSTANCES_XML,
- JBOSS_APP_XML,
- JBOSS_PORTLET_XML);
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentGateinTemplate.java (from rev 39619, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentRuntime5xTemplate.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentGateinTemplate.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentGateinTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,37 @@
+package org.jboss.tools.portlet.ui.bot.test.template;
+
+import static org.jboss.tools.portlet.ui.bot.matcher.WorkspaceAssert.assertThatInWorkspace;
+
+import org.jboss.tools.portlet.ui.bot.matcher.console.ConsoleOutputMatcher;
+import org.jboss.tools.portlet.ui.bot.task.console.ConsoleClearingTask;
+import org.jboss.tools.portlet.ui.bot.task.editor.CloseAllEditors;
+import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
+import org.jboss.tools.portlet.ui.bot.test.testcase.SWTTaskBasedTestCase;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.junit.Test;
+
+/**
+ * Creates a new portlet and checks if the project is hot deployed (undeployed and deployed).
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="5.0", operator=">", state=ServerState.Present))
+public abstract class HotDeploymentGateinTemplate extends SWTTaskBasedTestCase {
+
+ protected abstract String getProjectName();
+
+ protected abstract AbstractPortletCreationTask createPortlet();
+
+ @Test
+ public void hotDeployment(){
+ doPerform(new CloseAllEditors());
+ doPerform(new ConsoleClearingTask());
+ doPerform(createPortlet());
+
+ assertThatInWorkspace("undeploy, ctxPath=/" + getProjectName(), new ConsoleOutputMatcher());
+ assertThatInWorkspace("deploy, ctxPath=/" + getProjectName(), new ConsoleOutputMatcher());
+ }
+}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentRuntime5xTemplate.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentRuntime5xTemplate.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/HotDeploymentRuntime5xTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,37 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.template;
-
-import static org.jboss.tools.portlet.ui.bot.matcher.WorkspaceAssert.assertThatInWorkspace;
-
-import org.jboss.tools.portlet.ui.bot.matcher.console.ConsoleOutputMatcher;
-import org.jboss.tools.portlet.ui.bot.task.console.ConsoleClearingTask;
-import org.jboss.tools.portlet.ui.bot.task.editor.CloseAllEditors;
-import org.jboss.tools.portlet.ui.bot.task.wizard.web.jboss.AbstractPortletCreationTask;
-import org.jboss.tools.portlet.ui.bot.test.testcase.SWTTaskBasedTestCase;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-import org.junit.Test;
-
-/**
- * Creates a new portlet and checks if the project is hot deployed (undeployed and deployed).
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="5.0", operator=">", state=ServerState.Present))
-public abstract class HotDeploymentRuntime5xTemplate extends SWTTaskBasedTestCase {
-
- protected abstract String getProjectName();
-
- protected abstract AbstractPortletCreationTask createPortlet();
-
- @Test
- public void hotDeployment(){
- doPerform(new CloseAllEditors());
- doPerform(new ConsoleClearingTask());
- doPerform(createPortlet());
-
- assertThatInWorkspace("undeploy, ctxPath=/" + getProjectName(), new ConsoleOutputMatcher());
- assertThatInWorkspace("deploy, ctxPath=/" + getProjectName(), new ConsoleOutputMatcher());
- }
-}
Deleted: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowser4xRuntimeTemplate.java
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowser4xRuntimeTemplate.java 2012-03-19 15:57:17 UTC (rev 39624)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowser4xRuntimeTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -1,27 +0,0 @@
-package org.jboss.tools.portlet.ui.bot.test.template;
-
-import static org.jboss.tools.portlet.ui.bot.matcher.factory.PortletMatchersFactory.canLoadAt4xRuntime;
-
-import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
-import org.jboss.tools.portlet.ui.bot.test.testcase.SWTTaskBasedTestCase;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
-import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
-import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
-import org.junit.Test;
-
-/**
- * Tests that the portlet can be loaded in browser.
- *
- * @author Lucia Jelinkova
- *
- */
-@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="4.3", state=ServerState.Present))
-public abstract class LoadPortletInBrowser4xRuntimeTemplate extends SWTTaskBasedTestCase {
-
- protected abstract PortletDefinition getPortletDefinition();
-
- @Test
- public void testLoadPortlet(){
- doAssertThatInWorkspace(getPortletDefinition(), canLoadAt4xRuntime());
- }
-}
Copied: trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowserJBPortalTemplate.java (from rev 38107, trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowser4xRuntimeTemplate.java)
===================================================================
--- trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowserJBPortalTemplate.java (rev 0)
+++ trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/template/LoadPortletInBrowserJBPortalTemplate.java 2012-03-19 15:58:51 UTC (rev 39625)
@@ -0,0 +1,27 @@
+package org.jboss.tools.portlet.ui.bot.test.template;
+
+import static org.jboss.tools.portlet.ui.bot.matcher.factory.PortletMatchersFactory.canLoadAt4xRuntime;
+
+import org.jboss.tools.portlet.ui.bot.entity.PortletDefinition;
+import org.jboss.tools.portlet.ui.bot.test.testcase.SWTTaskBasedTestCase;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.junit.Test;
+
+/**
+ * Tests that the portlet can be loaded in browser.
+ *
+ * @author Lucia Jelinkova
+ *
+ */
+@Require(clearWorkspace=false, clearProjects=false, server=@Server(version="4.3", state=ServerState.Present))
+public abstract class LoadPortletInBrowserJBPortalTemplate extends SWTTaskBasedTestCase {
+
+ protected abstract PortletDefinition getPortletDefinition();
+
+ @Test
+ public void testLoadPortlet(){
+ doAssertThatInWorkspace(getPortletDefinition(), canLoadAt4xRuntime());
+ }
+}
12 years, 6 months
JBoss Tools SVN: r39624 - trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/configuration.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 11:57:17 -0400 (Mon, 19 Mar 2012)
New Revision: 39624
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/configuration/CreateConfigurationFileTest.java
Log:
Minor modification in Hibernate Create Configuration test for api change in common
Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/configuration/CreateConfigurationFileTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/configuration/CreateConfigurationFileTest.java 2012-03-19 15:56:13 UTC (rev 39623)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/configuration/CreateConfigurationFileTest.java 2012-03-19 15:57:17 UTC (rev 39624)
@@ -24,7 +24,7 @@
}
private void createHBConfiguration() {
- ConfigurationFile.create(new String[]{"hibernate35", "cfg"}, "hibernate.cfg.xml");
+ ConfigurationFile.create(new String[]{"hibernate35", "cfg"}, "hibernate.cfg.xml",false);
}
private void openHBConfiguration() {
12 years, 6 months
JBoss Tools SVN: r39623 - in trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test: src/org/jboss/tools/hb/ui/bot/suite and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 11:56:13 -0400 (Mon, 19 Mar 2012)
New Revision: 39623
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingFile.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingFileSuite.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/CreateMappingFileTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/EditMappingFileTest.java
Log:
Mapping file ui bot tests added into hibernate tests
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingFile.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingFile.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingFile.launch 2012-03-19 15:56:13 UTC (rev 39623)
@@ -0,0 +1,43 @@
+<?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.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingFileSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<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.hb.ui.bot.suite.MappingFileSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.hibernate.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="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=256M -Dusage_reporting_enabled=false -Dtest.configurations.dir=/home/jpeterka/etc/hb"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="com.jboss.jbds.product.product"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/MappingFile.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingFileSuite.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingFileSuite.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingFileSuite.java 2012-03-19 15:56:13 UTC (rev 39623)
@@ -0,0 +1,13 @@
+package org.jboss.tools.hb.ui.bot.suite;
+
+import org.jboss.tools.hb.ui.bot.test.mappingfile.EditMappingFileTest;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(RequirementAwareSuite.class)
+//(a)SuiteClasses({CreateMappingFileTest.class})
+(a)SuiteClasses({EditMappingFileTest.class})
+public class MappingFileSuite {
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/MappingFileSuite.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/CreateMappingFileTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/CreateMappingFileTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/CreateMappingFileTest.java 2012-03-19 15:56:13 UTC (rev 39623)
@@ -0,0 +1,51 @@
+package org.jboss.tools.hb.ui.bot.test.mappingfile;
+
+import static org.eclipse.swtbot.swt.finder.waits.Conditions.shellIsActive;
+import static org.eclipse.swtbot.swt.finder.waits.Conditions.widgetIsEnabled;
+
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.jboss.tools.hb.ui.bot.common.Tree;
+import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.types.EntityType;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.junit.Test;
+
+/**
+ * Hibernate create mapping files ui bot test
+ *
+ * @author jpeterka
+ *
+ */
+@Require(clearProjects = false)
+public class CreateMappingFileTest extends HibernateBaseTest {
+
+ final String prj = "hibernate35";
+ final String pkg = "org.mapping";
+
+ @Test
+ public void createMappingFileTest() {
+ importTestProject("/resources/prj/hibernate35");
+ createMappingFilesFromPackage();
+ }
+
+ private void createMappingFilesFromPackage() {
+ // Select Both classes
+ SWTBotView pe = open.viewOpen(ActionItem.View.GeneralProjectExplorer.LABEL);
+ Tree.select(pe.bot(), prj,"src",pkg);
+
+ // Create mapping files
+ eclipse.createNew(EntityType.HIBERNATE_MAPPING_FILE);
+
+ bot.waitUntil(shellIsActive("New Hibernate XML Mapping files (hbm.xml)"));
+ SWTBotShell shell = bot.shell("New Hibernate XML Mapping files (hbm.xml)");
+ shell.setFocus();
+
+ bot.waitUntil(widgetIsEnabled(bot.button("Next >")));
+ bot.button(IDELabel.Button.NEXT).click();
+ bot.waitUntil(widgetIsEnabled(bot.button("Finish")));
+ bot.button(IDELabel.Button.FINISH).click();
+ }
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/CreateMappingFileTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/EditMappingFileTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/EditMappingFileTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/EditMappingFileTest.java 2012-03-19 15:56:13 UTC (rev 39623)
@@ -0,0 +1,62 @@
+package org.jboss.tools.hb.ui.bot.test.mappingfile;
+
+import java.util.List;
+
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
+import org.jboss.tools.hb.ui.bot.common.Tree;
+import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.parts.ObjectMultiPageEditorBot;
+import org.jboss.tools.ui.bot.ext.parts.SWTBotEditorExt;
+import org.junit.Test;
+
+/**
+ * Hibernate perspective ui bot test
+ *
+ * @author jpeterka
+ *
+ */
+@Require(clearProjects = false)
+public class EditMappingFileTest extends HibernateBaseTest {
+
+ final String prj = "hibernate35";
+ final String pkg = "org.mapping.edit";
+ final String file1 = "Customer.hbm.xml";
+
+ @Test
+ public void editMappingFile() {
+ importTestProject("/resources/prj/hibernate35");
+ editFile();
+ }
+
+ private void editFile() {
+ SWTBotView view = open.viewOpen(ActionItem.View.GeneralProjectExplorer.LABEL);
+ Tree.open(view.bot(), prj, "src", pkg, file1 );
+
+ ObjectMultiPageEditorBot pageBot = new ObjectMultiPageEditorBot(file1);
+ pageBot.selectPage("Source");
+ SWTBotEditorExt editor = bot.swtBotEditorExtByTitle(file1);
+
+ String search = "</id>";
+ List<String> lines = editor.getLines();
+
+ int index = 0;
+ for (String line : lines ) {
+ index++;
+ if (line.trim().equals(search)) break;
+ }
+
+ log.info("Line index: " + index);
+
+ // Insert tag for cc check
+ String newLine = "<property name=\"\"> ";
+ int col = newLine.indexOf("\"\"");
+ editor.selectRange(index, 0, 0);
+ editor.insertText("\n");
+ editor.insertText(newLine);
+ editor.selectRange(index, col + 1, 0);
+
+ editor.save();
+ }
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/mappingfile/EditMappingFileTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 6 months
JBoss Tools SVN: r39622 - in trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test: src/org/jboss/tools/hb/ui/bot/suite and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 11:55:11 -0400 (Mon, 19 Mar 2012)
New Revision: 39622
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/JPA.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/JPASuite.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/CreateJPAProjectTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/EditPersistenceXMLTest.java
Log:
JPA create/edit ui bot tests added into hibernate ui.bot tests
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/JPA.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/JPA.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/JPA.launch 2012-03-19 15:55:11 UTC (rev 39622)
@@ -0,0 +1,43 @@
+<?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.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/JPASuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<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.hb.ui.bot.suite.JPASuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.hibernate.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="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=256M -Dusage_reporting_enabled=false -Dtest.configurations.dir=/home/jpeterka/etc/hb"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="com.jboss.jbds.product.product"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/JPA.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/JPASuite.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/JPASuite.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/JPASuite.java 2012-03-19 15:55:11 UTC (rev 39622)
@@ -0,0 +1,13 @@
+package org.jboss.tools.hb.ui.bot.suite;
+
+import org.jboss.tools.hb.ui.bot.test.jpa.EditPersistenceXMLTest;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(RequirementAwareSuite.class)
+//(a)SuiteClasses({CreateJPAProjectTest.class})
+(a)SuiteClasses({EditPersistenceXMLTest.class})
+public class JPASuite {
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/JPASuite.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/CreateJPAProjectTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/CreateJPAProjectTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/CreateJPAProjectTest.java 2012-03-19 15:55:11 UTC (rev 39622)
@@ -0,0 +1,49 @@
+package org.jboss.tools.hb.ui.bot.test.jpa;
+
+import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.types.EntityType;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.junit.Test;
+import org.osgi.framework.Version;
+
+/**
+ * Create JPA Project ui bot test
+ *
+ * @author jpeterka
+ *
+ */
+@Require(clearProjects = false, perspective="JPA")
+public class CreateJPAProjectTest extends HibernateBaseTest {
+
+ final String prj = "jpa35test";
+
+ @Test
+ public void createJPAProject() {
+ createProject();
+ }
+
+ private void createProject() {
+ EntityType type = EntityType.JPA_PROJECT;
+ eclipse.createNew(type);
+
+ // JPA Project Page
+ eclipse.waitForShell("New JPA Project");
+ bot.textWithLabel("Project name:").setText(prj);
+ bot.button(IDELabel.Button.NEXT).click();
+ // Java Page
+ bot.button(IDELabel.Button.NEXT).click();
+ // JPA Facet Page
+ Version version = jbt.getJBTVersion();
+ if ((version.getMajor() == 3) && (version.getMinor() == 1))
+ bot.comboBoxInGroup("Platform").setSelection("Hibernate");
+ else
+ bot.comboBoxInGroup("Platform").setSelection("Hibernate (JPA 2.x)");
+ bot.comboBoxInGroup("JPA implementation").setSelection("Disable Library Configuration");
+
+ // Finish
+ bot.button(IDELabel.Button.FINISH).click();
+ eclipse.waitForClosedShell(bot.shell("New JPA Project"));
+ util.waitForNonIgnoredJobs();
+ }
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/CreateJPAProjectTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/EditPersistenceXMLTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/EditPersistenceXMLTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/EditPersistenceXMLTest.java 2012-03-19 15:55:11 UTC (rev 39622)
@@ -0,0 +1,88 @@
+package org.jboss.tools.hb.ui.bot.test.jpa;
+
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotMultiPageEditor;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
+import org.jboss.tools.hb.ui.bot.common.Tree;
+import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.TestConfigurator;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.helper.DatabaseHelper;
+import org.jboss.tools.ui.bot.ext.helper.StringHelper;
+import org.jboss.tools.ui.bot.ext.parts.ContentAssistBot;
+import org.jboss.tools.ui.bot.ext.parts.SWTBotEditorExt;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.junit.Test;
+
+/**
+ * Create JPA Project ui bot test
+ *
+ * @author jpeterka
+ *
+ */
+@Require(clearProjects = false, perspective="JPA")
+public class EditPersistenceXMLTest extends HibernateBaseTest {
+
+ final String prj = "jpatest35";
+
+ @Test
+ public void createJPAProject() {
+ importTestProject("/resources/prj/" + prj);
+ openPersistenceXML();
+ editPersistenceHibernatePageXML();
+ checkCAInConfigurationEditorXML();
+ }
+
+ private void openPersistenceXML() {
+ SWTBotView pe = open.viewOpen(ActionItem.View.GeneralProjectExplorer.LABEL);
+ Tree.open(pe.bot(), prj,"JPA Content","persistence.xml");
+ }
+
+ private void editPersistenceHibernatePageXML() {
+ SWTBotEditor editor = bot.editorByTitle("persistence.xml");
+ editor.show();
+ SWTBotMultiPageEditor mpe = new SWTBotMultiPageEditor(editor.getReference(), bot);
+ mpe.activatePage("Hibernate");
+
+ // Fill in
+ String dialect = DatabaseHelper.getDialect(TestConfigurator.currentConfig.getDB().dbType);
+ bot.comboBoxWithLabel(IDELabel.HBConsoleWizard.DATABASE_DIALECT).setSelection(dialect);
+ String drvClass = DatabaseHelper.getDriverClass(TestConfigurator.currentConfig.getDB().dbType);
+ bot.comboBoxWithLabel(IDELabel.HBConsoleWizard.DRIVER_CLASS).setSelection(drvClass);
+ String jdbc = TestConfigurator.currentConfig.getDB().jdbcString;
+ bot.comboBoxWithLabel(IDELabel.HBConsoleWizard.CONNECTION_URL).setText(jdbc);
+ bot.textWithLabel("Username:").setText("sa");
+
+ editor.save();
+ mpe.activatePage("Source");
+
+ // Check xml content
+ String text = mpe.toTextEditor().getText();
+ StringHelper helper = new StringHelper(text);
+ String str = "<property name=\"hibernate.dialect\" value=\"org.hibernate.dialect.HSQLDialect\"/>";
+ helper.getPositionBefore(str);
+ str = "<property name=\"hibernate.connection.driver_class\" value=\"org.hsqldb.jdbcDriver\"/>";
+ helper.getPositionBefore(str);
+ }
+
+ private void checkCAInConfigurationEditorXML() {
+ SWTBotEditor editor = bot.editorByTitle("persistence.xml");
+ editor.show();
+ SWTBotMultiPageEditor mpe = new SWTBotMultiPageEditor(editor.getReference(), bot);
+ mpe.activatePage("Source");
+
+ // Code completion
+ String text = mpe.toTextEditor().getText();
+ StringHelper helper = new StringHelper(text);
+ Point p = helper.getPositionBefore("</persistence-unit>");
+ editor.toTextEditor().selectRange(p.y, p.x, 0);
+ editor.save();
+ SWTBotEditorExt editorExt = new SWTBotEditorExt(editor.getReference(), bot);
+ ContentAssistBot ca = new ContentAssistBot(editorExt);
+ ca.useProposal("class");
+
+ editor.save();
+ }
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/jpa/EditPersistenceXMLTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 6 months
JBoss Tools SVN: r39621 - in trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test: src/org/jboss/tools/hb/ui/bot/suite and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 11:54:13 -0400 (Mon, 19 Mar 2012)
New Revision: 39621
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/ConsoleConfiguration.launch
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/ConsoleConfigurationSuite.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/CreateConsoleConfigurationTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/EditConsoleConfigurationTest.java
Log:
Console configuration ui bot tests added
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/ConsoleConfiguration.launch
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/ConsoleConfiguration.launch (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/ConsoleConfiguration.launch 2012-03-19 15:54:13 UTC (rev 39621)
@@ -0,0 +1,43 @@
+<?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.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/ConsoleConfigurationSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="DISPLAY" value=":1"/>
+</mapAttribute>
+<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.hb.ui.bot.suite.ConsoleConfigurationSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.jboss.tools.hibernate.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="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=256M -Dusage_reporting_enabled=false -Dtest.configurations.dir=/home/jpeterka/etc/hb"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="com.jboss.jbds.product.product"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/launcher/ConsoleConfiguration.launch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/ConsoleConfigurationSuite.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/ConsoleConfigurationSuite.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/ConsoleConfigurationSuite.java 2012-03-19 15:54:13 UTC (rev 39621)
@@ -0,0 +1,12 @@
+package org.jboss.tools.hb.ui.bot.suite;
+
+import org.jboss.tools.hb.ui.bot.test.console.CreateConsoleConfigurationTest;
+import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+(a)RunWith(RequirementAwareSuite.class)
+(a)SuiteClasses({CreateConsoleConfigurationTest.class})
+public class ConsoleConfigurationSuite {
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/suite/ConsoleConfigurationSuite.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/CreateConsoleConfigurationTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/CreateConsoleConfigurationTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/CreateConsoleConfigurationTest.java 2012-03-19 15:54:13 UTC (rev 39621)
@@ -0,0 +1,130 @@
+package org.jboss.tools.hb.ui.bot.test.console;
+
+import static org.eclipse.swtbot.swt.finder.waits.Conditions.shellCloses;
+
+import java.util.List;
+
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.jboss.tools.hb.ui.bot.common.ConfigurationFile;
+import org.jboss.tools.hb.ui.bot.common.Tree;
+import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.TestConfigurator;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.jboss.tools.ui.bot.ext.helper.DatabaseHelper;
+import org.jboss.tools.ui.bot.ext.types.EntityType;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
+import org.junit.Test;
+
+/**
+ * Create Hibernate Console UI Bot Test
+ * @author jpeterka
+ *
+ */
+@Require(clearProjects = true)
+public class CreateConsoleConfigurationTest extends HibernateBaseTest {
+
+ final String prjName = "configurationtest";
+
+ @Test
+ public void createConsoleConfigurationTest() {
+ emptyErrorLog();
+ importTestProject("/resources/prj/" + prjName);
+ createConfigurationFile();
+ createHibernateConsole();
+ checkErrorLog();
+ }
+
+ private void createConfigurationFile() {
+ ConfigurationFile.create(new String[]{prjName,"src"},"hibernate.cfg.xml",false);
+ }
+
+ private void createHibernateConsole() {
+ open.viewOpen(ActionItem.View.GeneralProjectExplorer.LABEL);
+ eclipse.createNew(EntityType.HIBERNATE_CONSOLE);
+
+ // Hibernate Console Dialog has no title
+ SWTBotShell shell = bot.waitForShell("");
+
+ createMainTab(shell);
+ createOptionTab(shell);
+ createClasspathTab(shell);
+ createMappingsTab(shell);
+ createCommonTab(shell);
+
+ bot.button(IDELabel.Button.FINISH).click();
+ bot.waitUntil(shellCloses(shell));
+ util.waitForNonIgnoredJobs();
+
+ expandDatabaseInConsole();
+ }
+
+ private void createMainTab(SWTBotShell shell) {
+ bot.cTabItem(IDELabel.HBConsoleWizard.MAIN_TAB).activate();
+ bot.textWithLabel("Name:").setText(prjName + "-w");
+ bot.textWithLabelInGroup("","Configuration file:").setText(prjName + "/src/hibernate.cfg.xml");
+ }
+
+ private void createOptionTab(SWTBotShell shell) {
+ shell.setFocus();
+ bot.cTabItem(IDELabel.HBConsoleWizard.OPTIONS_TAB).activate();
+
+ String dialect = DatabaseHelper.getDialect(TestConfigurator.currentConfig.getDB().dbType);
+ bot.comboBoxWithLabelInGroup("", IDELabel.HBConsoleWizard.DATABASE_DIALECT).setSelection(dialect);
+ }
+
+ private void createClasspathTab(SWTBotShell shell) {
+ shell.activate();
+ bot.cTabItem(IDELabel.HBConsoleWizard.CLASSPATH_TAB).activate();
+ }
+
+ private void createMappingsTab(SWTBotShell shell) {
+ shell.activate();
+ bot.cTabItem(IDELabel.HBConsoleWizard.MAPPINGS_TAB).activate();
+ }
+
+ private void createCommonTab(SWTBotShell shell) {
+ shell.activate();
+ bot.cTabItem(IDELabel.HBConsoleWizard.COMMON_TAB).activate();
+ }
+
+ private void expandDatabaseInConsole() {
+ SWTBot viewBot = open.viewOpen(ActionItem.View.HibernateHibernateConfigurations.LABEL).bot();
+ SWTBotTreeItem db = Tree.select(viewBot, prjName,"Database");
+ db.expand();
+
+ // expand PUBLIC node or whatever
+ SWTBotTreeItem pub = db.getItems()[0];
+ final int limit = 10; // 10s
+ final int sleep = 1000;
+ int counter = 0;
+
+ while(counter < limit) {
+ if (pub.widget.isDisposed()) {
+ pub = db.getItems()[0];
+ bot.sleep(sleep);
+ }
+ if (pub.getText().equals("<Reading schema error: Getting database metadata >")) {
+ fail("Can't load data, DB not accessible");
+ }
+ if (pub.getText().equals("Pending...") && counter < limit) {
+ bot.sleep(sleep);
+ counter++;
+ log.info("Waiting for database loading...");
+ }
+ else
+ {
+ log.info("DB loaded");
+ break;
+ }
+ }
+
+ List<String> tables = Tree.getSubNodes(viewBot, pub);
+ assertTrue("Table must contain tables", tables.size()> 0);
+ for (String s : tables) {
+ log.info("Table:" + s);
+ }
+ }
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/CreateConsoleConfigurationTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/EditConsoleConfigurationTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/EditConsoleConfigurationTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/EditConsoleConfigurationTest.java 2012-03-19 15:54:13 UTC (rev 39621)
@@ -0,0 +1,5 @@
+package org.jboss.tools.hb.ui.bot.test.console;
+
+public class EditConsoleConfigurationTest {
+
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/EditConsoleConfigurationTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 6 months
JBoss Tools SVN: r39620 - trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-03-19 11:51:20 -0400 (Mon, 19 Mar 2012)
New Revision: 39620
Added:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/JPAPerspectiveTest.java
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/PerspectiveTest.java
Log:
JPA perspective test added, HB perspective test updated in hibernate ui bot test
Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/JPAPerspectiveTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/JPAPerspectiveTest.java (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/JPAPerspectiveTest.java 2012-03-19 15:51:20 UTC (rev 39620)
@@ -0,0 +1,24 @@
+package org.jboss.tools.hb.ui.bot.test.perspective;
+
+import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.gen.ActionItem;
+import org.junit.Test;
+
+/**
+ * Hibernate perspective ui bot test
+ *
+ * @author jpeterka
+ *
+ */
+@Require(clearProjects = false, perspective = "JPA")
+public class JPAPerspectiveTest extends HibernateBaseTest {
+
+ @Test
+ public void openPerspectiveElements() {
+ open.perspective(ActionItem.Perspective.JPA.LABEL);
+ open.viewOpen(ActionItem.View.JPAJPAStructure.LABEL);
+ open.viewOpen(ActionItem.View.JPAJPADetails.LABEL);
+ open.viewOpen(ActionItem.View.DataManagementDataSourceExplorer.LABEL);
+ }
+}
Property changes on: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/JPAPerspectiveTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/PerspectiveTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/PerspectiveTest.java 2012-03-19 15:44:06 UTC (rev 39619)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/perspective/PerspectiveTest.java 2012-03-19 15:51:20 UTC (rev 39620)
@@ -3,7 +3,6 @@
import org.jboss.tools.hb.ui.bot.test.HibernateBaseTest;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.gen.ActionItem;
-import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.junit.Test;
/**
@@ -17,8 +16,6 @@
@Test
public void openPerspectiveElements() {
- eclipse.closeView(IDELabel.View.WELCOME);
-
open.perspective(ActionItem.Perspective.HIBERNATE.LABEL);
open.viewOpen(ActionItem.View.HibernateHibernateConfigurations.LABEL);
open.viewOpen(ActionItem.View.HibernateHibernateDynamicSQLPreview.LABEL);
12 years, 6 months