From 8c18eaeec3f300454812f492ca811220227bed74 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 21 Jul 2015 13:52:28 +0200 Subject: Add NewCoverageTest in the suite --- it/it-tests/src/test/java/testing/suite/NewCoverageTest.java | 9 +++------ it/it-tests/src/test/java/testing/suite/TestingTestSuite.java | 1 + 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'it') diff --git a/it/it-tests/src/test/java/testing/suite/NewCoverageTest.java b/it/it-tests/src/test/java/testing/suite/NewCoverageTest.java index 29e7848dbb0..786eb8ade4e 100644 --- a/it/it-tests/src/test/java/testing/suite/NewCoverageTest.java +++ b/it/it-tests/src/test/java/testing/suite/NewCoverageTest.java @@ -21,13 +21,10 @@ package testing.suite; import com.sonar.orchestrator.Orchestrator; import com.sonar.orchestrator.build.SonarRunner; -import java.util.List; import org.assertj.core.data.Offset; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; -import org.sonar.wsclient.services.Measure; import org.sonar.wsclient.services.Resource; import org.sonar.wsclient.services.ResourceQuery; @@ -54,9 +51,9 @@ public class NewCoverageTest { orchestrator.resetData(); orchestrator.executeBuilds(SonarRunner.create(projectDir("testing/xoo-sample-new-coverage-v1")) - .setProperty("sonar.projectDate", "2015-02-01") - .setProperty("sonar.scm.disabled", "false") - ); + .setProperty("sonar.projectDate", "2015-02-01") + .setProperty("sonar.scm.disabled", "false") + ); orchestrator.executeBuilds(SonarRunner.create(projectDir("testing/xoo-sample-new-coverage-v2")) .setProperty("sonar.scm.disabled", "false")); } diff --git a/it/it-tests/src/test/java/testing/suite/TestingTestSuite.java b/it/it-tests/src/test/java/testing/suite/TestingTestSuite.java index bb6ebdc05d1..10c8ca4053a 100644 --- a/it/it-tests/src/test/java/testing/suite/TestingTestSuite.java +++ b/it/it-tests/src/test/java/testing/suite/TestingTestSuite.java @@ -15,6 +15,7 @@ import util.ItUtils; @Suite.SuiteClasses({ CoverageTrackingTest.class, CoverageTest.class, + NewCoverageTest.class, TestExecutionTest.class }) public class TestingTestSuite { -- cgit v1.2.3