1.1 --- a/logger/uihandler.api/src/org/netbeans/modules/exceptions/entity/Submit.java Fri Jul 08 14:30:14 2016 +0200
1.2 +++ b/logger/uihandler.api/src/org/netbeans/modules/exceptions/entity/Submit.java Fri Jul 08 14:45:17 2016 +0200
1.3 @@ -169,7 +169,13 @@
1.4
1.5 public String getShortTestName() {
1.6 if (testName.contains("::")) {
1.7 - return testName.split("::")[1];
1.8 + String[] classSplit = testName.split("::");
1.9 + if (classSplit[0].contains(".")) {
1.10 + String[] packageSplit = classSplit[0].split("\\.");
1.11 + return packageSplit[packageSplit.length - 1] + "::" + classSplit[1];
1.12 + } else {
1.13 + return testName;
1.14 + }
1.15 } else {
1.16 return testName;
1.17 }