X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflow-protocol-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowjava%2Fprotocol%2Fimpl%2Fserialization%2FSerializerRegistryImplTest.java;h=abed50d9e93dec66454bf1e85dc12d4d0a4376ad;hb=29a2a074c78708f6d18583779ece96bb6573f0c6;hp=c52300182849441e264fbabb350a5512c0efc7f2;hpb=3c8a9aff10032d0b647f42ca0b4a136f9975c88d;p=openflowjava.git diff --git a/openflow-protocol-impl/src/test/java/org/opendaylight/openflowjava/protocol/impl/serialization/SerializerRegistryImplTest.java b/openflow-protocol-impl/src/test/java/org/opendaylight/openflowjava/protocol/impl/serialization/SerializerRegistryImplTest.java index c5230018..abed50d9 100644 --- a/openflow-protocol-impl/src/test/java/org/opendaylight/openflowjava/protocol/impl/serialization/SerializerRegistryImplTest.java +++ b/openflow-protocol-impl/src/test/java/org/opendaylight/openflowjava/protocol/impl/serialization/SerializerRegistryImplTest.java @@ -1,4 +1,3 @@ - /* * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved. * @@ -10,18 +9,18 @@ package org.opendaylight.openflowjava.protocol.impl.serialization; import org.junit.Assert; import org.junit.Test; -import org.opendaylight.openflowjava.protocol.api.extensibility.MessageTypeKey; +import org.opendaylight.openflowjava.protocol.api.keys.MessageTypeKey; import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants; import org.opendaylight.openflowjava.protocol.impl.util.OF13MatchSerializer; -import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.match.grouping.Match; +import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.grouping.Match; /** - * + * * @author madamjak * */ public class SerializerRegistryImplTest { - + private static final short OF13 = EncodeConstants.OF13_VERSION_ID; private static final short OF10 = EncodeConstants.OF10_VERSION_ID; @@ -47,10 +46,10 @@ public class SerializerRegistryImplTest { } /** - * Test - unregister serializer + * Test - unregister serializer */ @Test - public void testUnRegisterSerialize(){ + public void testUnRegisterSerializer(){ SerializerRegistryImpl serReg = new SerializerRegistryImpl(); serReg.init(); serReg.registerSerializer(new MessageTypeKey<>(OF13, Match.class), new OF13MatchSerializer());