[jbosstools-commits] JBoss Tools SVN: r23138 - in trunk/hibernatetools/tests: org.hibernate.eclipse.jdt.ui.test and 3 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Jun 30 17:18:49 EDT 2010


Author: dgolovin
Date: 2010-06-30 17:18:49 -0400 (Wed, 30 Jun 2010)
New Revision: 23138

Added:
   trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJptCoreTestSuite.java
Modified:
   trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/pom.xml
   trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/pom.xml
   trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties
   trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/pom.xml
   trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/pom.xml
Log:
coverage report  enabled for hibernatetools component


Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/pom.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/pom.xml	2010-06-30 20:55:59 UTC (rev 23137)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/pom.xml	2010-06-30 21:18:49 UTC (rev 23138)
@@ -11,6 +11,12 @@
 	<artifactId>org.hibernate.eclipse.console.test</artifactId> 
 	<version>3.3.0-SNAPSHOT</version>
 	<packaging>eclipse-test-plugin</packaging>
+
+	<properties>
+		<emma.filter>org.hibernate.eclipse*</emma.filter>
+		<emma.instrument.bundles>org.hibernate.eclipse.console</emma.instrument.bundles>
+	</properties>
+
 	<build>
 		<plugins>
 			<plugin>

Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/pom.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/pom.xml	2010-06-30 20:55:59 UTC (rev 23137)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/pom.xml	2010-06-30 21:18:49 UTC (rev 23138)
@@ -11,6 +11,11 @@
 	<artifactId>org.hibernate.eclipse.jdt.ui.test</artifactId> 
 	<version>3.3.0-SNAPSHOT</version>
 	<packaging>eclipse-test-plugin</packaging>
+
+	<properties>
+		<emma.filter>org.hibernate.eclipse.jdt.ui*</emma.filter>
+		<emma.instrument.bundles>org.hibernate.eclipse.jdt.ui</emma.instrument.bundles>
+	</properties>
 	
 	<build>
 		<plugins>

Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties	2010-06-30 20:55:59 UTC (rev 23137)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/build.properties	2010-06-30 21:18:49 UTC (rev 23138)
@@ -1,6 +1,7 @@
 bin.includes = META-INF/,\
                plugin.properties,\
-               .
+               .,\
+               res/
 jars.compile.order = .
 src.includes = src/,\
                build.properties,\

Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/pom.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/pom.xml	2010-06-30 20:55:59 UTC (rev 23137)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/pom.xml	2010-06-30 21:18:49 UTC (rev 23138)
@@ -11,4 +11,23 @@
 	<artifactId>org.jboss.tools.hibernate.jpt.core.test</artifactId> 
 	<version>3.3.0-SNAPSHOT</version>
 	<packaging>eclipse-test-plugin</packaging>
+
+	<properties>
+		<emma.filter>org.jboss.tools.hibernate.jpt.core*</emma.filter>
+		<emma.instrument.bundles>org.jboss.tools.hibernate.jpt.core</emma.instrument.bundles>
+	</properties>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.sonatype.tycho</groupId>
+				<artifactId>maven-osgi-test-plugin</artifactId>
+				<configuration>
+					<explodedBundles>
+						<bundle>org.jboss.tools.hibernate.jpt.core.test</bundle>
+					</explodedBundles>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
 </project>

Added: trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJptCoreTestSuite.java
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJptCoreTestSuite.java	                        (rev 0)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.jpt.core.test/src/org/jboss/tools/hibernate/jpt/core/test/HibernateJptCoreTestSuite.java	2010-06-30 21:18:49 UTC (rev 23138)
@@ -0,0 +1,15 @@
+package org.jboss.tools.hibernate.jpt.core.test;
+
+import junit.framework.JUnit4TestAdapter;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class HibernateJptCoreTestSuite {
+	public static Test suite() {
+		TestSuite suite = new TestSuite();
+		suite.addTest(new JUnit4TestAdapter(HibernateJpaModelTests.class));
+		suite.addTest(new JUnit4TestAdapter(HibernateJpaOrmModelTests.class));
+		
+		return suite;
+	}
+}

Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/pom.xml
===================================================================
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/pom.xml	2010-06-30 20:55:59 UTC (rev 23137)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/pom.xml	2010-06-30 21:18:49 UTC (rev 23138)
@@ -11,4 +11,10 @@
 	<artifactId>org.jboss.tools.hibernate.ui.test</artifactId> 
 	<version>3.3.0-SNAPSHOT</version>
 	<packaging>eclipse-test-plugin</packaging>
+	
+	<properties>
+		<emma.filter>org.jboss.tools.hibernate.ui*</emma.filter>
+		<emma.instrument.bundles>org.jboss.tools.hibernate.ui</emma.instrument.bundles>
+	</properties>
+
 </project>



More information about the jbosstools-commits mailing list