Compare commits

...

2 commits

Author SHA1 Message Date
970eed68e8 Bumped PIT to 1.15.4 2024-01-19 12:31:30 -08:00
ffaef86c76 Updated copyright 2024-01-19 12:30:27 -08:00
7 changed files with 57 additions and 57 deletions

View file

@ -1,6 +1,6 @@
<component name="CopyrightManager"> <component name="CopyrightManager">
<copyright> <copyright>
<option name="notice" value="Copyright &amp;#36;today.year the original author or authors.&#10; &#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10; https://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." /> <option name="notice" value="Copyright 2023-Copyright &amp;#36;today.yearamp;#36;today.year the original author or authors.&#10; &#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10; https://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
<option name="myName" value="Apache License" /> <option name="myName" value="Apache License" />
</copyright> </copyright>
</component> </component>

View file

@ -15,12 +15,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@73ee04c8_1'/> <a name='org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_1'/>
1 1
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_1'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_1'></a>
<span> <span>
</span> </span>
</span> </span>
@ -30,12 +30,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@73ee04c8_2'/> <a name='org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_2'/>
2 2
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_2'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_2'></a>
<span> <span>
</span> </span>
</span> </span>
@ -45,12 +45,12 @@
<tr> <tr>
<td class='covered'> <td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@73ee04c8_3'/> <a name='org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_3'/>
3 3
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_3'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_3'></a>
<span> <span>
</span> </span>
</span> </span>
@ -60,12 +60,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@73ee04c8_4'/> <a name='org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_4'/>
4 4
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_4'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_4'></a>
<span> <span>
</span> </span>
</span> </span>
@ -75,12 +75,12 @@
<tr> <tr>
<td class='covered'> <td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@73ee04c8_5'/> <a name='org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_5'/>
5 5
</td> </td>
<td class='killed'> <td class='killed'>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_5'>1</a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_5'>1</a>
<span> <span>
1. getMessage : replaced return value with &#34;&#34; for com/example/ExamplesLib::getMessage &rarr; KILLED<br/> 1. getMessage : replaced return value with &#34;&#34; for com/example/ExamplesLib::getMessage &rarr; KILLED<br/>
@ -92,12 +92,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@73ee04c8_6'/> <a name='org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_6'/>
6 6
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_6'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_6'></a>
<span> <span>
</span> </span>
</span> </span>
@ -107,12 +107,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@73ee04c8_7'/> <a name='org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_7'/>
7 7
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_7'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_7'></a>
<span> <span>
</span> </span>
</span> </span>
@ -124,11 +124,11 @@
<tr><td></td><td></td><td><h2>Mutations</h2></td></tr> <tr><td></td><td></td><td><h2>Mutations</h2></td></tr>
<tr> <tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@73ee04c8_5'>5</a></td> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@2e55dd0c_5'>5</a></td>
<td></td> <td></td>
<td> <td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@73ee04c8_5'/> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@2e55dd0c_5'/>
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>getMessage<br/><b>Killed by : </b>com.example.ExamplesTest.[engine:junit-jupiter]/[class:com.example.ExamplesTest]/[method:verifyHello()]</span></span> replaced return value with &#34;&#34; for com/example/ExamplesLib::getMessage &rarr; KILLED</p> <p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>getMessage<br/><b>Killed by : </b>com.example.ExamplesTest.[engine:junit-jupiter]/[class:com.example.ExamplesTest]/[method:verifyHello()]</span></span> replaced return value with &#34;&#34; for com/example/ExamplesLib::getMessage &rarr; KILLED</p>
</td> </td>
@ -155,7 +155,7 @@
<h2>Tests examined</h2> <h2>Tests examined</h2>
<ul> <ul>
<li>com.example.ExamplesTest.[engine:junit-jupiter]/[class:com.example.ExamplesTest]/[method:verifyHello()] (9 ms)</li> <li>com.example.ExamplesTest.[engine:junit-jupiter]/[class:com.example.ExamplesTest]/[method:verifyHello()] (10 ms)</li>
</ul> </ul>
<br/> <br/>

View file

@ -15,12 +15,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_1'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_1'/>
1 1
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_1'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_1'></a>
<span> <span>
</span> </span>
</span> </span>
@ -30,12 +30,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_2'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_2'/>
2 2
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_2'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_2'></a>
<span> <span>
</span> </span>
</span> </span>
@ -45,12 +45,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_3'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_3'/>
3 3
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_3'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_3'></a>
<span> <span>
</span> </span>
</span> </span>
@ -60,12 +60,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_4'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_4'/>
4 4
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_4'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_4'></a>
<span> <span>
</span> </span>
</span> </span>
@ -75,12 +75,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_5'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_5'/>
5 5
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_5'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_5'></a>
<span> <span>
</span> </span>
</span> </span>
@ -90,12 +90,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_6'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_6'/>
6 6
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_6'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_6'></a>
<span> <span>
</span> </span>
</span> </span>
@ -105,12 +105,12 @@
<tr> <tr>
<td class='covered'> <td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_7'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_7'/>
7 7
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_7'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_7'></a>
<span> <span>
</span> </span>
</span> </span>
@ -120,12 +120,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_8'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_8'/>
8 8
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_8'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_8'></a>
<span> <span>
</span> </span>
</span> </span>
@ -135,12 +135,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_9'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_9'/>
9 9
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_9'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_9'></a>
<span> <span>
</span> </span>
</span> </span>
@ -150,12 +150,12 @@
<tr> <tr>
<td class='covered'> <td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_10'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_10'/>
10 10
</td> </td>
<td class='survived'> <td class='survived'>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_10'>1</a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_10'>1</a>
<span> <span>
1. verifyHello : removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED<br/> 1. verifyHello : removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED<br/>
@ -167,12 +167,12 @@
<tr> <tr>
<td class='covered'> <td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_11'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_11'/>
11 11
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_11'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_11'></a>
<span> <span>
</span> </span>
</span> </span>
@ -182,12 +182,12 @@
<tr> <tr>
<td class='na'> <td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_12'/> <a name='org.pitest.mutationtest.report.html.SourceFile@65f095f8_12'/>
12 12
</td> </td>
<td class=''> <td class=''>
<span class='pop'> <span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_12'></a> <a href='#grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_12'></a>
<span> <span>
</span> </span>
</span> </span>
@ -199,11 +199,11 @@
<tr><td></td><td></td><td><h2>Mutations</h2></td></tr> <tr><td></td><td></td><td><h2>Mutations</h2></td></tr>
<tr> <tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@1f97cf0d_10'>10</a></td> <td><a href='#org.pitest.mutationtest.report.html.SourceFile@65f095f8_10'>10</a></td>
<td></td> <td></td>
<td> <td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@1f97cf0d_10'/> <a name='grouporg.pitest.mutationtest.report.html.SourceFile@65f095f8_10'/>
<p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>verifyHello<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p> <p class='SURVIVED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>verifyHello<br/><b>Killed by : </b>none</span></span> removed call to org/junit/jupiter/api/Assertions::assertEquals &rarr; SURVIVED</p>
</td> </td>
@ -230,7 +230,7 @@
<h2>Tests examined</h2> <h2>Tests examined</h2>
<ul> <ul>
<li>com.example.ExamplesTest.[engine:junit-jupiter]/[class:com.example.ExamplesTest]/[method:verifyHello()] (9 ms)</li> <li>com.example.ExamplesTest.[engine:junit-jupiter]/[class:com.example.ExamplesTest]/[method:verifyHello()] (10 ms)</li>
</ul> </ul>
<br/> <br/>

View file

@ -22,8 +22,8 @@ public class ExamplesBuild extends Project {
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
scope(test) scope(test)
.include(dependency("org.pitest", "pitest", version(1, 15, 3))) .include(dependency("org.pitest", "pitest", version(1, 15, 4)))
.include(dependency("org.pitest", "pitest-command-line", version(1, 15, 3))) .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.pitest", "pitest-junit5-plugin", version(1, 2, 1)))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 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.junit.platform", "junit-platform-console-standalone", version(1, 10, 1)));

View file

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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() { public PitestOperationBuild() {
pkg = "rife.bld.extension"; pkg = "rife.bld.extension";
name = "PitestExtension"; name = "PitestExtension";
version = version(0, 9, 1); version = version(0, 9, 2, "SNAPSHOT");
javaRelease = 17; javaRelease = 17;
downloadSources = true; downloadSources = true;
autoDownloadPurge = true; autoDownloadPurge = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
var pitest = version(1, 15, 3); var pitest = version(1, 15, 4);
scope(compile) scope(compile)
.include(dependency("com.uwyn.rife2", "bld", version(1, 7, 5))); .include(dependency("com.uwyn.rife2", "bld", version(1, 7, 5)));
scope(test) 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.pitest", "pitest-junit5-plugin", version(1, 2, 1)))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 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.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() javadocOperation()
.javadocOptions() .javadocOptions()

View file

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View file

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -158,7 +158,7 @@ class PitestOperationTest {
@Test @Test
void execute() throws IOException { void execute() throws IOException {
var tmpDir = Files.createTempDirectory("bld-pitest"); var tmpDir = Files.createTempDirectory("bld-pitest-");
tmpDir.toFile().deleteOnExit(); tmpDir.toFile().deleteOnExit();
var op = new PitestOperation(). var op = new PitestOperation().
fromProject(new WebProject()) fromProject(new WebProject())