-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1006 from hcoles/cleanup/further-verifier-migration
Remove reliance on xstream for tests
- Loading branch information
Showing
41 changed files
with
3,284 additions
and
4,523 deletions.
There are no files selected for viewing
29 changes: 0 additions & 29 deletions
29
pitest-aggregator/src/main/java/org/pitest/aggregate/MutatorUtil.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
pitest/src/main/java/org/pitest/mutationtest/UnviableClassMutator.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
package org.pitest; | ||
|
||
import static org.junit.Assert.fail; | ||
|
||
import nl.jqno.equalsverifier.EqualsVerifier; | ||
import org.junit.Test; | ||
import org.pitest.testapi.Description; | ||
import org.pitest.testapi.TestResult; | ||
import org.pitest.testapi.TestUnitState; | ||
import org.pitest.util.XStreamCloning; | ||
|
||
|
||
public class TestResultTest { | ||
|
||
@Test | ||
public void shouldCloneViaXStreamWithoutError() throws Exception { | ||
try { | ||
final TestResult testee = new TestResult((Description) null, null, | ||
TestUnitState.FINISHED); | ||
XStreamCloning.clone(testee); | ||
} catch (final Throwable t) { | ||
fail(); | ||
} | ||
public void shouldObeyHashcodeEqualsContract() { | ||
EqualsVerifier.forClass(TestResult.class) | ||
.verify(); | ||
} | ||
|
||
} |
5 changes: 0 additions & 5 deletions
5
pitest/src/test/java/org/pitest/classinfo/ClassInfoMother.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.