WEB-10387 Mocha console log statements are not correctly aligned to their encasing tests

This commit is contained in:
Sergey Simonchik
2013-12-25 01:46:48 +04:00
parent 975cfe81b0
commit 6018640fc2
@@ -137,6 +137,7 @@ public class GeneralIdBasedToSMTRunnerEventsConvertor extends GeneralTestEventsP
if (node != null) {
if (node.getState() == State.REGISTERED && startedNodeEvent.isRunning()) {
node.setState(State.RUNNING);
myRunningNodes.add(node);
node.getProxy().setStarted();
if (suite) {
fireOnSuiteStarted(node.getProxy());
@@ -172,13 +173,13 @@ public class GeneralIdBasedToSMTRunnerEventsConvertor extends GeneralTestEventsP
State initialState = startedNodeEvent.isRunning() ? State.RUNNING : State.REGISTERED;
node = new Node(startedNodeEvent.getId(), parentNode, childProxy, initialState);
myNodeByIdMap.put(startedNodeEvent.getId(), node);
myRunningNodes.add(node);
if (myLocator != null) {
childProxy.setLocator(myLocator);
}
parentNode.getProxy().addChild(childProxy);
if (node.getState() == State.RUNNING) {
myRunningNodes.add(node);
// progress started
childProxy.setStarted();
if (suite) {