do not miss last event that all class tests were run (IDEA-56916)

This commit is contained in:
anna
2010-11-24 12:20:09 +03:00
parent c98663e712
commit 23b58e7964
2 changed files with 2 additions and 1 deletions
@@ -78,7 +78,7 @@ public class TestProxy extends AbstractTestProxy {
}
}
private void fireStateChanged() {
public void fireStateChanged() {
myStateTimestamp++;
pullEvent(new StateChangedEvent(this));
if (myParent != null)
@@ -255,6 +255,7 @@ public class TestsPacketsReceiver implements PacketProcessor, Disposable {
if (parentState instanceof SuiteState) {
if (!child.isInProgress() && child.equals(children.get(children.size() - 1))) {
((SuiteState)parentState).setRunning(false);
parent.fireStateChanged();
parent.flush();
}
((SuiteState)parentState).updateMagnitude(magnitude);