aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-05-13 10:35:18 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-05-13 15:03:56 +0200
commit35997d8bbebb20e87f78ab1d7a7a77ab28cf16a9 (patch)
tree36655ed02200f6a120b2c3d2ddf435315efcf110 /it
parent1d0523368d43ccf4bef67ee9918a84419b4073b7 (diff)
downloadsonarqube-35997d8bbebb20e87f78ab1d7a7a77ab28cf16a9.tar.gz
sonarqube-35997d8bbebb20e87f78ab1d7a7a77ab28cf16a9.zip
SONAR-7367 Remove code previously used by SonarLint
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/analysis/IssuesModeTest.java29
1 files changed, 0 insertions, 29 deletions
diff --git a/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java b/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
index 8f0a8c826ca..9f6e3c0e2b3 100644
--- a/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
+++ b/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
@@ -209,22 +209,6 @@ public class IssuesModeTest {
ItUtils.assertIssuesInJsonReport(result, 3, 0, 17);
}
- @Test
- public void non_associated_mode() throws IOException {
- restoreProfile("one-issue-per-line.xml");
- setDefaultQualityProfile("xoo", "one-issue-per-line");
- SonarRunner runner = configureRunnerIssues("shared/xoo-sample-non-associated", null);
- BuildResult result = orchestrator.executeBuild(runner);
-
- assertThat(result.getLogs()).contains("Local analysis");
- assertThat(result.getLogs()).contains("Cache not found, synchronizing data");
- assertThat(ItUtils.countIssuesInJsonReport(result, true)).isEqualTo(17);
-
- result = orchestrator.executeBuild(runner);
- assertThat(ItUtils.countIssuesInJsonReport(result, true)).isEqualTo(17);
- assertThat(result.getLogs()).contains("Found cache");
- }
-
// SONAR-5715
@Test
public void test_issues_mode_on_project_with_space_in_filename() throws IOException {
@@ -302,19 +286,6 @@ public class IssuesModeTest {
assertThat(ItUtils.countIssuesInJsonReport(result, false)).isEqualTo(16);
}
- // SONAR-7100
- @Test
- public void enable_issues_cache() throws Exception {
- File homeDir = runFirstAnalysisAndFlagIssueAsWontFix();
-
- // Second issues mode using same cache dir and enable cache
- SonarRunner runner = configureRunnerIssues("shared/xoo-sample", homeDir, "sonar.useWsCache", "true");
- BuildResult result = orchestrator.executeBuild(runner);
-
- // False positive is still visible since we are using cached issues
- assertThat(ItUtils.countIssuesInJsonReport(result, false)).isEqualTo(17);
- }
-
private File runFirstAnalysisAndFlagIssueAsWontFix() throws IOException {
restoreProfile("one-issue-per-line.xml");
orchestrator.getServer().provisionProject("sample", "xoo-sample");