junit sm: remove fqn from method name got from display name

This commit is contained in:
Anna Kozlova
2015-10-12 15:08:19 +02:00
parent 6fe47c962f
commit 5f72ff8b04
@@ -222,7 +222,7 @@ public class JUnit4TestListener extends RunListener {
}
if (methodName == null && description.getChildren().isEmpty()) {
methodName = description.getDisplayName();
methodName = getShortName(description.getDisplayName());
}
myMethodNames.put(description, methodName);