nils-christian commented on issue #3226: URL: https://github.com/apache/maven-surefire/issues/3226#issuecomment-4291236117
Hi, I added a PR for this issue: https://github.com/apache/maven-surefire/pull/3347 - I used Claude Code for this. It seems that this was actually a bug. The StatelessXmlReporter uses sourceName (the Java class name) and sourceText (the display name). The false branch for the phrasedClassName check checked for sourceText first and used it, which is exactly the display name we try to suppress. Now the code is symmetric to the handling of the method name above. Best regards Nils -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
