[jbosstools-commits] JBoss Tools SVN: r43064 - in trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test: configuration and 1 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Aug 16 03:28:24 EDT 2012


Author: jpeterka
Date: 2012-08-16 03:28:24 -0400 (Thu, 16 Aug 2012)
New Revision: 43064

Modified:
   trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/completion/AnnotationCodeCompletionTest.java
   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/generation/RunSchemaExportTest.java
Log:
Hibernate ui bot test methods name refactoring and javadoc added

Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/completion/AnnotationCodeCompletionTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/completion/AnnotationCodeCompletionTest.java	2012-08-16 04:30:54 UTC (rev 43063)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/completion/AnnotationCodeCompletionTest.java	2012-08-16 07:28:24 UTC (rev 43064)
@@ -1,12 +1,7 @@
 package org.jboss.tools.hb.ui.bot.test.completion;
 
-import java.util.List;
-
 import org.eclipse.swt.graphics.Point;
-import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEclipseEditor;
-import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
 import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
-import org.jboss.tools.hb.ui.bot.common.JPAEntity;
 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.DB;
@@ -17,7 +12,7 @@
 import org.junit.Test;
 
 /**
- * Create JPA Entity ui bot test
+ * Hibernate annotation test. Annotation code completion functionality is checked in Entity class
  */
 @Require(db = @DB, clearProjects = true)
 public class AnnotationCodeCompletionTest extends HibernateBaseTest {

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-08-16 04:30:54 UTC (rev 43063)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/configuration/CreateConfigurationFileTest.java	2012-08-16 07:28:24 UTC (rev 43064)
@@ -14,6 +14,9 @@
 @Require(clearProjects = true)
 public class CreateConfigurationFileTest extends HibernateBaseTest {
 
+	/**
+	 * Basic Hibernate Configuration is created
+	 */
 	@Test
 	public void configurationFileTest() {
 		emptyErrorLog();

Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/RunSchemaExportTest.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/RunSchemaExportTest.java	2012-08-16 04:30:54 UTC (rev 43063)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/generation/RunSchemaExportTest.java	2012-08-16 07:28:24 UTC (rev 43064)
@@ -27,7 +27,7 @@
 	final String hc = "pre-hibernate40";
 	
 	@Test
-	public void showMappingDiagram() {
+	public void runSchemaExportTest() {
 		importTestProject("/resources/prj/hibernatelib");
 		importTestProject("/resources/prj/hibernate40");
 		util.waitForAll();



More information about the jbosstools-commits mailing list