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

Feature/mip 424 #22

Merged
merged 6 commits into from
Jul 13, 2020
Merged

Feature/mip 424 #22

merged 6 commits into from
Jul 13, 2020

Conversation

kkingavio
Copy link
Contributor

Added Rule and Test

@kkingavio kkingavio requested a review from thedevnisarg July 13, 2020 17:03
RuleViolation rv2 = violations.find { it.fileName.contains('bad-global-with-listener.xml')}
rv2 != null
rv2.lineNumber == 10
rv2.message.contains('listener-config')
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this.

violations.size() == 2
violations[0].lineNumber == 23
violations[0].fileName.contains('on-error-logging-exception.xml')
violations[1].lineNumber == 69
Copy link
Contributor

Choose a reason for hiding this comment

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

can we add check for message here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Like-> OnErrorLogExceptionRule.RULE_VIOLATION_MESSAGE

violations.size() == 2
violations[0].lineNumber == 23
violations[0].fileName.contains('on-error-logging-exception.xml')
violations[1].lineNumber == 69
Copy link
Contributor

Choose a reason for hiding this comment

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

Like-> OnErrorLogExceptionRule.RULE_VIOLATION_MESSAGE

@kkingavio kkingavio merged commit b2fe2b8 into develop Jul 13, 2020
@kkingavio kkingavio deleted the feature/MIP-424 branch July 13, 2020 17:47
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.

2 participants