View Javadoc

1   /*
2    * $Id: StreamingDownloadMule1389TestCase.java 22465 2011-07-20 08:28:24Z justin.calleja $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.transport.tcp.issues;
12  
13  import java.util.Arrays;
14  import java.util.Collection;
15  
16  import org.junit.Rule;
17  import org.junit.runners.Parameterized.Parameters;
18  import org.mule.tck.junit4.rule.DynamicPort;
19  
20  /**
21   * This fails to work as described in the issue, but isn't HTTP...
22   */
23  public class StreamingDownloadMule1389TestCase extends AbstractStreamingDownloadMule1389TestCase
24  {
25      @Rule
26      public DynamicPort dynamicPort = new DynamicPort("port1");
27  
28      public StreamingDownloadMule1389TestCase(ConfigVariant variant, String configResources)
29      {
30          super(variant, configResources);
31      }
32      
33      @Parameters
34      public static Collection<Object[]> parameters()
35      {
36          return Arrays.asList(new Object[][]{
37              {ConfigVariant.SERVICE, "streaming-download-mule-1389-service.xml"},
38              {ConfigVariant.FLOW, "streaming-download-mule-1389-flow.xml"}});
39      }
40  }