Skip to content

Commit

Permalink
SkipPitest / SkipJacoco (SERG-Delft#267)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Mladenov <[email protected]>
  • Loading branch information
alexcojocaru2002 and martinmladenov authored May 1, 2024
1 parent fec659f commit 5a09ef3
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ public class SecureExamRunConfiguration extends RunConfiguration {
private final List<String> listOfMutants;
private final int numberOfMutationsToConsider;
private final ExternalProcess externalProcess;
private final boolean skipJacoco;
private final boolean skipPitest;

public SecureExamRunConfiguration(RunConfiguration runConfigurationToClone) {
this.classesUnderTest = runConfigurationToClone.classesUnderTest();
this.listOfMutants = runConfigurationToClone.listOfMutants();
this.numberOfMutationsToConsider = runConfigurationToClone.numberOfMutationsToConsider();
this.externalProcess = runConfigurationToClone.externalProcess();
this.successMessage = runConfigurationToClone.successMessage();
this.skipJacoco = runConfigurationToClone.skipJacoco();
this.skipPitest = runConfigurationToClone.skipPitest();
}

public Mode mode() {
Expand Down Expand Up @@ -60,5 +64,13 @@ public String successMessage() {
return successMessage;
}

@Override
public boolean skipJacoco() {
return this.skipJacoco;
}

@Override
public boolean skipPitest() {
return this.skipPitest;
}
}

0 comments on commit 5a09ef3

Please sign in to comment.