From 150d02edbf0428642e219b277bfa9f744517d261 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 8 Apr 2024 15:17:42 -0700 Subject: [PATCH] Bumped PIT version to 1.16.0 --- README.md | 4 +- examples/lib/bld/bld-wrapper.properties | 2 +- .../com.example/ExamplesLib.java.html | 36 ++++++------ .../com.example/ExamplesTest.java.html | 56 +++++++++---------- .../reports/mutations/com.example/index.html | 2 +- examples/reports/mutations/index.html | 9 ++- .../bld/java/com/example/ExamplesBuild.java | 6 +- .../bld/extension/PitestOperationBuild.java | 6 +- 8 files changed, 63 insertions(+), 58 deletions(-) diff --git a/README.md b/README.md index 0702d76..f51aedb 100755 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ Don't forget to add the Pitest `test` dependencies to your build file, as they a ```java repositories = List.of(MAVEN_CENTRAL); scope(test) - .include(dependency("org.pitest", "pitest", version(1, 15, 8))) - .include(dependency("org.pitest", "pitest-command-line", version(1, 15, 8))) + .include(dependency("org.pitest", "pitest", version(1, 16, 0))) + .include(dependency("org.pitest", "pitest-command-line", version(1, 16, 0))) .include(dependency("org.pitest", "pitest-junit5-plugin", version(1, 2, 1))) .include(dependency("org.pitest", "pitest-testng-plugin", version(1, 0, 0))); ``` diff --git a/examples/lib/bld/bld-wrapper.properties b/examples/lib/bld/bld-wrapper.properties index 92f5727..a7517d8 100644 --- a/examples/lib/bld/bld-wrapper.properties +++ b/examples/lib/bld/bld-wrapper.properties @@ -1,6 +1,6 @@ bld.downloadExtensionJavadoc=false bld.downloadExtensionSources=true -bld.extensions=com.uwyn.rife2:bld-pitest:0.9.5 +bld.extensions=com.uwyn.rife2:bld-pitest:0.9.6 bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES,MAVEN_LOCAL,RIFE2_SNAPSHOTS bld.downloadLocation= bld.sourceDirectories= diff --git a/examples/reports/mutations/com.example/ExamplesLib.java.html b/examples/reports/mutations/com.example/ExamplesLib.java.html index 2b109b5..dbc4c42 100644 --- a/examples/reports/mutations/com.example/ExamplesLib.java.html +++ b/examples/reports/mutations/com.example/ExamplesLib.java.html @@ -15,12 +15,12 @@

ExamplesLib.java

- + 1 - + @@ -30,12 +30,12 @@

ExamplesLib.java

- + 2 - + @@ -45,12 +45,12 @@

ExamplesLib.java

- + 3 - + @@ -60,12 +60,12 @@

ExamplesLib.java

- + 4 - + @@ -75,12 +75,12 @@

ExamplesLib.java

- + 5 -1 +1 1. getMessage : replaced return value with "" for com/example/ExamplesLib::getMessage → KILLED
@@ -92,12 +92,12 @@

ExamplesLib.java

- + 6 - +
@@ -107,12 +107,12 @@

ExamplesLib.java

- + 7 - + @@ -124,11 +124,11 @@

ExamplesLib.java

Mutations

-5 +5 - +

1.1
Location : getMessage
Killed by : com.example.ExamplesTest.[engine:junit-jupiter]/[class:com.example.ExamplesTest]/[method:verifyHello()]
replaced return value with "" for com/example/ExamplesLib::getMessage → KILLED

@@ -155,12 +155,12 @@

Active mutators

Tests examined


-Report generated by
PIT 1.15.8 +Report generated by PIT 1.16.0 \ No newline at end of file diff --git a/examples/reports/mutations/com.example/ExamplesTest.java.html b/examples/reports/mutations/com.example/ExamplesTest.java.html index 116d66c..efd8fe9 100644 --- a/examples/reports/mutations/com.example/ExamplesTest.java.html +++ b/examples/reports/mutations/com.example/ExamplesTest.java.html @@ -15,12 +15,12 @@

ExamplesTest.java

- + 1 - + @@ -30,12 +30,12 @@

ExamplesTest.java

- + 2 - + @@ -45,12 +45,12 @@

ExamplesTest.java

- + 3 - + @@ -60,12 +60,12 @@

ExamplesTest.java

- + 4 - + @@ -75,12 +75,12 @@

ExamplesTest.java

- + 5 - + @@ -90,12 +90,12 @@

ExamplesTest.java

- + 6 - + @@ -105,12 +105,12 @@

ExamplesTest.java

- + 7 - + @@ -120,12 +120,12 @@

ExamplesTest.java

- + 8 - + @@ -135,12 +135,12 @@

ExamplesTest.java

- + 9 - + @@ -150,12 +150,12 @@

ExamplesTest.java

- + 10 -1 +1 1. verifyHello : removed call to org/junit/jupiter/api/Assertions::assertEquals → SURVIVED
@@ -167,12 +167,12 @@

ExamplesTest.java

- + 11 - +
@@ -182,12 +182,12 @@

ExamplesTest.java

- + 12 - + @@ -199,11 +199,11 @@

ExamplesTest.java

Mutations

-10 +10 - +

1.1
Location : verifyHello
Killed by : none
removed call to org/junit/jupiter/api/Assertions::assertEquals → SURVIVED

@@ -230,12 +230,12 @@

Active mutators

Tests examined


-Report generated by
PIT 1.15.8 +Report generated by PIT 1.16.0 \ No newline at end of file diff --git a/examples/reports/mutations/com.example/index.html b/examples/reports/mutations/com.example/index.html index 51caf89..d92a98f 100644 --- a/examples/reports/mutations/com.example/index.html +++ b/examples/reports/mutations/com.example/index.html @@ -63,7 +63,7 @@

Breakdown by Class


-Report generated by PIT 1.15.8 +Report generated by PIT 1.16.0 \ No newline at end of file diff --git a/examples/reports/mutations/index.html b/examples/reports/mutations/index.html index 69a779a..f5618d3 100644 --- a/examples/reports/mutations/index.html +++ b/examples/reports/mutations/index.html @@ -56,14 +56,17 @@

Breakdown by Package

+
-Report generated by PIT 1.15.8 + + +Report generated by PIT 1.16.0

-Enhanced functionality available at arcmutate.com - + Enhanced functionality available at arcmutate.com \ No newline at end of file diff --git a/examples/src/bld/java/com/example/ExamplesBuild.java b/examples/src/bld/java/com/example/ExamplesBuild.java index e77ab25..7af9917 100644 --- a/examples/src/bld/java/com/example/ExamplesBuild.java +++ b/examples/src/bld/java/com/example/ExamplesBuild.java @@ -19,14 +19,16 @@ public ExamplesBuild() { name = "Examples"; version = version(0, 1, 0); + javaRelease = 17; + downloadSources = true; autoDownloadPurge = true; repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); scope(test) - .include(dependency("org.pitest", "pitest", version(1, 15, 8))) - .include(dependency("org.pitest", "pitest-command-line", version(1, 15, 8))) + .include(dependency("org.pitest", "pitest", version(1, 16, 0))) + .include(dependency("org.pitest", "pitest-command-line", version(1, 16, 0))) .include(dependency("org.pitest", "pitest-junit5-plugin", version(1, 2, 1))) .include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 2))) .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 2))); diff --git a/src/bld/java/rife/bld/extension/PitestOperationBuild.java b/src/bld/java/rife/bld/extension/PitestOperationBuild.java index e59dff8..957f34c 100644 --- a/src/bld/java/rife/bld/extension/PitestOperationBuild.java +++ b/src/bld/java/rife/bld/extension/PitestOperationBuild.java @@ -35,14 +35,14 @@ public class PitestOperationBuild extends Project { public PitestOperationBuild() { pkg = "rife.bld.extension"; name = "PitestExtension"; - version = version(0, 9, 5); + version = version(0, 9, 6); javaRelease = 17; downloadSources = true; autoDownloadPurge = true; repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); - var pitest = version(1, 15, 8); + var pitest = version(1, 16, 0); scope(compile) .include(dependency("com.uwyn.rife2", "bld", version(1, 9, 0))); scope(test) @@ -77,7 +77,7 @@ public PitestOperationBuild() { .license( new PublishLicense() .name("The Apache License, Version 2.0") - .url("http://www.apache.org/licenses/LICENSE-2.0.txt") + .url("https://www.apache.org/licenses/LICENSE-2.0.txt") ) .scm( new PublishScm()