void (Result result) { try { dumpQueue(true); } finally { for (int i = myStartedSuites.size() - 1; i>= 0; i--) { String className = JUnit4ReflectionUtil.getClassName(myStartedSuites.get(i)); if (!className.equals(myRootName)) { myPrintStream.println("##teamcity[testSuiteFinished name='" + escapeName(getShortName(className)) + "']"); } } myStartedSuites.clear(); } }