void (boolean acceptUnfinished) { for (Iterator<Description> iterator = myWaitingQueue.keySet().iterator(); iterator.hasNext(); ) { Description description = iterator.next(); TestEvent testEvent = myWaitingQueue.get(description); if (acceptUnfinished || testEvent.isFinished()) { testStarted(description, testEvent.getMethodName()); iterator.remove(); Failure failure = testEvent.getFailure(); if (testEvent.isIgnored()) { Map<String, String> attrs = testEvent.getAttrs(); if (attrs == null) { testFailure(failure, description, MapSerializerUtil.TEST_IGNORED); } else { myPrintStream.println(MapSerializerUtil.asString(MapSerializerUtil.TEST_IGNORED, attrs)); } } else if (failure != null) { testFailure(failure); } final String methodName = testEvent.getMethodName(); testFinishedNoDumping(methodName != null ? methodName : getFullMethodName(description)); } } }