This commit is contained in:
Andreas Dangel
2022-04-24 22:44:05 +02:00
parent 1f9c7c5765
commit 6ec5fe1073

View File

@ -150,13 +150,11 @@ public class TestDescriptor {
}
public String getTestMethodName() {
String methodName = getRule().getName() + "_"
return getRule().getName() + "_"
+ getNumberInDocument()
+ "_"
+ getDescription()
.replaceAll("\n|\r", "_")
.replaceAll("[\\(\\)]|\\s", "_");
return methodName;
.replaceAll("[\\.\\(\\)]|\\s", "_");
}
}