Skip to content

Commit d06588c

Browse files
authored
SONAR-22876 Remove from integration tests assertions for executable_lines_data and ncloc_data
1 parent 9ae0f9a commit d06588c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

its/plugin/src/test/java/org/sonarsource/slang/MeasuresTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ public void kotlin_measures() {
5353
assertThat(getMeasureAsInt(file1, "cognitive_complexity")).isEqualTo(0);
5454
assertThat(getMeasureAsInt(file2, "cognitive_complexity")).isEqualTo(2);
5555

56-
assertThat(getMeasure(emptyFile, "ncloc_data")).isNull();
57-
assertThat(getMeasure(file1, "ncloc_data").getValue()).isEqualTo("1=1;3=1;4=1;7=1;8=1;13=1;14=1");
58-
assertThat(getMeasure(file2, "ncloc_data").getValue()).isEqualTo("1=1;2=1;3=1;4=1;5=1;7=1;10=1;11=1");
59-
60-
assertThat(getMeasure(file1, "executable_lines_data").getValue()).isEqualTo("4=1;8=1;13=1");
61-
6256
List<Issues.Issue> issuesForRule = getIssuesForRule(projectKey, "kotlin:S100");
6357
assertThat(issuesForRule).extracting(Issues.Issue::getLine).containsExactly(2, 7);
6458
assertThat(issuesForRule).extracting(Issues.Issue::getComponent).containsExactly(file2, file2);

0 commit comments

Comments
 (0)