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;
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() {
}
/**
- * Test correct header serialization
+ * Test correct header serialization.
*/
@Test
public void testSerializeHeader() {
}
/**
- * Test correct oxm-class return value
+ * Test correct oxm-class return value.
*/
@Test
public void testGetOxmClassCode() {
}
/**
- * Test correct oxm-field return value
+ * Test correct oxm-field return value.
*/
@Test
public void getOxmFieldCode() {
}
/**
- * Test correct value length return value
+ * Test correct value length return value.
*/
@Test
public void testGetValueLength() {
assertEquals("Wrong hasMask", hasMask, (fieldAndMask & 1) != 0);
assertEquals("Wrong length", EncodeConstants.SIZE_OF_SHORT_IN_BYTES, buffer.readUnsignedByte());
}
-}
\ No newline at end of file
+}