X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fopenflow%2Fmd%2Futil%2FPortTranslatorUtilTest.java;h=b25d3160ec9b77ce5649446b07be01221a394b57;hb=a6082c15381046d10772dda7fbdc0e2c620f30a6;hp=56abed670c25fd27b2b5016a7bee47857dc22b48;hpb=effa31f9335a3fc6ae33aa85f09ea81b3bc2481f;p=openflowplugin.git diff --git a/openflowplugin/src/test/java/org/opendaylight/openflowplugin/openflow/md/util/PortTranslatorUtilTest.java b/openflowplugin/src/test/java/org/opendaylight/openflowplugin/openflow/md/util/PortTranslatorUtilTest.java index 56abed670c..b25d3160ec 100644 --- a/openflowplugin/src/test/java/org/opendaylight/openflowplugin/openflow/md/util/PortTranslatorUtilTest.java +++ b/openflowplugin/src/test/java/org/opendaylight/openflowplugin/openflow/md/util/PortTranslatorUtilTest.java @@ -11,8 +11,8 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; + import java.math.BigInteger; -import org.junit.Before; import org.junit.Test; import org.opendaylight.openflowplugin.api.openflow.md.util.OpenflowVersion; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress; @@ -39,11 +39,6 @@ public class PortTranslatorUtilTest { private final Long currentSpeed = Long.decode("4294967295"); private static final Long maxSpeed = Long.decode("4294967295"); - @Before - public void setupEnvironment(){ - OpenflowPortsUtil.init(); - } - /** * Test method for {@link PortTranslatorUtil#translatePortFeatures(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures)} */