From 0d9be1f529fe370be518be823850ad186390ff46 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Mon, 21 Nov 2016 12:24:08 +0100 Subject: HONEYCOMB-282 - Lisp factories refactoring Refactoring to remove boilerplate code/for more readability Change-Id: I1ed09160a183c748e698087edf57063e25e8d953 Signed-off-by: Jan Srnicek --- lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/LispModuleTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lisp/lisp2vpp/src/test/java/io/fd') diff --git a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/LispModuleTest.java b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/LispModuleTest.java index bd4a32a5c..0225c0356 100644 --- a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/LispModuleTest.java +++ b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/LispModuleTest.java @@ -28,18 +28,18 @@ import com.google.inject.Inject; import com.google.inject.name.Named; import com.google.inject.testing.fieldbinder.Bind; import com.google.inject.testing.fieldbinder.BoundFieldModule; -import io.fd.honeycomb.translate.read.ReaderFactory; +import io.fd.hc2vpp.common.translate.util.NamingContext; import io.fd.honeycomb.translate.impl.read.registry.CompositeReaderRegistryBuilder; import io.fd.honeycomb.translate.impl.write.registry.FlatWriterRegistryBuilder; -import io.fd.hc2vpp.common.translate.util.NamingContext; +import io.fd.honeycomb.translate.read.ReaderFactory; import io.fd.honeycomb.translate.write.WriterFactory; +import io.fd.vpp.jvpp.core.future.FutureJVppCore; import java.util.HashSet; import java.util.Set; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.opendaylight.controller.md.sal.binding.api.DataBroker; -import io.fd.vpp.jvpp.core.future.FutureJVppCore; public class LispModuleTest { @@ -76,7 +76,7 @@ public class LispModuleTest { initMocks(this); interfaceContext = new NamingContext("interfaceContext", "interfaceContext"); bridgeDomainContext = new NamingContext("bridgeDomainContext", "bridgeDomainContext"); - Guice.createInjector(new LispModule(), BoundFieldModule.of(this)).injectMembers(this); + Guice.createInjector(new io.fd.hc2vpp.lisp.LispModule(), BoundFieldModule.of(this)).injectMembers(this); } @Test -- cgit 1.2.3-korg