X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-it%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Ftest%2Fsal%2Fbinding%2Fit%2FNotificationTest.java;h=8f8e475efe1697002adbb4bd5be88bed34aab7b0;hb=2c18b1c5c2f37e620883f308b2a1271616889add;hp=e6bbaab2d9dec48c659ac1bbf38e646fc021662b;hpb=567792806ed799ac649cc125bffb4debde40d254;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java b/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java index e6bbaab2d9..8f8e475efe 100644 --- a/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java +++ b/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationTest.java @@ -12,7 +12,6 @@ import static org.junit.Assert.assertNotNull; import java.math.BigInteger; import java.util.ArrayList; -import java.util.Collection; import java.util.List; import org.junit.Before; @@ -33,9 +32,8 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.Node import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowListener; import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SwitchFlowRemoved; import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowCookie; -import org.opendaylight.yangtools.concepts.Registration; +import org.opendaylight.yangtools.concepts.ListenerRegistration; import org.opendaylight.yangtools.yang.binding.NotificationListener; -import org.opendaylight.yangtools.yang.binding.RpcService; @Ignore public class NotificationTest extends AbstractTest { @@ -43,8 +41,8 @@ public class NotificationTest extends AbstractTest { private final FlowListener listener1 = new FlowListener(); private final FlowListener listener2 = new FlowListener(); - private Registration listener1Reg; - private Registration listener2Reg; + private ListenerRegistration listener1Reg; + private ListenerRegistration listener2Reg; private NotificationProviderService notifyProviderService; @@ -115,25 +113,6 @@ public class NotificationTest extends AbstractTest { listener2Reg = session.getSALService(NotificationProviderService.class).registerNotificationListener( listener2); } - - @Override - public void onSessionInitialized(ConsumerContext session) { - // TODO Auto-generated method stub - - } - - @Override - public Collection getImplementations() { - // TODO Auto-generated method stub - return null; - } - - @Override - public Collection getFunctionality() { - // TODO Auto-generated method stub - return null; - } - }; // registerConsumer method calls onSessionInitialized method above