From a421278320a2b9781cbb04993bbb1f0fe654a15e Mon Sep 17 00:00:00 2001 From: mistria Date: Mon, 7 Nov 2011 16:56:22 +0000 Subject: Added code coverage with Jacoco. --- tests/org.eclipse.gmf.tests.lite/pom.xml | 2 +- .../org.eclipse.gmf.tests.xpand.migration/pom.xml | 2 +- tests/org.eclipse.gmf.tests.xpand/pom.xml | 2 +- tests/org.eclipse.gmf.tests/pom.xml | 2 +- tests/pom.xml | 38 ++++++++++++++++++++++ 5 files changed, 42 insertions(+), 4 deletions(-) diff --git a/tests/org.eclipse.gmf.tests.lite/pom.xml b/tests/org.eclipse.gmf.tests.lite/pom.xml index 31891eca7..41c7d2f11 100644 --- a/tests/org.eclipse.gmf.tests.lite/pom.xml +++ b/tests/org.eclipse.gmf.tests.lite/pom.xml @@ -32,7 +32,7 @@ org.eclipse.gmf.tests org.eclipse.gmf.tests.AllTests - -Xmx512m + ${tycho.testArgLine} -Xmx512m org.eclipse.equinox.ds diff --git a/tests/org.eclipse.gmf.tests.xpand.migration/pom.xml b/tests/org.eclipse.gmf.tests.xpand.migration/pom.xml index a298347b7..697d6059d 100644 --- a/tests/org.eclipse.gmf.tests.xpand.migration/pom.xml +++ b/tests/org.eclipse.gmf.tests.xpand.migration/pom.xml @@ -32,7 +32,7 @@ org.eclipse.gmf.tests org.eclipse.gmf.tests.AllTests - -Xmx512m + ${tycho.testArgLine} -Xmx512m org.eclipse.equinox.ds diff --git a/tests/org.eclipse.gmf.tests.xpand/pom.xml b/tests/org.eclipse.gmf.tests.xpand/pom.xml index 7a7a855cd..d815b336d 100644 --- a/tests/org.eclipse.gmf.tests.xpand/pom.xml +++ b/tests/org.eclipse.gmf.tests.xpand/pom.xml @@ -32,7 +32,7 @@ org.eclipse.gmf.tests org.eclipse.gmf.tests.AllTests - -Xmx512m + ${tycho.testArgLine} -Xmx512m org.eclipse.equinox.ds diff --git a/tests/org.eclipse.gmf.tests/pom.xml b/tests/org.eclipse.gmf.tests/pom.xml index 866358193..cdf0f7bb5 100644 --- a/tests/org.eclipse.gmf.tests/pom.xml +++ b/tests/org.eclipse.gmf.tests/pom.xml @@ -34,7 +34,7 @@ org.eclipse.gmf.tests.AllTests true true - -Xmx512m -XX:MaxPermSize=128m -DbuildingWithTycho=true + ${tycho.testArgLine} -Xmx512m -XX:MaxPermSize=128m -DbuildingWithTycho=true org.eclipse.equinox.ds diff --git a/tests/pom.xml b/tests/pom.xml index 831423c2b..7c892f37f 100755 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -29,5 +29,43 @@ org.eclipse.gmf.tests.xpand org.eclipse.gmf.tests.xpand.migration + + + + jacoco + + true + + + + jacoco + reuseReports + ../target/jacoco.exec + + + + + + org.jacoco + jacoco-maven-plugin + 0.5.3.201107060350 + + + + prepare-agent + + + + ${sonar.jacoco.itReportPath} + *.gmf.* + true + + + + + + + + \ No newline at end of file -- cgit v1.2.3