Skip to content

Commit

Permalink
SONARJAVA-5239 Remove obsolete test that uses removed SonarQube metric (
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielFleischer authored Dec 9, 2024
1 parent dabf7fb commit 1b8e004
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import org.junit.Test;
import org.sonarqube.ws.Issues.Issue;

import static com.sonar.it.java.suite.JavaTestSuite.getMeasure;
import static com.sonar.it.java.suite.JavaTestSuite.getMeasureAsInteger;
import static org.assertj.core.api.Assertions.assertThat;

Expand Down Expand Up @@ -87,11 +86,6 @@ public void testProjectComplexity() {
assertThat(getMeasureAsInteger(PROJECT, "complexity")).isEqualTo(16);
}

@Test
public void shouldNotPersistDistributionOnFiles() {
assertThat(getMeasure(JavaTestSuite.keyFor(PROJECT, "complexity/", "Helloworld.java"), "function_complexity_distribution")).isNull();
}

@Test
public void complexity_sqale_computation() {
List<Issue> issues = TestUtils.issuesForComponent(orchestrator, PROJECT);
Expand Down

0 comments on commit 1b8e004

Please sign in to comment.