mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test presentation: include root comment as qualifier to get root fqName if failed with short name
This commit is contained in:
+8
@@ -233,6 +233,14 @@ public class TestsPresentationUtil {
|
||||
if (presentation != null) {
|
||||
parentName = presentation;
|
||||
parentStartsWith = name.startsWith(parentName);
|
||||
|
||||
if (!parentStartsWith) {
|
||||
String comment = ((SMTestProxy.SMRootTestProxy)parent).getComment();
|
||||
if (comment != null) {
|
||||
parentName = StringUtil.getQualifiedName(comment, presentation);
|
||||
parentStartsWith = name.startsWith(parentName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (parentStartsWith) {
|
||||
|
||||
Reference in New Issue
Block a user