X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-netty-util%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fnettyutil%2Fhandler%2Fssh%2Fauthentication%2FLoginPasswordHandlerTest.java;h=b82434c0d88882a4e4766fb998eaca6c7416ba3d;hb=4cc10391eb899adf5e29c19c2ad0e4d094250abb;hp=d2ce899e0ac4306849c64a65bc5bea4f8da11d7e;hpb=2295d50e7212d80a9bc752f655fa66790ad45022;p=netconf.git diff --git a/netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPasswordHandlerTest.java b/netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPasswordHandlerTest.java index d2ce899e0a..b82434c0d8 100644 --- a/netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPasswordHandlerTest.java +++ b/netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/handler/ssh/authentication/LoginPasswordHandlerTest.java @@ -5,7 +5,6 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.netconf.nettyutil.handler.ssh.authentication; import static org.junit.Assert.assertEquals; @@ -14,12 +13,11 @@ import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -import org.apache.sshd.client.future.AuthFuture; -import org.apache.sshd.client.session.ClientSession; import org.junit.Test; +import org.opendaylight.netconf.shaded.sshd.client.future.AuthFuture; +import org.opendaylight.netconf.shaded.sshd.client.session.ClientSession; public class LoginPasswordHandlerTest { - @Test public void testLoginPassword() throws Exception { final LoginPasswordHandler loginPasswordHandler = new LoginPasswordHandler("user", "pwd"); @@ -33,4 +31,4 @@ public class LoginPasswordHandlerTest { verify(session).addPasswordIdentity("pwd"); verify(session).auth(); } -} \ No newline at end of file +}