commit | 918c16ec3c0bf98b7f7e73b239aa9b670f224bbb | [log] [tgz] |
---|---|---|
author | abat <abat@bigswitch.com> | Mon Nov 11 15:37:36 2013 -0800 |
committer | abat <abat@bigswitch.com> | Mon Nov 11 15:37:36 2013 -0800 |
tree | ba516f0149383043a8a9af87db06d86187bebfce | |
parent | 9711cd610025f761bf0c70b755a8496a65cc9868 [diff] | |
parent | fa93127bed57b5e81984e855d7020386112af64b [diff] |
Merge into master from pull request #121: Remove backend targets dictionary (https://github.com/floodlight/loxigen/pull/121)
diff --git a/java_gen/pre-written/src/test/java/org/projectfloodlight/openflow/types/IPv6AddressTest.java b/java_gen/pre-written/src/test/java/org/projectfloodlight/openflow/types/IPv6AddressTest.java index 672a0e1..6eb5743 100644 --- a/java_gen/pre-written/src/test/java/org/projectfloodlight/openflow/types/IPv6AddressTest.java +++ b/java_gen/pre-written/src/test/java/org/projectfloodlight/openflow/types/IPv6AddressTest.java
@@ -38,26 +38,6 @@ this.input = input; } - public WithMaskTaskCase hasMask() { - this.hasMask = true; - return this; - } - - public WithMaskTaskCase maskLength(int l) { - this.hasMask = l < 128; - for(int j=0; j < 8; j++) { - int pos = j * 8; - int index = Math.max(0, Math.min(7, pos - l)); - - if(index == 0) { - expectedMask[j] = 0; - } else { - expectedMask[j] = (byte) (-1 << index); - } - } - return this; - } - public WithMaskTaskCase maskHex(String string) { string = string.replaceAll(" ", ""); this.hasMask = true;