JUnit @Test methods must not be static
This commit is contained in:
parent
8cc4daf6a0
commit
3b9cd9838a
|
@ -36,6 +36,7 @@ public final class SemiSparseMutableIntSetTest extends WalaTestCase {
|
||||||
|
|
||||||
// --- Test cases
|
// --- Test cases
|
||||||
|
|
||||||
|
@SuppressWarnings("static-method")
|
||||||
@Test public void testCase1() {
|
@Test public void testCase1() {
|
||||||
final SemiSparseMutableIntSet ssmIntSet = new SemiSparseMutableIntSet();
|
final SemiSparseMutableIntSet ssmIntSet = new SemiSparseMutableIntSet();
|
||||||
ssmIntSet.add(1);
|
ssmIntSet.add(1);
|
||||||
|
|
|
@ -37,6 +37,7 @@ public final class TwoLevelVectorTest extends WalaTestCase {
|
||||||
|
|
||||||
// --- Test cases
|
// --- Test cases
|
||||||
|
|
||||||
|
@SuppressWarnings("static-method")
|
||||||
@Test public void testCase1() {
|
@Test public void testCase1() {
|
||||||
final TwoLevelVector<Integer> tlVector = new TwoLevelVector<>();
|
final TwoLevelVector<Integer> tlVector = new TwoLevelVector<>();
|
||||||
tlVector.iterator();
|
tlVector.iterator();
|
||||||
|
|
Loading…
Reference in New Issue