Skip to content

Commit

Permalink
Merge pull request #61 from jenkinsci/dependabot/maven/edu.hm.hafner-…
Browse files Browse the repository at this point in the history
…codingstyle-pom-3.40.0

Bump edu.hm.hafner:codingstyle-pom from 3.39.0 to 3.40.0
  • Loading branch information
uhafner authored Dec 13, 2023
2 parents 2337c66 + f064356 commit a796ebc
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>edu.hm.hafner</groupId>
<artifactId>codingstyle-pom</artifactId>
<version>3.39.0</version>
<version>3.40.0</version>
<relativePath />
</parent>

Expand Down
1 change: 0 additions & 1 deletion src/main/java/edu/hm/hafner/coverage/Metric.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ private boolean hasCoverage(final Node node, final Metric metric) {
return node.getValue(metric)
.filter(value -> ((Coverage) value).getCovered() > 0)
.isPresent();

}

@Override
Expand Down
1 change: 0 additions & 1 deletion src/test/java/edu/hm/hafner/coverage/MutationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ void shouldBuildAndAddToModule() {
assertThat(moduleNode.getAllFileNodes().get(0))
.hasName("Class.java")
.hasMutations(mutationBuilder.build());

}

@Test
Expand Down
3 changes: 0 additions & 3 deletions src/test/java/edu/hm/hafner/coverage/NodeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ void shouldReturnAllNodesOfSpecificMetricType() {
assertThat(parent.getAll(FILE))
.hasSize(2)
.containsOnly(childOfChildOne, childOfChildTwo);

}

private static Coverage getCoverage(final Node node, final Metric metric) {
Expand Down Expand Up @@ -325,7 +324,6 @@ void shouldKeepChildNodesAfterCombiningReportWithSamePackage() {
Node combinedReport = module.merge(sameModule);

assertThat(combinedReport.getChildren().get(0)).hasOnlyChildren(fileToKeep, otherFileToKeep);

}

@Test
Expand Down Expand Up @@ -704,7 +702,6 @@ void shouldMergeWithDuplicateAndDifferentNames() {
.hasMetric(CONTAINER);

assertThat(merged.getChildren()).hasSize(2);

}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

@DefaultLocale("en")
class CoberturaParserTest extends AbstractParserTest {

private static final int COVERED_LINES = 20 + 17 + 6 + 12 + 7;
private static final int MISSED_LINES = 8 + 1 + 1 + 10;

Expand Down Expand Up @@ -255,7 +254,6 @@ void shouldReadCoberturaAggregation() {
assertThat(p.getAll(CLASS)).extracting(Node::getName).contains("env.ts");
}
);

}

@Test @Issue("jenkinsci/code-coverage-api-plugin#473")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,4 @@ private ModuleNode readReport(final String fileName, final CoverageParser parser
throw new AssertionError(e);
}
}

}

0 comments on commit a796ebc

Please sign in to comment.