Code Review
/
openflowplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bump upstreams
[openflowplugin.git]
/
openflowplugin-impl
/
src
/
test
/
java
/
org
/
opendaylight
/
openflowplugin
/
impl
/
protocol
/
serialization
/
match
/
Ipv6DestinationEntrySerializerTest.java
diff --git
a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/protocol/serialization/match/Ipv6DestinationEntrySerializerTest.java
b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/protocol/serialization/match/Ipv6DestinationEntrySerializerTest.java
index 719fc16e3087bf78d609e0285bc764942e7cbc82..76aa76fa1a19a2c8fdd5447764aebec5f6b563d1 100644
(file)
--- a/
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/protocol/serialization/match/Ipv6DestinationEntrySerializerTest.java
+++ b/
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/protocol/serialization/match/Ipv6DestinationEntrySerializerTest.java
@@
-23,7
+23,7
@@
import org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026
public class Ipv6DestinationEntrySerializerTest extends AbstractMatchEntrySerializerTest {
@Test
public class Ipv6DestinationEntrySerializerTest extends AbstractMatchEntrySerializerTest {
@Test
- public void testSerialize()
throws Exception
{
+ public void testSerialize() {
final Ipv6Prefix ipv6Address = new Ipv6Prefix("2001:db8::/32");
final Match ipv6abmMatch = new MatchBuilder()
final Ipv6Prefix ipv6Address = new Ipv6Prefix("2001:db8::/32");
final Match ipv6abmMatch = new MatchBuilder()
@@
-36,7
+36,7
@@
public class Ipv6DestinationEntrySerializerTest extends AbstractMatchEntrySerial
byte[] address = new byte[16];
out.readBytes(address);
assertArrayEquals(address,
byte[] address = new byte[16];
out.readBytes(address);
assertArrayEquals(address,
- IetfInetUtil.
INSTANCE.
ipv6AddressBytes(IpConversionUtil.extractIpv6Address(ipv6Address)));
+ IetfInetUtil.ipv6AddressBytes(IpConversionUtil.extractIpv6Address(ipv6Address)));
byte[] mask = new byte[16];
out.readBytes(mask);
byte[] mask = new byte[16];
out.readBytes(mask);
@@
-46,7
+46,7
@@
public class Ipv6DestinationEntrySerializerTest extends AbstractMatchEntrySerial
}
@Test
}
@Test
- public void testSerializeWithoutMask()
throws Exception
{
+ public void testSerializeWithoutMask() {
final Ipv6Prefix ipv6Address = new Ipv6Prefix("2001:db8::123/128");
final Match ipv6abmMatch = new MatchBuilder()
final Ipv6Prefix ipv6Address = new Ipv6Prefix("2001:db8::123/128");
final Match ipv6abmMatch = new MatchBuilder()
@@
-59,7
+59,7
@@
public class Ipv6DestinationEntrySerializerTest extends AbstractMatchEntrySerial
byte[] address = new byte[16];
out.readBytes(address);
assertArrayEquals(address,
byte[] address = new byte[16];
out.readBytes(address);
assertArrayEquals(address,
- IetfInetUtil.
INSTANCE.
ipv6AddressBytes(IpConversionUtil.extractIpv6Address(ipv6Address)));
+ IetfInetUtil.ipv6AddressBytes(IpConversionUtil.extractIpv6Address(ipv6Address)));
});
}
});
}