Fix compilation error
Change-Id: Ifb967ff14ce3348f0b47e78cbd89bb97bcc945b4
Showing
1 changed file
with
7 additions
and
5 deletions
... | @@ -4,6 +4,7 @@ package org.onlab.onos.provider.lldp.impl; | ... | @@ -4,6 +4,7 @@ package org.onlab.onos.provider.lldp.impl; |
4 | import com.google.common.collect.ArrayListMultimap; | 4 | import com.google.common.collect.ArrayListMultimap; |
5 | import com.google.common.collect.Lists; | 5 | import com.google.common.collect.Lists; |
6 | import com.google.common.collect.Maps; | 6 | import com.google.common.collect.Maps; |
7 | + | ||
7 | import org.junit.After; | 8 | import org.junit.After; |
8 | import org.junit.Before; | 9 | import org.junit.Before; |
9 | import org.junit.Test; | 10 | import org.junit.Test; |
... | @@ -35,22 +36,18 @@ import org.onlab.onos.net.packet.PacketProcessor; | ... | @@ -35,22 +36,18 @@ import org.onlab.onos.net.packet.PacketProcessor; |
35 | import org.onlab.onos.net.packet.PacketService; | 36 | import org.onlab.onos.net.packet.PacketService; |
36 | import org.onlab.onos.net.provider.AbstractProviderService; | 37 | import org.onlab.onos.net.provider.AbstractProviderService; |
37 | import org.onlab.onos.net.provider.ProviderId; | 38 | import org.onlab.onos.net.provider.ProviderId; |
38 | - | ||
39 | import org.onlab.packet.ChassisId; | 39 | import org.onlab.packet.ChassisId; |
40 | import org.onlab.packet.Ethernet; | 40 | import org.onlab.packet.Ethernet; |
41 | - | ||
42 | import org.onlab.packet.ONOSLLDP; | 41 | import org.onlab.packet.ONOSLLDP; |
43 | 42 | ||
44 | import java.nio.ByteBuffer; | 43 | import java.nio.ByteBuffer; |
44 | +import java.util.Collections; | ||
45 | import java.util.HashMap; | 45 | import java.util.HashMap; |
46 | - | ||
47 | import java.util.List; | 46 | import java.util.List; |
48 | import java.util.Map; | 47 | import java.util.Map; |
49 | import java.util.Set; | 48 | import java.util.Set; |
50 | 49 | ||
51 | import static org.junit.Assert.*; | 50 | import static org.junit.Assert.*; |
52 | -import static org.junit.Assert.assertFalse; | ||
53 | -import static org.junit.Assert.assertTrue; | ||
54 | 51 | ||
55 | public class LLDPLinkProviderTest { | 52 | public class LLDPLinkProviderTest { |
56 | 53 | ||
... | @@ -482,6 +479,11 @@ public class LLDPLinkProviderTest { | ... | @@ -482,6 +479,11 @@ public class LLDPLinkProviderTest { |
482 | public void removeListener(MastershipListener listener) { | 479 | public void removeListener(MastershipListener listener) { |
483 | 480 | ||
484 | } | 481 | } |
482 | + | ||
483 | + @Override | ||
484 | + public List<NodeId> getNodesFor(DeviceId deviceId) { | ||
485 | + return Collections.emptyList(); | ||
486 | + } | ||
485 | } | 487 | } |
486 | 488 | ||
487 | 489 | ... | ... |
-
Please register or login to post a comment