void (final @NotNull TestSuiteStartedEvent suiteStartedEvent) { //new suite //Progress started //fire event final String suiteName = suiteStartedEvent.getName(); final String locationUrl = suiteStartedEvent.getLocationUrl(); final String metainfo = suiteStartedEvent.getMetainfo(); SMTestProxy parentSuite = getCurrentSuite(); SMTestProxy newSuite = findChild(parentSuite, locationUrl != null ? locationUrl : suiteName, true); if (newSuite == null) { //new suite newSuite = new SMTestProxy(suiteName, true, locationUrl, metainfo, parentSuite.isPreservePresentableName()); if (myTreeBuildBeforeStart) { newSuite.setTreeBuildBeforeStart(); } if (myLocator != null) { newSuite.setLocator(myLocator); } parentSuite.addChild(newSuite); } else if (metainfo != null) { newSuite.setMetainfo(metainfo); } initCurrentChildren(newSuite, true); mySuitesStack.pushSuite(newSuite); //Progress started newSuite.setSuiteStarted(); //fire event fireOnSuiteStarted(newSuite); }