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

ignore case with 3 and 4 parameters only 5 parameter case #51

Merged
merged 13 commits into from
Mar 24, 2024

Conversation

carstenartur
Copy link
Owner

No description provided.


@ParameterizedTest
@EnumSource(PlatformStatusPatternsDontTouch.class)
public void testPlatformStatus_donttouch(PlatformStatusPatternsDontTouch test) throws CoreException {

Check warning

Code scanning / PMD

The JUnit 5 test method name 'testXMLCleanup_donttouch' doesn't match '[a-z][a-zA-Z0-9]*' Warning test

The JUnit 5 test method name 'testPlatformStatus_donttouch' doesn't match '[a-z][a-zA-Z0-9]*'
Comment on lines +76 to +80
if (nodesprocessed.contains(visited) || (
// (visited.arguments().size() != 3)&&
// (visited.arguments().size() != 4)&&
(visited.arguments().size() != 5)
)) {

Check warning

Code scanning / PMD

Useless parentheses. Warning

Useless parentheses.
}
// QualifiedName argstring5 = (QualifiedName) arguments.get(4);
QualifiedName argstring1 = (QualifiedName) arguments.get(0);
String mybinding= argstring1.getFullyQualifiedName();

Check warning

Code scanning / PMD

Avoid unused local variables such as 'element'. Warning

Avoid unused local variables such as 'mybinding'.

@ParameterizedTest
@EnumSource(PlatformStatusPatternsDontTouch.class)
public void testPlatformStatus_donttouch(PlatformStatusPatternsDontTouch test) throws CoreException {

Check warning

Code scanning / Pmd (reported by Codacy)

The JUnit 5 test method name 'testPlatformStatus_donttouch' doesn't match '[a-z][a-zA-Z0-9]*' Warning test

The JUnit 5 test method name 'testPlatformStatus_donttouch' doesn't match '[a-z][a-zA-Z0-9]*'

@ParameterizedTest
@EnumSource(PlatformStatusPatternsDontTouch.class)
public void testPlatformStatus_donttouch(PlatformStatusPatternsDontTouch test) throws CoreException {

Check notice

Code scanning / Pmd (reported by Codacy)

JUnit tests should include assert() or fail() Note test

JUnit tests should include assert() or fail()
}
// QualifiedName argstring5 = (QualifiedName) arguments.get(4);
QualifiedName argstring1 = (QualifiedName) arguments.get(0);
String mybinding= argstring1.getFullyQualifiedName();

Check notice

Code scanning / Pmd (reported by Codacy)

Avoid unused local variables such as 'mybinding'. Note

Avoid unused local variables such as 'mybinding'.
@carstenartur carstenartur force-pushed the ignorecasewith3and4parameters branch from 6b81a11 to a3e7ce5 Compare March 24, 2024 19:22
@carstenartur carstenartur merged commit f156f3c into main Mar 24, 2024
16 checks passed
@carstenartur carstenartur deleted the ignorecasewith3and4parameters branch March 24, 2024 19:48
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.

1 participant