X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Farphandler%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Farphandler%2Finternal%2FArphandlerTest.java;h=e4e17cb2d64efa717f8348e8b2f94290609ab121;hp=b863d2b92383c7bd404773c76f5e15e7d4b444fc;hb=9e43cfabdc83df4c5db51ce6e22e0cecca12aa9a;hpb=1bad1b7ca9a87f9e1d32cfcf5a181354fc378ad4 diff --git a/opendaylight/arphandler/src/test/java/org/opendaylight/controller/arphandler/internal/ArphandlerTest.java b/opendaylight/arphandler/src/test/java/org/opendaylight/controller/arphandler/internal/ArphandlerTest.java index b863d2b923..e4e17cb2d6 100644 --- a/opendaylight/arphandler/src/test/java/org/opendaylight/controller/arphandler/internal/ArphandlerTest.java +++ b/opendaylight/arphandler/src/test/java/org/opendaylight/controller/arphandler/internal/ArphandlerTest.java @@ -15,11 +15,8 @@ import org.junit.Test; import junit.framework.TestCase; import org.opendaylight.controller.hosttracker.IfIptoHost; -import org.opendaylight.controller.hosttracker.HostTracker; import org.opendaylight.controller.switchmanager.ISwitchManager; -import org.opendaylight.controller.switchmanager.internal.SwitchManagerImpl; - public class ArphandlerTest extends TestCase { @@ -30,23 +27,6 @@ public class ArphandlerTest extends TestCase { ah = new ArpHandler(); Assert.assertTrue(ah != null); - HostTracker hostTracker = null; - hostTracker = new HostTracker(); - ah.setHostTracker(hostTracker); - IfIptoHost ht= ah.getHostTracker(); - Assert.assertTrue(ht.equals(hostTracker)); - ah.unsetHostTracker(hostTracker); - ht= ah.getHostTracker(); - Assert.assertTrue(ht == null); - - ah.setHostListener(hostTracker); - ah.unsetHostListener(hostTracker); - - ISwitchManager swManager = new SwitchManagerImpl(); - ah.setSwitchManager(swManager); - ah.unsetSwitchManager(swManager); - } - }