summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/test/java/io/fd
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2016-09-30 14:18:15 +0200
committerJan Srnicek <jsrnicek@cisco.com>2016-09-30 14:20:04 +0200
commit90ab4a03a5b3ff662324019e497d832f7e396323 (patch)
tree27e6609e6bf1e7c44c3e5713ab6a48566d2392d0 /lisp/lisp2vpp/src/test/java/io/fd
parent59d7e8bbce13d0264858476342039ec5042a4c05 (diff)
HONEYCOMB-230 : Refactor of Adjacencies api use
Change-Id: Ia83a5792c0e86fd5054d713038c2ed0a1c44a34e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/lisp2vpp/src/test/java/io/fd')
-rw-r--r--lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizerTest.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizerTest.java b/lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizerTest.java
index 16942fe9d..b32b0bbe2 100644
--- a/lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizerTest.java
+++ b/lisp/lisp2vpp/src/test/java/io/fd/honeycomb/lisp/translate/write/AdjacencyCustomizerTest.java
@@ -113,15 +113,16 @@ public class AdjacencyCustomizerTest extends WriterCustomizerTest {
32, IPV4.getValue(), 2);
}
- private static void verifyRequest(final LispAddDelAdjacency request, final int isAdd, final byte[] seid,
- final int seidLen, final byte[] deid, final int deidLen, final int eidType,
+ private static void verifyRequest(final LispAddDelAdjacency request, final int isAdd, final byte[] leid,
+ final int leidLen, final byte[] reid, final int reidLen, final int eidType,
final int vni) {
assertNotNull(request);
assertEquals(isAdd, request.isAdd);
- assertArrayEquals(seid, request.seid);
- assertEquals(seidLen, request.seidLen);
- assertArrayEquals(deid, request.deid);
+ assertArrayEquals(leid, request.leid);
+ assertEquals(leidLen, request.leidLen);
+ assertArrayEquals(reid, request.reid);
+ assertEquals(reidLen, request.reidLen);
assertEquals(eidType, request.eidType);
assertEquals(vni, request.vni);