1
2
3
4
5
6
7 package org.mule.transport.sftp;
8
9 import org.junit.Test;
10
11
12
13
14 public class SftpQuartzRequesterFunctionalTestCase extends AbstractSftpTestCase
15 {
16
17 private static final long TIMEOUT = 20000;
18
19
20 final static int SEND_SIZE = 1024 * 1024 * 2;
21
22 @Override
23 protected String getConfigResources()
24 {
25 return "mule-sftp-quartzRequester-test-config.xml";
26 }
27
28 @Override
29 protected void doSetUp() throws Exception
30 {
31 super.doSetUp();
32
33
34 initEndpointDirectory("outboundEndpoint");
35 }
36
37
38
39
40 @Test
41 public void testQuartzRequester() throws Exception
42 {
43
44
45
46
47 executeBaseTest("inboundEndpoint", "vm://test.upload", FILE_NAME, SEND_SIZE, "receiving", TIMEOUT);
48 }
49 }