Author: dgolovin
Date: 2011-09-30 07:38:01 -0400 (Fri, 30 Sep 2011)
New Revision: 35211
Modified:
trunk/common/tests/org.jboss.tools.common.el.core.test/pom.xml
trunk/common/tests/org.jboss.tools.common.model.test/pom.xml
trunk/common/tests/org.jboss.tools.common.model.ui.test/pom.xml
trunk/common/tests/org.jboss.tools.common.test/pom.xml
trunk/common/tests/org.jboss.tools.common.validation.test/pom.xml
trunk/common/tests/org.jboss.tools.common.verification.test/pom.xml
trunk/common/tests/org.jboss.tools.common.verification.ui.test/pom.xml
trunk/common/tests/pom.xml
Log:
fix for test coverage report:
every test calculates coverage for all plugins from component
filter parameter moved to tests/pom.xml
Modified: trunk/common/tests/org.jboss.tools.common.el.core.test/pom.xml
===================================================================
--- trunk/common/tests/org.jboss.tools.common.el.core.test/pom.xml 2011-09-30 11:35:33 UTC
(rev 35210)
+++ trunk/common/tests/org.jboss.tools.common.el.core.test/pom.xml 2011-09-30 11:38:01 UTC
(rev 35211)
@@ -11,7 +11,6 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <emma.filter>org.jboss.tools.common.el.core*,org.jboss.tools.common.el.internal.core*</emma.filter>
- <emma.instrument.bundles>org.jboss.tools.common.el.core</emma.instrument.bundles>
+ <emma.instrument.bundles>org.jboss.tools.common.resref.core,org.jboss.tools.common.el.core</emma.instrument.bundles>
</properties>
</project>
Modified: trunk/common/tests/org.jboss.tools.common.model.test/pom.xml
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.test/pom.xml 2011-09-30 11:35:33 UTC
(rev 35210)
+++ trunk/common/tests/org.jboss.tools.common.model.test/pom.xml 2011-09-30 11:38:01 UTC
(rev 35211)
@@ -12,7 +12,6 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <emma.filter>org.jboss.tools.common*</emma.filter>
- <emma.instrument.bundles>org.jboss.tools.common.model</emma.instrument.bundles>
+ <emma.instrument.bundles>org.jboss.tools.common,org.jboss.tools.common.model</emma.instrument.bundles>
</properties>
</project>
Modified: trunk/common/tests/org.jboss.tools.common.model.ui.test/pom.xml
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.ui.test/pom.xml 2011-09-30 11:35:33
UTC (rev 35210)
+++ trunk/common/tests/org.jboss.tools.common.model.ui.test/pom.xml 2011-09-30 11:38:01
UTC (rev 35211)
@@ -12,7 +12,6 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <emma.filter>org.jboss.tools.common*</emma.filter>
- <emma.instrument.bundles>org.jboss.tools.common.model.ui</emma.instrument.bundles>
+ <emma.instrument.bundles>org.jboss.tools.common.model,org.jboss.tools.common.model.ui,org.jboss.tools.common.text.ext,org.jboss.tools.common.text.xml</emma.instrument.bundles>
</properties>
</project>
Modified: trunk/common/tests/org.jboss.tools.common.test/pom.xml
===================================================================
--- trunk/common/tests/org.jboss.tools.common.test/pom.xml 2011-09-30 11:35:33 UTC (rev
35210)
+++ trunk/common/tests/org.jboss.tools.common.test/pom.xml 2011-09-30 11:38:01 UTC (rev
35211)
@@ -11,7 +11,6 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <emma.filter>org.jboss.tools.common*</emma.filter>
<emma.instrument.bundles>org.jboss.tools.common</emma.instrument.bundles>
</properties>
</project>
Modified: trunk/common/tests/org.jboss.tools.common.validation.test/pom.xml
===================================================================
--- trunk/common/tests/org.jboss.tools.common.validation.test/pom.xml 2011-09-30 11:35:33
UTC (rev 35210)
+++ trunk/common/tests/org.jboss.tools.common.validation.test/pom.xml 2011-09-30 11:38:01
UTC (rev 35211)
@@ -10,7 +10,9 @@
<artifactId>org.jboss.tools.common.validation.test</artifactId>
<packaging>eclipse-test-plugin</packaging>
-
+ <properties>
+ <emma.instrument.bundles>org.jboss.tools.common,org.jboss.tools.common.el.core,org.jboss.tools.common.validation</emma.instrument.bundles>
+ </properties>
<build>
<plugins>
<plugin>
Modified: trunk/common/tests/org.jboss.tools.common.verification.test/pom.xml
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.test/pom.xml 2011-09-30
11:35:33 UTC (rev 35210)
+++ trunk/common/tests/org.jboss.tools.common.verification.test/pom.xml 2011-09-30
11:38:01 UTC (rev 35211)
@@ -11,7 +11,6 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
- <emma.filter>org.jboss.tools.common.verification*</emma.filter>
- <emma.instrument.bundles>org.jboss.tools.common.verification</emma.instrument.bundles>
+ <emma.instrument.bundles>org.jboss.tools.common,org.jboss.tools.common.model,org.jboss.tools.common.verification</emma.instrument.bundles>
</properties>
</project>
Modified: trunk/common/tests/org.jboss.tools.common.verification.ui.test/pom.xml
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/pom.xml 2011-09-30
11:35:33 UTC (rev 35210)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/pom.xml 2011-09-30
11:38:01 UTC (rev 35211)
@@ -12,6 +12,6 @@
<packaging>eclipse-test-plugin</packaging>
<properties>
<emma.filter>org.jboss.tools.common.verification.ui*</emma.filter>
- <emma.instrument.bundles>org.jboss.tools.common.verification.ui</emma.instrument.bundles>
+ <emma.instrument.bundles>org.jboss.tools.common,org.jboss.tools.common.model,org.jboss.tools.common.verification,org.jboss.tools.common.verification.ui</emma.instrument.bundles>
</properties>
</project>
Modified: trunk/common/tests/pom.xml
===================================================================
--- trunk/common/tests/pom.xml 2011-09-30 11:35:33 UTC (rev 35210)
+++ trunk/common/tests/pom.xml 2011-09-30 11:38:01 UTC (rev 35211)
@@ -10,14 +10,53 @@
<version>3.3.0-SNAPSHOT</version>
</parent>
<packaging>pom</packaging>
- <modules>
- <module>org.jboss.tools.common.el.core.test</module>
- <module>org.jboss.tools.common.model.test</module>
- <module>org.jboss.tools.common.model.ui.test</module>
- <module>org.jboss.tools.common.test</module>
- <module>org.jboss.tools.common.validation.test</module>
- <module>org.jboss.tools.common.verification.test</module>
- <module>org.jboss.tools.common.verification.ui.test</module>
- </modules>
+ <properties>
+ <emma.filter>org.jboss.tools.*</emma.filter>
+ </properties>
+
+ <profiles>
+ <profile>
+ <id>common-tests-libs</id>
+ <activation>
+ <property>
+ <name>coverage</name>
+ </property>
+ </activation>
+ <modules>
+ <module>../../build/libs</module>
+ </modules>
+ </profile>
+
+ <profile>
+ <id>common-tests-deafult</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ <property>
+ <name>coverage</name>
+ </property>
+ </activation>
+ <modules>
+ <module>org.jboss.tools.common.el.core.test</module>
+ <module>org.jboss.tools.common.model.test</module>
+ <module>org.jboss.tools.common.model.ui.test</module>
+ <module>org.jboss.tools.common.test</module>
+ <module>org.jboss.tools.common.validation.test</module>
+ <module>org.jboss.tools.common.verification.test</module>
+ <module>org.jboss.tools.common.verification.ui.test</module>
+ </modules>
+ </profile>
+
+ <profile>
+ <id>common-tests-coverage-report</id>
+ <activation>
+ <property>
+ <name>coverage</name>
+ </property>
+ </activation>
+ <modules>
+ <module>../../build/reports/emma-coverage</module>
+ </modules>
+ </profile>
+ </profiles>
</project>
Show replies by thread