File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
src/test/java/fr/greencodeinitiative/java Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 2929import org .sonar .api .utils .Version ;
3030
3131import static org .assertj .core .api .Assertions .assertThat ;
32- import static org .assertj .core .api .Assertions .fail ;
3332import static org .mockito .Mockito .doReturn ;
3433import static org .mockito .Mockito .mock ;
3534
3635class JavaRulesDefinitionTest {
3736
3837 private RulesDefinition .Repository repository ;
39- private RulesDefinition .Context context ;
4038
4139 private int rulesSize ;
4240
Original file line number Diff line number Diff line change 2222
2323class AvoidGettingSizeCollectionInLoopTest {
2424 @ Test
25- public void testBadForLoop () {
25+ void testBadForLoop () {
2626 CheckVerifier .newVerifier ()
2727 .onFile ("src/test/files/AvoidGettingSizeCollectionInForLoopBad.java" )
2828 .withCheck (new AvoidGettingSizeCollectionInLoop ())
You can’t perform that action at this time.
0 commit comments