void () { mySuite.setStarted(); mySuite.addChild(mySimpleTest); mySimpleTest.setStarted(); mySimpleTest.setTestFailed("", "", true); assertFalse(mySimpleTest.isInProgress()); assertTrue(mySuite.isInProgress()); assertTrue(mySuite.isDefect()); assertTrue(mySimpleTest.isDefect()); mySimpleTest.setFinished(); assertTrue(mySuite.isInProgress()); assertTrue(mySuite.isDefect()); mySuite.setFinished(); assertFalse(mySuite.isInProgress()); assertTrue(mySuite.isDefect()); assertTrue(mySimpleTest.getMagnitudeInfo() == Magnitude.ERROR_INDEX); assertTrue(mySuite.getMagnitudeInfo() == Magnitude.ERROR_INDEX); }