X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Ftopology%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Ftopology%2Fnorthbound%2FTopologyTest.java;h=1e5ea0f2c576ac1b0e6b34e605f10b3f8841a9ad;hb=ff1b4a79cca00743a00c3b0b1100bd0ab2b2fb31;hp=13b6e5fcfdeea3d50385106f536f9d5e1dbb3162;hpb=e8dd07c183aa6735bafc9dfcd451b2db7fd76b98;p=controller.git diff --git a/opendaylight/northbound/topology/src/test/java/org/opendaylight/controller/topology/northbound/TopologyTest.java b/opendaylight/northbound/topology/src/test/java/org/opendaylight/controller/topology/northbound/TopologyTest.java index 13b6e5fcfd..1e5ea0f2c5 100644 --- a/opendaylight/northbound/topology/src/test/java/org/opendaylight/controller/topology/northbound/TopologyTest.java +++ b/opendaylight/northbound/topology/src/test/java/org/opendaylight/controller/topology/northbound/TopologyTest.java @@ -18,8 +18,12 @@ import org.opendaylight.controller.sal.core.Property; import org.opendaylight.controller.sal.core.State; import org.opendaylight.controller.sal.utils.NodeConnectorCreator; import org.opendaylight.controller.sal.utils.NodeCreator; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; public class TopologyTest { + protected static final Logger logger = LoggerFactory + .getLogger(TopologyTest.class); @Test public void edgePropertiesTopologyTest() { @@ -43,13 +47,13 @@ public class TopologyTest { try { e12 = new Edge(nc12, nc21); } catch (ConstructionException e) { - e.printStackTrace(); + logger.error("",e); assertTrue(false); } try { e23 = new Edge(nc23, nc32); } catch (ConstructionException e) { - e.printStackTrace(); + logger.error("",e); assertTrue(false); } @@ -109,6 +113,6 @@ public class TopologyTest { assertEquals(2, getEdgePropList.size()); } - + }