-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
|
||
@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
if (nodesprocessed.contains(visited) || ( | ||
// (visited.arguments().size() != 3)&& | ||
// (visited.arguments().size() != 4)&& | ||
(visited.arguments().size() != 5) | ||
)) { |
Check warning
Code scanning / PMD
Useless parentheses. Warning
} | ||
// 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
|
||
@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
|
||
@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
} | ||
// 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
sandbox_platform_helper_test/src/org/sandbox/jdt/ui/tests/quickfix/Java9CleanUpTest.java
Fixed
Show fixed
Hide fixed
6b81a11
to
a3e7ce5
Compare
No description provided.