Skip to content

Commit

Permalink
Ignore sonar false positives
Browse files Browse the repository at this point in the history
These class generates tests they implement an interface
  • Loading branch information
sebastienvermeille committed Aug 20, 2024
1 parent 64837e4 commit 32fd852
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Sebastien Vermeille
*/
@SuppressWarnings("java:S2187") // sonar is not able to detect that BaseCaseStyleTest interface generates test
class KebabCaseStyleTest implements BaseCaseStyleTest<KebabCaseStyle> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Sebastien Vermeille
*/
@SuppressWarnings("java:S2187") // sonar is not able to detect that BaseCaseStyleTest interface generates test
class LowerCamelCaseStyleTest implements BaseCaseStyleTest<LowerCamelCaseStyle> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Sebastien Vermeille
*/
@SuppressWarnings("java:S2187") // sonar is not able to detect that BaseCaseStyleTest interface generates test
class PascalCaseStyleTest implements BaseCaseStyleTest<PascalCaseStyle> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Sebastien Vermeille
*/
@SuppressWarnings("java:S2187") // sonar is not able to detect that BaseCaseStyleTest interface generates test
class ScreamingSnakeCaseStyleTest implements BaseCaseStyleTest<ScreamingSnakeCaseStyle> {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
*
* @author Sebastien Vermeille
*/
@SuppressWarnings("java:S2187") // sonar is not able to detect that BaseCaseStyleTest interface generates test
class SnakeCaseStyleTest implements BaseCaseStyleTest<SnakeCaseStyle> {

@Override
Expand Down

0 comments on commit 32fd852

Please sign in to comment.