void () { // Priority: error -> failure TestConsoleProperties.SELECT_FIRST_DEFECT.set(myProperties, true); mySuite.setStarted(); final SMTestProxy testsSuite = createSuiteProxy("my suite", mySuite); testsSuite.setStarted(); // pending test final SMTestProxy testPending = createTestProxy("testPending", testsSuite); testPending.setStarted(); myUIActionsHandler.onTestNodeAdded(myResultsViewer, testPending); testPending.setTestIgnored("", ""); // finish suite testsSuite.setFinished(); assertNull(mySelectedTestProxy); //testing finished mySuite.setFinished(); assertNull(mySelectedTestProxy); myUIActionsHandler.onTestingFinished(myResultsViewer); // pending tests shouldn't be considered as errors/failures assertNull(mySelectedTestProxy); }