Skip to content

Commit b2111dd

Browse files
authored
Update sonar, fix cobertura tests (#91)
* Update * Fix tests
1 parent c397834 commit b2111dd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

community-rust-plugin/src/test/java/org/elegoff/plugins/communityrust/coverage/cobertura/StaxParserTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ private void test_grammar_parsable(String resource) throws XMLStreamException {
4747

4848
@Test
4949
void test_grammars() throws XMLStreamException {
50-
assertDoesNotThrow(() -> test_grammar_parsable("org/elegoff/plugins/communityRust/cobertura/dtd-test.xml"));
51-
assertDoesNotThrow(() -> test_grammar_parsable("org/elegoff/plugins/communityRust/cobertura/xsd-test.xml"));
52-
assertDoesNotThrow(() -> test_grammar_parsable("org/elegoff/plugins/communityRust/cobertura/xsd-test-with-entity.xml"));
50+
assertDoesNotThrow(() -> test_grammar_parsable("org/elegoff/plugins/communityrust/cobertura/dtd-test.xml"));
51+
assertDoesNotThrow(() -> test_grammar_parsable("org/elegoff/plugins/communityrust/cobertura/xsd-test.xml"));
52+
assertDoesNotThrow(() -> test_grammar_parsable("org/elegoff/plugins/communityrust/cobertura/xsd-test-with-entity.xml"));
5353
}
5454

5555
private static StaxParser.XmlStreamHandler getTestHandler() {

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<properties>
6363
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6464
<sonar.version>9.9.1.69595</sonar.version>
65-
<sonar.plugin.api.version>10.4.0.2064</sonar.plugin.api.version>
65+
<sonar.plugin.api.version>10.5.0.2090</sonar.plugin.api.version>
6666

6767

6868
<!-- Advertise minimal required JRE version -->
@@ -87,7 +87,7 @@
8787
<commons.io.version>2.15.1</commons.io.version>
8888
<commons.lang.version>2.6</commons.lang.version>
8989
<junit.version>5.9.3</junit.version>
90-
<sonar-analyzer-commons.version>2.7.0.1482</sonar-analyzer-commons.version>
90+
<sonar-analyzer-commons.version>2.8.0.2699</sonar-analyzer-commons.version>
9191
<sonar.orchestrator.version>4.0.0.404</sonar.orchestrator.version>
9292
<woodstox.version>6.2.7</woodstox.version>
9393

0 commit comments

Comments
 (0)