diff options
Diffstat (limited to 'ipsec/ipsec-impl/src/test')
8 files changed, 45 insertions, 45 deletions
diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/IpsecModuleTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/IpsecModuleTest.java index 878edd9ac..41a8e539b 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/IpsecModuleTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/IpsecModuleTest.java @@ -38,8 +38,8 @@ import io.fd.honeycomb.translate.impl.write.registry.FlatWriterRegistryBuilder; import io.fd.honeycomb.translate.read.ReaderFactory; import io.fd.honeycomb.translate.util.YangDAG; import io.fd.honeycomb.translate.write.WriterFactory; -import io.fd.vpp.jvpp.core.future.FutureJVppCore; -import io.fd.vpp.jvpp.ikev2.future.FutureJVppIkev2Facade; +import io.fd.jvpp.core.future.FutureJVppCore; +import io.fd.jvpp.ikev2.future.FutureJVppIkev2Facade; import java.util.HashSet; import java.util.Set; import org.junit.Before; diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateCustomizerTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateCustomizerTest.java index 53cbb4b3e..3d60eb6d0 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateCustomizerTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateCustomizerTest.java @@ -16,9 +16,9 @@ package io.fd.hc2vpp.ipsec.read; -import static io.fd.vpp.jvpp.core.types.IpsecCryptoAlg.IPSEC_API_CRYPTO_ALG_AES_CBC_128; -import static io.fd.vpp.jvpp.core.types.IpsecIntegAlg.IPSEC_API_INTEG_ALG_SHA1_96; -import static io.fd.vpp.jvpp.core.types.IpsecProto.IPSEC_API_PROTO_ESP; +import static io.fd.jvpp.core.types.IpsecCryptoAlg.IPSEC_API_CRYPTO_ALG_AES_CBC_128; +import static io.fd.jvpp.core.types.IpsecIntegAlg.IPSEC_API_INTEG_ALG_SHA1_96; +import static io.fd.jvpp.core.types.IpsecProto.IPSEC_API_PROTO_ESP; import static org.junit.Assert.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; @@ -29,12 +29,12 @@ import io.fd.hc2vpp.common.translate.util.Ipv4Translator; import io.fd.hc2vpp.common.translate.util.Ipv6Translator; import io.fd.honeycomb.translate.read.ReadFailedException; import io.fd.honeycomb.translate.spi.read.ReaderCustomizer; -import io.fd.vpp.jvpp.core.dto.IpsecSaDetails; -import io.fd.vpp.jvpp.core.dto.IpsecSaDetailsReplyDump; -import io.fd.vpp.jvpp.core.dto.IpsecSaDump; -import io.fd.vpp.jvpp.core.types.IpsecSadEntry; -import io.fd.vpp.jvpp.core.types.IpsecSadFlags; -import io.fd.vpp.jvpp.core.types.Key; +import io.fd.jvpp.core.dto.IpsecSaDetails; +import io.fd.jvpp.core.dto.IpsecSaDetailsReplyDump; +import io.fd.jvpp.core.dto.IpsecSaDump; +import io.fd.jvpp.core.types.IpsecSadEntry; +import io.fd.jvpp.core.types.IpsecSadFlags; +import io.fd.jvpp.core.types.Key; import java.util.LinkedList; import org.junit.Test; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone; diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateSpdCustomizerTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateSpdCustomizerTest.java index 8c2ad09f9..87aece2f1 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateSpdCustomizerTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/read/IpsecStateSpdCustomizerTest.java @@ -26,12 +26,12 @@ import io.fd.hc2vpp.common.translate.util.Ipv4Translator; import io.fd.hc2vpp.common.translate.util.Ipv6Translator; import io.fd.honeycomb.translate.read.ReadFailedException; import io.fd.honeycomb.translate.spi.read.ReaderCustomizer; -import io.fd.vpp.jvpp.core.dto.IpsecSpdDetails; -import io.fd.vpp.jvpp.core.dto.IpsecSpdDetailsReplyDump; -import io.fd.vpp.jvpp.core.dto.IpsecSpdsDetails; -import io.fd.vpp.jvpp.core.dto.IpsecSpdsDetailsReplyDump; -import io.fd.vpp.jvpp.core.types.IpsecSpdAction; -import io.fd.vpp.jvpp.core.types.IpsecSpdEntry; +import io.fd.jvpp.core.dto.IpsecSpdDetails; +import io.fd.jvpp.core.dto.IpsecSpdDetailsReplyDump; +import io.fd.jvpp.core.dto.IpsecSpdsDetails; +import io.fd.jvpp.core.dto.IpsecSpdsDetailsReplyDump; +import io.fd.jvpp.core.types.IpsecSpdAction; +import io.fd.jvpp.core.types.IpsecSpdEntry; import java.util.LinkedList; import org.junit.Test; import org.opendaylight.yang.gen.v1.http.fd.io.hc2vpp.yang.vpp.ipsec.rev181213.IpsecStateSpdAugmentation; diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2GlobalConfigurationCustomizerTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2GlobalConfigurationCustomizerTest.java index 84ae9c7d6..dc703634f 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2GlobalConfigurationCustomizerTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2GlobalConfigurationCustomizerTest.java @@ -23,9 +23,9 @@ import static org.mockito.Mockito.when; import io.fd.hc2vpp.common.test.write.WriterCustomizerTest; import io.fd.hc2vpp.ipsec.helpers.SchemaContextTestHelper; import io.fd.honeycomb.translate.write.WriteFailedException; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2SetLocalKey; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2SetLocalKeyReply; -import io.fd.vpp.jvpp.ikev2.future.FutureJVppIkev2Facade; +import io.fd.jvpp.ikev2.dto.Ikev2SetLocalKey; +import io.fd.jvpp.ikev2.dto.Ikev2SetLocalKeyReply; +import io.fd.jvpp.ikev2.future.FutureJVppIkev2Facade; import org.junit.Test; import org.mockito.Mock; import org.opendaylight.yang.gen.v1.http.fd.io.hc2vpp.yang.vpp.ipsec.rev181213.IpsecIkeGlobalConfAugmentation; diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyCustomizerTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyCustomizerTest.java index b53ab7024..cbab036c6 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyCustomizerTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyCustomizerTest.java @@ -30,13 +30,13 @@ import io.fd.hc2vpp.ipsec.helpers.SchemaContextTestHelper; import io.fd.honeycomb.test.tools.HoneycombTestRunner; import io.fd.honeycomb.test.tools.annotations.InjectTestData; import io.fd.honeycomb.translate.write.WriteFailedException; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileAddDel; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileAddDelReply; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileSetAuth; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileSetAuthReply; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileSetTs; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileSetTsReply; -import io.fd.vpp.jvpp.ikev2.future.FutureJVppIkev2Facade; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileAddDel; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileAddDelReply; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileSetAuth; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileSetAuthReply; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileSetTs; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileSetTsReply; +import io.fd.jvpp.ikev2.future.FutureJVppIkev2Facade; import java.nio.ByteBuffer; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyIdentityCustomizerTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyIdentityCustomizerTest.java index 2a62b9494..312d3d7bf 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyIdentityCustomizerTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/Ikev2PolicyIdentityCustomizerTest.java @@ -28,9 +28,9 @@ import io.fd.hc2vpp.ipsec.helpers.SchemaContextTestHelper; import io.fd.honeycomb.test.tools.HoneycombTestRunner; import io.fd.honeycomb.test.tools.annotations.InjectTestData; import io.fd.honeycomb.translate.write.WriteFailedException; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileSetId; -import io.fd.vpp.jvpp.ikev2.dto.Ikev2ProfileSetIdReply; -import io.fd.vpp.jvpp.ikev2.future.FutureJVppIkev2Facade; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileSetId; +import io.fd.jvpp.ikev2.dto.Ikev2ProfileSetIdReply; +import io.fd.jvpp.ikev2.future.FutureJVppIkev2Facade; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSadEntryCustomizerTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSadEntryCustomizerTest.java index 9f1ef23aa..42840a0cf 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSadEntryCustomizerTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSadEntryCustomizerTest.java @@ -30,14 +30,14 @@ import io.fd.hc2vpp.ipsec.helpers.SchemaContextTestHelper; import io.fd.honeycomb.test.tools.HoneycombTestRunner; import io.fd.honeycomb.test.tools.annotations.InjectTestData; import io.fd.honeycomb.translate.write.WriteFailedException; -import io.fd.vpp.jvpp.core.dto.IpsecSadEntryAddDel; -import io.fd.vpp.jvpp.core.dto.IpsecSadEntryAddDelReply; -import io.fd.vpp.jvpp.core.types.IpsecCryptoAlg; -import io.fd.vpp.jvpp.core.types.IpsecIntegAlg; -import io.fd.vpp.jvpp.core.types.IpsecProto; -import io.fd.vpp.jvpp.core.types.IpsecSadEntry; -import io.fd.vpp.jvpp.core.types.IpsecSadFlags; -import io.fd.vpp.jvpp.core.types.Key; +import io.fd.jvpp.core.dto.IpsecSadEntryAddDel; +import io.fd.jvpp.core.dto.IpsecSadEntryAddDelReply; +import io.fd.jvpp.core.types.IpsecCryptoAlg; +import io.fd.jvpp.core.types.IpsecIntegAlg; +import io.fd.jvpp.core.types.IpsecProto; +import io.fd.jvpp.core.types.IpsecSadEntry; +import io.fd.jvpp.core.types.IpsecSadFlags; +import io.fd.jvpp.core.types.Key; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; @@ -118,7 +118,7 @@ public class IpsecSadEntryCustomizerTest extends WriterCustomizerTest implements final SadEntries data = sad.getSadEntries().get(0); final IpsecSadEntryAddDel request = new IpsecSadEntryAddDel(); request.isAdd = BYTE_TRUE; - request.entry = new io.fd.vpp.jvpp.core.types.IpsecSadEntry(); + request.entry = new io.fd.jvpp.core.types.IpsecSadEntry(); request.entry.spi = SPI_1002; request.entry.sadId = SAD_ID; request.entry.integrityKey = new Key(); diff --git a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSpdCustomizerTest.java b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSpdCustomizerTest.java index da9b7425b..d531d6248 100644 --- a/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSpdCustomizerTest.java +++ b/ipsec/ipsec-impl/src/test/java/io/fd/hc2vpp/ipsec/write/IpsecSpdCustomizerTest.java @@ -28,12 +28,12 @@ import io.fd.hc2vpp.ipsec.helpers.SchemaContextTestHelper; import io.fd.honeycomb.test.tools.HoneycombTestRunner; import io.fd.honeycomb.test.tools.annotations.InjectTestData; import io.fd.honeycomb.translate.write.WriteFailedException; -import io.fd.vpp.jvpp.core.dto.IpsecSpdAddDel; -import io.fd.vpp.jvpp.core.dto.IpsecSpdAddDelReply; -import io.fd.vpp.jvpp.core.dto.IpsecSpdEntryAddDel; -import io.fd.vpp.jvpp.core.dto.IpsecSpdEntryAddDelReply; -import io.fd.vpp.jvpp.core.types.IpsecSpdAction; -import io.fd.vpp.jvpp.core.types.IpsecSpdEntry; +import io.fd.jvpp.core.dto.IpsecSpdAddDel; +import io.fd.jvpp.core.dto.IpsecSpdAddDelReply; +import io.fd.jvpp.core.dto.IpsecSpdEntryAddDel; +import io.fd.jvpp.core.dto.IpsecSpdEntryAddDelReply; +import io.fd.jvpp.core.types.IpsecSpdAction; +import io.fd.jvpp.core.types.IpsecSpdEntry; import java.util.Collections; import org.junit.Test; import org.junit.runner.RunWith; |