void (@NotNull GradleTestsExecutionConsole executionConsole, @NotNull String text, @NotNull Key<?> processOutputType) { var eventMessage = getEventMessage(executionConsole, text, processOutputType); if (eventMessage == null) return; try { var xml = new TestEventXPPXmlView(eventMessage); var eventType = TestEventType.fromValue(xml.getTestEventType()); var testEventProcessor = createTestEventProcessor(eventType, executionConsole); if (testEventProcessor != null) { testEventProcessor.process(xml); } } catch (TestEventXmlView.XmlParserException | NumberFormatException e) { LOG.error("Gradle test events parser error", e); } }