INT-1614 removed warnings
This commit is contained in:
2
buildSrc
2
buildSrc
Submodule buildSrc updated: 1a05823b61...2e7df56522
@@ -21,7 +21,6 @@ import static org.mockito.Mockito.times;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mockito.Mockito;
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ import java.util.Set;
|
||||
|
||||
import org.apache.commons.net.ftp.FTPClient;
|
||||
import org.junit.Test;
|
||||
import org.mockito.Mockito;
|
||||
|
||||
import org.springframework.beans.factory.FactoryBean;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
@@ -35,8 +34,6 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.integration.endpoint.SourcePollingChannelAdapter;
|
||||
import org.springframework.integration.file.filters.CompositeFileListFilter;
|
||||
import org.springframework.integration.ftp.client.DefaultFtpClientFactory;
|
||||
import org.springframework.integration.ftp.client.FtpClientFactory;
|
||||
import org.springframework.integration.ftp.client.FtpClientPool;
|
||||
import org.springframework.integration.ftp.inbound.FtpInboundRemoteFileSystemSynchronizer;
|
||||
import org.springframework.integration.ftp.inbound.FtpInboundRemoteFileSystemSynchronizingMessageSource;
|
||||
import org.springframework.integration.test.util.TestUtils;
|
||||
@@ -65,15 +62,6 @@ public class FtpInboundChannelAdapterParserTests {
|
||||
assertEquals(2, filters.size());
|
||||
assertTrue(filters.contains(ac.getBean("entryListFilter")));
|
||||
|
||||
FtpClientPool clientPoll = (FtpClientPool) TestUtils.getPropertyValue(inbound, "clientPool");
|
||||
|
||||
// FtpClientFactory<?> clientFactory = (FtpClientFactory<?>) TestUtils.getPropertyValue(clientPoll, "factory");
|
||||
// assertEquals("localhost", TestUtils.getPropertyValue(clientFactory, "host"));
|
||||
// assertEquals(22, TestUtils.getPropertyValue(clientFactory, "port"));
|
||||
// assertEquals("user", TestUtils.getPropertyValue(clientFactory, "username"));
|
||||
// assertEquals("password", TestUtils.getPropertyValue(clientFactory, "password"));
|
||||
// assertEquals("foo/bar", TestUtils.getPropertyValue(clientFactory, "remoteWorkingDirectory"));
|
||||
// System.out.println();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -23,15 +23,12 @@ import static junit.framework.Assert.assertTrue;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.integration.endpoint.SourcePollingChannelAdapter;
|
||||
import org.springframework.integration.file.filters.CompositeFileListFilter;
|
||||
import org.springframework.integration.ftp.client.FtpClientFactory;
|
||||
import org.springframework.integration.ftp.client.FtpClientPool;
|
||||
import org.springframework.integration.ftp.inbound.FtpInboundRemoteFileSystemSynchronizer;
|
||||
import org.springframework.integration.ftp.inbound.FtpInboundRemoteFileSystemSynchronizingMessageSource;
|
||||
import org.springframework.integration.test.util.TestUtils;
|
||||
@@ -61,15 +58,6 @@ public class FtpsInboundChannelAdapterParserTests {
|
||||
assertEquals(2, filters.size());
|
||||
assertTrue(filters.contains(ac.getBean("entryListFilter")));
|
||||
|
||||
FtpClientPool clientPoll = (FtpClientPool) TestUtils.getPropertyValue(inbound, "clientPool");
|
||||
|
||||
// FtpClientFactory<?> clientFactory = (FtpClientFactory<?>) TestUtils.getPropertyValue(clientPoll, "factory");
|
||||
// assertEquals("localhost", TestUtils.getPropertyValue(clientFactory, "host"));
|
||||
// assertEquals(22, TestUtils.getPropertyValue(clientFactory, "port"));
|
||||
// assertEquals("user", TestUtils.getPropertyValue(clientFactory, "username"));
|
||||
// assertEquals("password", TestUtils.getPropertyValue(clientFactory, "password"));
|
||||
// assertEquals("foo/bar", TestUtils.getPropertyValue(clientFactory, "remoteWorkingDirectory"));
|
||||
// System.out.println();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -19,7 +19,6 @@ import static junit.framework.Assert.assertEquals;
|
||||
import static junit.framework.Assert.assertNotNull;
|
||||
import static junit.framework.Assert.assertTrue;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.context.ApplicationContext;
|
||||
@@ -53,8 +52,5 @@ public class FtpsOutboundChannelAdapterParserTests {
|
||||
FtpClientFactory<?> clientFactory = (FtpClientFactory<?>) TestUtils.getPropertyValue(clientPoll, "factory");
|
||||
assertEquals("localhost", TestUtils.getPropertyValue(clientFactory, "host"));
|
||||
assertEquals(22, TestUtils.getPropertyValue(clientFactory, "port"));
|
||||
// assertEquals("user", TestUtils.getPropertyValue(clientFactory, "username"));
|
||||
// assertEquals("password", TestUtils.getPropertyValue(clientFactory, "password"));
|
||||
// assertEquals("foo/bar", TestUtils.getPropertyValue(clientFactory, "remoteWorkingDirectory"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,6 @@ import static org.mockito.Mockito.when;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.OutputStream;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.commons.net.ftp.FTPClient;
|
||||
import org.apache.commons.net.ftp.FTPFile;
|
||||
|
||||
Reference in New Issue
Block a user