[jbosstools-commits] JBoss Tools SVN: r35756 - in branches/dead/hibernatetools-multiversion2/tests: org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test and 6 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Oct 18 05:29:11 EDT 2011


Author: dgeraskov
Date: 2011-10-18 05:29:11 -0400 (Tue, 18 Oct 2011)
New Revision: 35756

Modified:
   branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF
   branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java
   branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java
   branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MANIFEST.MF
   branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java
   branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HibernateErrorsTest2.java
   branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF
   branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.bot.test/META-INF/MANIFEST.MF
   branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.test/META-INF/MANIFEST.MF
Log:
Fix tests compile errors

Modified: branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF	2011-10-18 09:29:11 UTC (rev 35756)
@@ -58,7 +58,8 @@
  org.eclipse.datatools.connectivity.ui,
  org.eclipse.datatools.connectivity,
  org.eclipse.ui.workbench.texteditor,
- org.eclipse.ui.editors
+ org.eclipse.ui.editors,
+ org.hibernate.eclipse.libs;bundle-version="1.0.0"
 Bundle-ActivationPolicy: lazy
 Bundle-Activator: org.hibernate.eclipse.console.test.HibernateConsoleTestPlugin
 Eclipse-RegisterBuddy: org.hibernate.eclipse

Modified: branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java	2011-10-18 09:29:11 UTC (rev 35756)
@@ -135,6 +135,12 @@
 				return null;
 			}
 
+			@Override
+			public String getHibernateVersion() {
+				//default
+				return null;
+			}
+
 		};
 
 		ConsoleConfigurationPreferences preferences2 = new ConsoleConfigurationPreferences() {
@@ -213,6 +219,12 @@
 				// TODO Auto-generated method stub
 				return null;
 			}
+			
+			@Override
+			public String getHibernateVersion() {
+				//default
+				return null;
+			}
 
 		};
 

Modified: branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/launchcfg/TestConsoleConfigurationPreferences.java	2011-10-18 09:29:11 UTC (rev 35756)
@@ -87,12 +87,14 @@
 		return null;
 	}
 
-	/*
-	 * (non-Javadoc)
-	 * @see org.hibernate.console.preferences.ConsoleConfigurationPreferences#getDialectName()
-	 */
 	public String getDialectName() {
 		return null;
 	}
 
+	@Override
+	public String getHibernateVersion() {
+		//default
+		return null;
+	}
+
 }

Modified: branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MANIFEST.MF
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MANIFEST.MF	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MANIFEST.MF	2011-10-18 09:29:11 UTC (rev 35756)
@@ -12,7 +12,8 @@
  org.eclipse.core.resources,
  org.eclipse.jdt.core,
  org.hibernate.eclipse.jdt.ui,
- org.eclipse.jdt.launching
+ org.eclipse.jdt.launching,
+ org.hibernate.eclipse.libs;bundle-version="1.0.0"
 Bundle-ActivationPolicy: lazy
 Export-Package: org.hibernate.eclipse.jdt.ui.test
 Bundle-Activator: org.hibernate.eclipse.jdt.ui.test.HibernateJDTuiTestPlugin

Modified: branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java	2011-10-18 09:29:11 UTC (rev 35756)
@@ -119,7 +119,7 @@
 		String prjName = getProject().getIProject().getName();
 		
 		EclipseConsoleConfigurationPreferences preferences = new EclipseConsoleConfigurationPreferences(prjName,
-				ConfigurationMode.JPA, prjName, true, null, null, null, new IPath[0], new IPath[0], null, null, null, null);
+				ConfigurationMode.JPA, null, prjName, true, null, null, null, new IPath[0], new IPath[0], null, null, null, null);
 		
 		ccfg = KnownConfigurations.getInstance().addConfiguration(new EclipseConsoleConfiguration(preferences), false);
 		

Modified: branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HibernateErrorsTest2.java
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HibernateErrorsTest2.java	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test/HibernateErrorsTest2.java	2011-10-18 09:29:11 UTC (rev 35756)
@@ -117,7 +117,7 @@
 		String prjName = getProject().getIProject().getName();
 		
 		EclipseConsoleConfigurationPreferences preferences = new EclipseConsoleConfigurationPreferences(prjName,
-				ConfigurationMode.JPA, prjName, true, null, null, null, new IPath[0], new IPath[0], null, null, null, null);
+				ConfigurationMode.JPA, null, prjName, true, null, null, null, new IPath[0], new IPath[0], null, null, null, null);
 		
 		ccfg = KnownConfigurations.getInstance().addConfiguration(new EclipseConsoleConfiguration(preferences), false);
 		

Modified: branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF	2011-10-18 09:29:11 UTC (rev 35756)
@@ -16,7 +16,8 @@
  org.hibernate.eclipse.console.test,
  org.jboss.tools.hibernate.jpt.core,
  org.jboss.tools.tests;bundle-version="2.0.0",
- org.hibernate.eclipse;bundle-version="3.3.0"
+ org.hibernate.eclipse;bundle-version="3.3.0",
+ org.hibernate.eclipse.libs;bundle-version="1.0.0"
 Bundle-ActivationPolicy: lazy
 Export-Package: org.jboss.tools.hibernate.jpt.core.test
 Bundle-Activator: org.jboss.tools.hibernate.jpt.core.test.HibernateJPTuiTestPlugin

Modified: branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.bot.test/META-INF/MANIFEST.MF	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.bot.test/META-INF/MANIFEST.MF	2011-10-18 09:29:11 UTC (rev 35756)
@@ -19,7 +19,8 @@
  org.jboss.tools.common.model.ui;bundle-version="3.1.0",
  org.eclipse.ui.ide;bundle-version="3.5.1",
  org.jboss.tools.common.ui;bundle-version="3.1.0",
- org.eclipse.datatools.connectivity;bundle-version="1.1.2"
+ org.eclipse.datatools.connectivity;bundle-version="1.1.2",
+ org.hibernate.eclipse.libs;bundle-version="1.0.0"
 Bundle-ActivationPolicy: lazy
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Eclipse-RegisterBuddy: org.apache.log4j

Modified: branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.test/META-INF/MANIFEST.MF
===================================================================
--- branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.test/META-INF/MANIFEST.MF	2011-10-18 09:28:41 UTC (rev 35755)
+++ branches/dead/hibernatetools-multiversion2/tests/org.jboss.tools.hibernate.ui.test/META-INF/MANIFEST.MF	2011-10-18 09:29:11 UTC (rev 35756)
@@ -10,7 +10,8 @@
  org.eclipse.ui.ide,
  org.hibernate.eclipse.console.test,
  org.jboss.tools.hibernate.ui,
- org.hibernate.eclipse
+ org.hibernate.eclipse,
+ org.hibernate.eclipse.libs;bundle-version="1.0.0"
 Bundle-ActivationPolicy: lazy
 Export-Package: org.jboss.tools.hibernate.ui.test
 Bundle-Activator: org.jboss.tools.hibernate.ui.test.UiTestPlugin



More information about the jbosstools-commits mailing list