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

Issue #4431: Modified ModifierOrderCheckTest.java and moved its input files to the modifierorder subdirectory #4432

Merged
merged 1 commit into from Jun 8, 2017

Conversation

subkrish
Copy link
Contributor

@subkrish subkrish commented Jun 7, 2017

Issue #4431

This PR moves all inputs of ModifierOrderCheckTest of the modifier package to a new subdirectory 'modifierorder'.

@@ -68,7 +68,7 @@ public void testIt() throws Exception {
"49:35: " + getCheckMessage(MSG_ANNOTATION_ORDER, "@MyAnnotation4"),
"157:14: " + getCheckMessage(MSG_MODIFIER_ORDER, "default"),
};
verify(checkConfig, getPath("InputModifier.java"), expected);
verify(checkConfig, getPath("InputModifierIt.java"), expected);
Copy link
Member

@rnveach rnveach Jun 7, 2017

Choose a reason for hiding this comment

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

Test is named ModifierOrderCheckTest so files must start with InputModifierOrder.
Please change.

All inputs for this class should follow the pattern. I see others that aren't.
Class names of inputs should also be the same as file name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will change it accordingly but for very small files the change might result in deletion and creation when I commit and not a rename. Is that ok?

Copy link
Member

Choose a reason for hiding this comment

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

Yes.

@codecov-io
Copy link

codecov-io commented Jun 7, 2017

Codecov Report

Merging #4432 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4432   +/-   ##
=======================================
  Coverage   99.99%   99.99%           
=======================================
  Files         285      285           
  Lines       15297    15297           
  Branches     3482     3482           
=======================================
  Hits        15296    15296           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fcbcf3...d70ecf1. Read the comment docs.

@subkrish subkrish force-pushed the fix-issue-4431-modifierorder branch from da60edc to 924366f Compare June 7, 2017 21:13
… its input files to the modifierorder subdirectory
@subkrish subkrish force-pushed the fix-issue-4431-modifierorder branch from 924366f to d70ecf1 Compare June 7, 2017 21:59
@rnveach rnveach merged commit ad2db09 into checkstyle:master Jun 8, 2017
@subkrish subkrish deleted the fix-issue-4431-modifierorder branch June 8, 2017 02:54
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

3 participants