Committed by
Gerrit Code Review
Follow JUnit 4 style instead of JUnit 3 style
Change-Id: I594e458c4c609dab06179a04462284f2b3565674
Showing
1 changed file
with
4 additions
and
2 deletions
... | @@ -15,7 +15,6 @@ | ... | @@ -15,7 +15,6 @@ |
15 | */ | 15 | */ |
16 | package org.onosproject.store.host.impl; | 16 | package org.onosproject.store.host.impl; |
17 | 17 | ||
18 | -import junit.framework.TestCase; | ||
19 | import org.junit.After; | 18 | import org.junit.After; |
20 | import org.junit.Before; | 19 | import org.junit.Before; |
21 | import org.junit.Test; | 20 | import org.junit.Test; |
... | @@ -32,10 +31,13 @@ import org.onosproject.store.service.TestStorageService; | ... | @@ -32,10 +31,13 @@ import org.onosproject.store.service.TestStorageService; |
32 | import java.util.HashSet; | 31 | import java.util.HashSet; |
33 | import java.util.Set; | 32 | import java.util.Set; |
34 | 33 | ||
34 | +import static junit.framework.TestCase.assertTrue; | ||
35 | +import static org.junit.Assert.assertFalse; | ||
36 | + | ||
35 | /** | 37 | /** |
36 | * Tests for the ECHostStore. | 38 | * Tests for the ECHostStore. |
37 | */ | 39 | */ |
38 | -public class DistributedHostStoreTest extends TestCase { | 40 | +public class DistributedHostStoreTest { |
39 | 41 | ||
40 | private DistributedHostStore ecXHostStore; | 42 | private DistributedHostStore ecXHostStore; |
41 | 43 | ... | ... |
-
Please register or login to post a comment