X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fmatch%2FMatchTest.java;h=5ec7d089b68dc6a257df8a4cd6bd08edc27d44c0;hb=8398f3adb544427642694be13abe9c3bc1a4e192;hp=f257befd3c3d64ed15f8dcc76cd87b501135f49d;hpb=f6b70bf10eed6de95ec52bb6bf6f47d6bc7c9eaf;p=controller.git diff --git a/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/match/MatchTest.java b/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/match/MatchTest.java index f257befd3c..5ec7d089b6 100644 --- a/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/match/MatchTest.java +++ b/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/match/MatchTest.java @@ -313,13 +313,13 @@ public class MatchTest { InetAddress ipMask2 = null; short ethertype = EtherTypes.IPv4.shortValue(); short ethertype2 = EtherTypes.IPv4.shortValue(); - + /* * Create a SAL Flow aFlow */ Match match1 = new Match(); Match match2 = new Match(); - + match1.setField(MatchType.DL_TYPE, ethertype); match1.setField(MatchType.NW_SRC, srcIP, ipMask); @@ -327,7 +327,7 @@ public class MatchTest { match2.setField(MatchType.NW_SRC, srcIP2, ipMask2); Assert.assertTrue(match1.equals(match2)); - + ipMask2 = InetAddress.getByName("255.255.255.255"); match2.setField(MatchType.NW_SRC, srcIP2, ipMask2); @@ -337,7 +337,7 @@ public class MatchTest { ipMask2 = InetAddress.getByName("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"); ethertype = EtherTypes.IPv6.shortValue(); ethertype2 = EtherTypes.IPv6.shortValue(); - + match1.setField(MatchType.DL_TYPE, ethertype); match1.setField(MatchType.NW_SRC, srcIP, ipMask); @@ -346,7 +346,7 @@ public class MatchTest { Assert.assertTrue(match1.equals(match2)); } - + @Test public void testCloning() throws Exception { Node node = NodeCreator.createOFNode(7l);