Sho SHIMIZU
Committed by Gerrit Code Review

Apply JUnit4 style test

Change-Id: I16a639dbf5f9dd7f08068cf94312e5d04cb8776a
......@@ -16,7 +16,6 @@
package org.onosproject.dhcp;
import com.google.common.testing.EqualsTester;
import junit.framework.TestCase;
import org.junit.Assert;
import org.junit.Test;
import org.onlab.packet.Ip4Address;
......@@ -31,7 +30,7 @@ import static org.junit.Assert.fail;
/**
* Unit Tests for IPAssignment class.
*/
public class IpAssignmentTest extends TestCase {
public class IpAssignmentTest {
private final Date dateNow = new Date();
......
......@@ -16,7 +16,6 @@
package org.onosproject.store.service;
import com.google.common.testing.EqualsTester;
import junit.framework.TestCase;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
......@@ -26,7 +25,7 @@ import static org.hamcrest.Matchers.is;
* Unit Tests for DatabseUpdate class.
*/
public class DatabaseUpdateTest extends TestCase {
public class DatabaseUpdateTest {
private final DatabaseUpdate stats1 = DatabaseUpdate.newBuilder()
.withCurrentValue("1".getBytes())
......
......@@ -16,7 +16,6 @@
package org.onosproject.store.service;
import com.google.common.testing.EqualsTester;
import junit.framework.TestCase;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
......@@ -25,7 +24,7 @@ import static org.hamcrest.Matchers.is;
/**
* MapEvent unit tests.
*/
public class MapEventTest extends TestCase {
public class MapEventTest {
private final Versioned<Integer> vStats = new Versioned<>(2, 1);
......
......@@ -16,7 +16,6 @@
package org.onosproject.store.service;
import com.google.common.testing.EqualsTester;
import junit.framework.TestCase;
import org.junit.Assert;
import org.junit.Test;
......@@ -31,7 +30,7 @@ import static org.hamcrest.Matchers.notNullValue;
/**
* MultiValuedTimestamp unit tests.
*/
public class MultiValuedTimestampTest extends TestCase {
public class MultiValuedTimestampTest {
private final MultiValuedTimestamp<Integer, Integer> stats1 = new MultiValuedTimestamp<>(1, 3);
......
......@@ -16,7 +16,6 @@
package org.onosproject.store.service;
import com.google.common.testing.EqualsTester;
import junit.framework.TestCase;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
......@@ -25,7 +24,7 @@ import static org.hamcrest.Matchers.is;
/**
* Versioned unit tests.
*/
public class VersionedTest extends TestCase {
public class VersionedTest {
private final Versioned<Integer> stats1 = new Versioned<>(1, 2, 3);
......
......@@ -21,12 +21,14 @@ import com.esotericsoftware.minlog.Log;
import junit.framework.TestCase;
import static org.junit.Assert.fail;
/**
* Test of the Hexstring.
*
*/
public class HexStringTest extends TestCase {
public class HexStringTest {
@Test
public void testMarshalling() throws Exception {
......