multiple suite files in one suite: start time from the first suite - end time from the last suite; last suite should stop running (IDEA-69717)

This commit is contained in:
anna
2011-06-03 17:59:06 +04:00
parent c69def04d1
commit 425619ad7f
@@ -332,14 +332,15 @@ public class TestNGResults extends TestResultsPanel implements TestFrameworkRunn
}
public void start() {
start = System.currentTimeMillis();
if (start == 0) {
start = System.currentTimeMillis();
}
tree.getSelectionModel().setSelectionPath(new TreePath(treeBuilder.getNodeForElement(rootNode)));
rootNode.setInProgress(true);
rootNode.setStarted(true);
}
public void finish() {
if (end > 0) return;
if (start > 0) {
end = System.currentTimeMillis();
}