diff --git a/.idea/copyright/Apache_License.xml b/.idea/copyright/Apache_License.xml index 15687f4..ade80da 100644 --- a/.idea/copyright/Apache_License.xml +++ b/.idea/copyright/Apache_License.xml @@ -1,6 +1,6 @@ - - \ No newline at end of file + diff --git a/examples/reports/mutations/com.example/ExamplesLib.java.html b/examples/reports/mutations/com.example/ExamplesLib.java.html index 2c61857..21b366a 100644 --- a/examples/reports/mutations/com.example/ExamplesLib.java.html +++ b/examples/reports/mutations/com.example/ExamplesLib.java.html @@ -15,12 +15,12 @@ - + 1 - + @@ -30,12 +30,12 @@ - + 2 - + @@ -45,12 +45,12 @@ - + 3 - + @@ -60,12 +60,12 @@ - + 4 - + @@ -75,12 +75,12 @@ - + 5 -1 +1 1. getMessage : replaced return value with "" for com/example/ExamplesLib::getMessage → KILLED
@@ -92,12 +92,12 @@ - + 6 - +
@@ -107,12 +107,12 @@ - + 7 - + @@ -124,11 +124,11 @@

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,7 +155,7 @@

Tests examined


diff --git a/examples/reports/mutations/com.example/ExamplesTest.java.html b/examples/reports/mutations/com.example/ExamplesTest.java.html index 67f1c13..4335364 100644 --- a/examples/reports/mutations/com.example/ExamplesTest.java.html +++ b/examples/reports/mutations/com.example/ExamplesTest.java.html @@ -15,12 +15,12 @@ -
+ 1 - + @@ -30,12 +30,12 @@ - + 2 - + @@ -45,12 +45,12 @@ - + 3 - + @@ -60,12 +60,12 @@ - + 4 - + @@ -75,12 +75,12 @@ - + 5 - + @@ -90,12 +90,12 @@ - + 6 - + @@ -105,12 +105,12 @@ - + 7 - + @@ -120,12 +120,12 @@ - + 8 - + @@ -135,12 +135,12 @@ - + 9 - + @@ -150,12 +150,12 @@ - + 10 -1 +1 1. verifyHello : removed call to org/junit/jupiter/api/Assertions::assertEquals → SURVIVED
@@ -167,12 +167,12 @@ - + 11 - +
@@ -182,12 +182,12 @@ - + 12 - + @@ -199,11 +199,11 @@

Mutations

-10 +10 - +

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

@@ -230,7 +230,7 @@

Tests examined


diff --git a/examples/src/bld/java/com/example/ExamplesBuild.java b/examples/src/bld/java/com/example/ExamplesBuild.java index ea9c8b8..f8a7919 100644 --- a/examples/src/bld/java/com/example/ExamplesBuild.java +++ b/examples/src/bld/java/com/example/ExamplesBuild.java @@ -22,8 +22,8 @@ public class ExamplesBuild extends Project { repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); scope(test) - .include(dependency("org.pitest", "pitest", version(1, 15, 3))) - .include(dependency("org.pitest", "pitest-command-line", version(1, 15, 3))) + .include(dependency("org.pitest", "pitest", version(1, 15, 4))) + .include(dependency("org.pitest", "pitest-command-line", version(1, 15, 4))) .include(dependency("org.pitest", "pitest-junit5-plugin", version(1, 2, 1))) .include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 1))) .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 1))); diff --git a/src/bld/java/rife/bld/extension/PitestOperationBuild.java b/src/bld/java/rife/bld/extension/PitestOperationBuild.java index e90b3e1..d0f0e20 100644 --- a/src/bld/java/rife/bld/extension/PitestOperationBuild.java +++ b/src/bld/java/rife/bld/extension/PitestOperationBuild.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2023-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,14 +35,14 @@ public class PitestOperationBuild extends Project { public PitestOperationBuild() { pkg = "rife.bld.extension"; name = "PitestExtension"; - version = version(0, 9, 1); + version = version(0, 9, 2, "SNAPSHOT"); javaRelease = 17; downloadSources = true; autoDownloadPurge = true; repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); - var pitest = version(1, 15, 3); + var pitest = version(1, 15, 4); scope(compile) .include(dependency("com.uwyn.rife2", "bld", version(1, 7, 5))); scope(test) @@ -51,7 +51,7 @@ public class PitestOperationBuild extends Project { .include(dependency("org.pitest", "pitest-junit5-plugin", version(1, 2, 1))) .include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 1))) .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 1))) - .include(dependency("org.assertj", "assertj-core", version(3, 24, 2))); + .include(dependency("org.assertj", "assertj-core", version(3, 25, 1))); javadocOperation() .javadocOptions() diff --git a/src/main/java/rife/bld/extension/PitestOperation.java b/src/main/java/rife/bld/extension/PitestOperation.java index 08dfe7d..1f32154 100644 --- a/src/main/java/rife/bld/extension/PitestOperation.java +++ b/src/main/java/rife/bld/extension/PitestOperation.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2023-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -878,4 +878,4 @@ public class PitestOperation extends AbstractProcessOperation { } return this; } -} \ No newline at end of file +} diff --git a/src/test/java/rife/bld/extension/PitestOperationTest.java b/src/test/java/rife/bld/extension/PitestOperationTest.java index 70d5ef8..af0e7c1 100644 --- a/src/test/java/rife/bld/extension/PitestOperationTest.java +++ b/src/test/java/rife/bld/extension/PitestOperationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2023-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -158,7 +158,7 @@ class PitestOperationTest { @Test void execute() throws IOException { - var tmpDir = Files.createTempDirectory("bld-pitest"); + var tmpDir = Files.createTempDirectory("bld-pitest-"); tmpDir.toFile().deleteOnExit(); var op = new PitestOperation(). fromProject(new WebProject()) @@ -491,4 +491,4 @@ class PitestOperationTest { .verbose(false); assertThat(op.options.get("--verbose")).isEqualTo(FALSE); } -} \ No newline at end of file +}