Merge "Bug 1245: Dropped Binding prefix from Binding Data APIs."
[controller.git] / opendaylight / sal / api / src / test / java / org / opendaylight / controller / sal / core / NodeConnectorTest.java
index f7e8f4515dbfca8a232551dba9e93e1cb6a85244..f85b7b4b01c5651c274bcbdb85d9ec33efa936ac 100644 (file)
@@ -20,15 +20,13 @@ import java.util.UUID;
 
 import org.junit.Assert;
 import org.junit.Test;
-import org.opendaylight.controller.sal.core.ConstructionException;
-import org.opendaylight.controller.sal.core.Node;
-import org.opendaylight.controller.sal.core.NodeConnector;
 
 public class NodeConnectorTest {
     @Test
     public void testNodeConnectorOpenFlowOfWrongType() {
         try {
             Node n1 = new Node(Node.NodeIDType.OPENFLOW, new Long(110L));
+            @SuppressWarnings("unused")
             NodeConnector of1 = new NodeConnector(
                     NodeConnector.NodeConnectorIDType.OPENFLOW, new String(
                             "0xDEADBEEFCAFE0001L"), n1);
@@ -48,6 +46,7 @@ public class NodeConnectorTest {
     public void testNodeConnectorONEPKOfWrongType() {
         try {
             Node n1 = new Node(Node.NodeIDType.ONEPK, new String("Router1"));
+            @SuppressWarnings("unused")
             NodeConnector onepk1 = new NodeConnector(
                     NodeConnector.NodeConnectorIDType.ONEPK, new Long(
                             0xDEADBEEFCAFE0001L), n1);
@@ -67,6 +66,7 @@ public class NodeConnectorTest {
     public void testNodeConnectorPCEPOfWrongType() {
         try {
             Node n1 = new Node(Node.NodeIDType.PCEP, new UUID(0L, 0L));
+            @SuppressWarnings("unused")
             NodeConnector pcep1 = new NodeConnector(
                     NodeConnector.NodeConnectorIDType.PCEP, new Long(
                             0xDEADBEEFCAFE0001L), n1);
@@ -313,6 +313,7 @@ public class NodeConnectorTest {
         }
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void testIncompatibleNodes() {
         try {