void (@NotNull Node lowestNode) { Node node = lowestNode; while (node != null && node != myTestsRootNode && node.getState() == State.NOT_RUNNING) { node.setState(State.RUNNING, this); SMTestProxy proxy = node.getProxy(); proxy.setStarted(); Node parentNode = node.getParentNode(); if (proxy.isSuite()) { myRunningSuiteNodes.add(node); fireOnSuiteStarted(proxy, node.getId(), parentNode != null ? parentNode.getId() : null); } else { myRunningTestNodes.add(lowestNode); fireOnTestStarted(proxy, node.getId(), parentNode != null ? parentNode.getId() : null); } node = node.getParentNode(); } }