void (Description description, String methodName) { testStarted(description); Map<String, String> attrs = new HashMap<>(); try { final Ignore ignoredAnnotation = description.getAnnotation(Ignore.class); if (ignoredAnnotation != null) { final String val = ignoredAnnotation.value(); if (val != null) { attrs.put("message", val); } } } catch (NoSuchMethodError ignored) { //junit < 4.4 } attrs.put("name", methodName); if (startedInParallel(description)) { TestEvent testEvent = myWaitingQueue.get(description); if (testEvent == null) { testEvent = new TestEvent(); myWaitingQueue.put(description, testEvent); } testEvent.setIgnored(true); testEvent.setAttrs(attrs); } else { myPrintStream.println(MapSerializerUtil.asString(MapSerializerUtil.TEST_IGNORED, attrs)); } testFinished(description); }