mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user