mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
junit 5: add error to output if identifier is not unique
This commit is contained in:
@@ -281,6 +281,9 @@ public class JUnit5TestExecutionListener implements TestExecutionListener {
|
||||
if (visited.add(childIdentifier)) {
|
||||
sendTreeUnderRoot(testPlan, childIdentifier, visited);
|
||||
}
|
||||
else {
|
||||
System.err.println("Identifier \'" + childIdentifier.getUniqueId() + "\' is reused");
|
||||
}
|
||||
}
|
||||
myPrintStream.println("##teamcity[suiteTreeEnded" + idAndName + "\']");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user