Committed by
Gerrit Code Review
Follow JUnit 4 style instead of JUnit 3 style
Change-Id: I594e458c4c609dab06179a04462284f2b3565674
Showing
1 changed file
with
5 additions
and
3 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 | ||
| ... | @@ -80,4 +82,4 @@ public class DistributedHostStoreTest extends TestCase { | ... | @@ -80,4 +82,4 @@ public class DistributedHostStoreTest extends TestCase { |
| 80 | assertTrue(host.ipAddresses().contains(IP2)); | 82 | assertTrue(host.ipAddresses().contains(IP2)); |
| 81 | } | 83 | } |
| 82 | 84 | ||
| 83 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 85 | +} | ... | ... |
-
Please register or login to post a comment