Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supplemental: test cases added #12833

Merged
merged 1 commit into from Mar 14, 2023

Conversation

Kevin222004
Copy link
Collaborator

supplemental: test cases added

While working on #11641 I noticed that I don't found test cases which use alias list property

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Items

@@ -0,0 +1,56 @@
/*
com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
aliasList = com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck=paramnum
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not same as <property name="aliasList" value="ParameterNumber=paramnum" />
As you reference in issue.
You should have aliasList=ParameterNumber=paramnum
Or second = to be escaped.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or we need both formats in tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@romani the issue #11641 is all about supporting the simple name aliasList=ParameterNumber=paramnum.

Right now it only supports the fully qualified name #11542 (comment)

I will most probably send pr for fixing this by today #11641.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@romani romani merged commit 6b77f06 into checkstyle:master Mar 14, 2023
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants