Merge "OPNFLWPLUG-929 : Remove deprecated guava library"
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / test / java / org / opendaylight / openflowjava / protocol / impl / serialization / match / OxmEthTypeSerializerTest.java
index 9bb5c9243d21fce6e24df112cde3bc37a15358e7..eec39173082cdaef1eaed52f2512f73a1d120dcb 100644 (file)
@@ -10,9 +10,9 @@ package org.opendaylight.openflowjava.protocol.impl.serialization.match;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
+
 import io.netty.buffer.ByteBuf;
 import io.netty.buffer.PooledByteBufAllocator;
-
 import org.junit.Test;
 import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants;
 import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
@@ -24,15 +24,16 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.matc
 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entry.value.grouping.match.entry.value.eth.type._case.EthTypeBuilder;
 
 /**
- * @author michal.polkorab
+ * Unit tests for OxmEthTypeSerializer.
  *
+ * @author michal.polkorab
  */
 public class OxmEthTypeSerializerTest {
 
     OxmEthTypeSerializer serializer = new OxmEthTypeSerializer();
 
     /**
-     * Test correct serialization
+     * Test correct serialization.
      */
     @Test
     public void testSerialize() {
@@ -47,7 +48,7 @@ public class OxmEthTypeSerializerTest {
     }
 
     /**
-     * Test correct header serialization
+     * Test correct header serialization.
      */
     @Test
     public void testSerializeHeader() {
@@ -61,7 +62,7 @@ public class OxmEthTypeSerializerTest {
     }
 
     /**
-     * Test correct oxm-class return value
+     * Test correct oxm-class return value.
      */
     @Test
     public void testGetOxmClassCode() {
@@ -69,7 +70,7 @@ public class OxmEthTypeSerializerTest {
     }
 
     /**
-     * Test correct oxm-field return value
+     * Test correct oxm-field return value.
      */
     @Test
     public void getOxmFieldCode() {
@@ -77,7 +78,7 @@ public class OxmEthTypeSerializerTest {
     }
 
     /**
-     * Test correct value length return value
+     * Test correct value length return value.
      */
     @Test
     public void testGetValueLength() {
@@ -109,4 +110,4 @@ public class OxmEthTypeSerializerTest {
         assertEquals("Wrong hasMask", hasMask, (fieldAndMask & 1) != 0);
         assertEquals("Wrong length", EncodeConstants.SIZE_OF_SHORT_IN_BYTES, buffer.readUnsignedByte());
     }
-}
\ No newline at end of file
+}