X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=bgp%2Frib-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fbgp%2Frib%2Fimpl%2FParserToSalTest.java;h=1ea3334bc3ba5069e08e8d4e0e31059b21f02ea4;hb=61e4a03e5554241bcb21dce49abe3e089e6e0237;hp=2597f8bbd1d2e184b50b698043f6eef8bf7b66d0;hpb=d60888a10b4c49cca3e3cc277ced79d05d0b3460;p=bgpcep.git diff --git a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/ParserToSalTest.java b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/ParserToSalTest.java index 2597f8bbd1..1ea3334bc3 100644 --- a/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/ParserToSalTest.java +++ b/bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/ParserToSalTest.java @@ -55,7 +55,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib. import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.TablesKey; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.Ipv4AddressFamily; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.UnicastSubsequentAddressFamily; -import org.opendaylight.yangtools.concepts.ListenerRegistration; +import org.opendaylight.yangtools.concepts.Registration; import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; @Ignore @@ -109,7 +109,7 @@ public class ParserToSalTest extends DefaultRibPoliciesMockTest { final BGPPeer peer = AbstractAddPathTest.configurePeer(tableRegistry, localAddress.getIpv4AddressNoZone(), rib, null, PeerRole.Ibgp, new StrictBGPPeerRegistry()); peer.instantiateServiceInstance(); - final ListenerRegistration reg = mock.registerUpdateListener(peer); + final Registration reg = mock.registerUpdateListener(peer); reg.close(); } @@ -125,7 +125,7 @@ public class ParserToSalTest extends DefaultRibPoliciesMockTest { final BGPPeer peer = AbstractAddPathTest.configurePeer(tableRegistry, localAddress.getIpv4AddressNoZone(), rib, null, PeerRole.Ibgp, new StrictBGPPeerRegistry()); peer.instantiateServiceInstance(); - final ListenerRegistration reg = mock.registerUpdateListener(peer); + final Registration reg = mock.registerUpdateListener(peer); reg.close(); }