use of org.opendaylight.openflowjava.protocol.api.keys.ExperimenterIdDeserializerKey in project openflowplugin by opendaylight.
the class ExperimenterDeserializerKeyFactoryTest method testCreateMultipartReplyTFDeserializerKey.
@Test
public void testCreateMultipartReplyTFDeserializerKey() throws Exception {
ExperimenterIdDeserializerKey createdKey;
ExperimenterIdDeserializerKey comparationKey;
createdKey = ExperimenterDeserializerKeyFactory.createMultipartReplyTFDeserializerKey(EncodeConstants.OF10_VERSION_ID, 46L);
comparationKey = new ExperimenterIdDeserializerKey(EncodeConstants.OF10_VERSION_ID, 46L, TableFeatureProperties.class);
Assert.assertEquals("Wrong key created", comparationKey, createdKey);
}
use of org.opendaylight.openflowjava.protocol.api.keys.ExperimenterIdDeserializerKey in project openflowplugin by opendaylight.
the class ExperimenterDeserializerKeyFactoryTest method testCreateMultipartReplyVendorMessageDeserializerKey.
@Test
public void testCreateMultipartReplyVendorMessageDeserializerKey() throws Exception {
ExperimenterIdDeserializerKey createdKey;
ExperimenterIdDeserializerKey comparationKey;
createdKey = ExperimenterDeserializerKeyFactory.createMultipartReplyVendorMessageDeserializerKey(EncodeConstants.OF10_VERSION_ID, 43L);
comparationKey = new ExperimenterIdDeserializerKey(EncodeConstants.OF10_VERSION_ID, 43L, ExperimenterDataOfChoice.class);
Assert.assertEquals("Wrong key created", comparationKey, createdKey);
}
use of org.opendaylight.openflowjava.protocol.api.keys.ExperimenterIdDeserializerKey in project openflowplugin by opendaylight.
the class ExperimenterDeserializerKeyFactoryTest method testCreateQueuePropertyDeserializerKey.
@Test
public void testCreateQueuePropertyDeserializerKey() throws Exception {
ExperimenterIdDeserializerKey createdKey;
ExperimenterIdDeserializerKey comparationKey;
createdKey = ExperimenterDeserializerKeyFactory.createQueuePropertyDeserializerKey(EncodeConstants.OF10_VERSION_ID, 47L);
comparationKey = new ExperimenterIdDeserializerKey(EncodeConstants.OF10_VERSION_ID, 47L, QueueProperty.class);
Assert.assertEquals("Wrong key created", comparationKey, createdKey);
}
use of org.opendaylight.openflowjava.protocol.api.keys.ExperimenterIdDeserializerKey in project openflowplugin by opendaylight.
the class ExperimenterDeserializerKeyFactoryTest method testCreateMeterBandDeserializerKey.
@Test
public void testCreateMeterBandDeserializerKey() throws Exception {
ExperimenterIdDeserializerKey createdKey;
ExperimenterIdDeserializerKey comparationKey;
createdKey = ExperimenterDeserializerKeyFactory.createMeterBandDeserializerKey(EncodeConstants.OF10_VERSION_ID, 44L);
comparationKey = new ExperimenterIdDeserializerKey(EncodeConstants.OF10_VERSION_ID, 44L, MeterBandExperimenterCase.class);
Assert.assertEquals("Wrong key created", comparationKey, createdKey);
}
Aggregations