void () { final SMTestProxy testPassed = createTestProxy("passed"); final SMTestProxy testFailed = createTestProxy("failed"); final SMTestProxy testInProgress = createTestProxy("inProgress"); mySuite.setStarted(); mySuite.addChild(testPassed); testPassed.setStarted(); testPassed.setFinished(); mySuite.addChild(testFailed); testFailed.setStarted(); testFailed.setTestFailed("", "", false); testFailed.setFinished(); mySuite.addChild(testInProgress); testInProgress.setStarted(); // Suite terminated mySuite.setTerminated(); assertTrue(mySuite.wasTerminated()); assertFalse(testPassed.wasTerminated()); assertFalse(testFailed.wasTerminated()); assertTrue(testInProgress.wasTerminated()); }