Repository navigation
Move the clone, clone-java5 and snakeyaml ITs to unit tests - #654
Merged
Merged
Conversation
The clone checks duplicated FeaturesJavaVerifier, which now also compiles clone() without a cast (the covariant return the java5 IT guarded). The pluralExceptions parameter the clone IT used is covered in ModelloJavaMojoTest. The snakeyaml IT's test had no @test and no JUnit dependency, so it never ran; SnakeYamlGeneratorTest now asserts the YAML output and reads it back.
slachiewicz
marked this pull request as ready for review
November 22, 2026 19:37
slachiewicz
commented
Nov 22, 2026
slachiewicz
left a comment
Member
Author
There was a problem hiding this comment.
LGTM. All assertions from the three removed ITs survive in the unit tests, and the snakeyaml check now actually runs — the old RootTest had no @Test and no JUnit dependency. Optional: SnakeYamlVerifier.java has no copyright header, unlike the other plugin verifiers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The clone ITs duplicated
FeaturesJavaVerifier, which now compilesclone()without a cast, the covariant return the java5 IT guarded; thepluralExceptionsparameter they used is covered inModelloJavaMojoTest. The snakeyaml IT's test had no@Testand no JUnit dependency, so it never asserted anything;SnakeYamlGeneratorTestnow checks the YAML output and reads it back.maven-modelstays an IT: it runs three goals in one execution on the 3000-line Maven model and compiles the result.