JUnit @Test methods must not be static

This commit is contained in:
Ben Liblit 2017-05-14 22:30:05 +02:00 committed by Manu Sridharan
parent 8cc4daf6a0
commit 3b9cd9838a
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ public final class SemiSparseMutableIntSetTest extends WalaTestCase {
// --- Test cases
@SuppressWarnings("static-method")
@Test public void testCase1() {
final SemiSparseMutableIntSet ssmIntSet = new SemiSparseMutableIntSet();
ssmIntSet.add(1);

View File

@ -37,6 +37,7 @@ public final class TwoLevelVectorTest extends WalaTestCase {
// --- Test cases
@SuppressWarnings("static-method")
@Test public void testCase1() {
final TwoLevelVector<Integer> tlVector = new TwoLevelVector<>();
tlVector.iterator();