diff --git a/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/DiffTestSelection.java b/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/DiffTestSelection.java index 0d5455cc8..f3c3950b8 100644 --- a/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/DiffTestSelection.java +++ b/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/DiffTestSelection.java @@ -90,6 +90,9 @@ private Map> matchChangedWithCoverage(Map> testClassNamePerTestMethodNamesThatCoverChanges = new LinkedHashMap<>(); for (String testClassKey : coverage.keySet()) { for (String testMethodKey : coverage.get(testClassKey).keySet()) { + if (this.isParametrized(testMethodKey)) { + continue; + } for (String targetClassName : coverage.get(testClassKey).get(testMethodKey).keySet()) { if (modifiedLinesPerQualifiedName.containsKey(targetClassName)) { for (Integer line : modifiedLinesPerQualifiedName.get(targetClassName)) { @@ -109,6 +112,10 @@ private Map> matchChangedWithCoverage(Map> getModifiedLinesPerQualifiedName(String currentLine, String secondLine) { final File baseDir = new File(this.configuration.pathToFirstVersion); diff --git a/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/coverage/Coverage.java b/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/coverage/Coverage.java index d7aec6b8f..3dcbfad17 100644 --- a/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/coverage/Coverage.java +++ b/dspot-diff-test-selection/src/main/java/eu/stamp_project/diff_test_selection/coverage/Coverage.java @@ -1,7 +1,5 @@ package eu.stamp_project.diff_test_selection.coverage; -import eu.stamp_project.diff_test_selection.configuration.Options; -import org.apache.maven.plugin.logging.Log; import org.slf4j.Logger; import org.slf4j.LoggerFactory;