View Javadoc

1   /*
2    * $Id: StreamingDownloadMule1389TestCase.java 22467 2011-07-20 09:03: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.http.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  import org.mule.transport.tcp.issues.AbstractStreamingDownloadMule1389TestCase;
20  
21  /**
22   * This fails to work as described in the issue.  We need more info.
23   */
24  public class StreamingDownloadMule1389TestCase extends AbstractStreamingDownloadMule1389TestCase
25  {
26  
27      @Rule
28      public DynamicPort dynamicPort = new DynamicPort("port1");
29  
30      public StreamingDownloadMule1389TestCase(ConfigVariant variant, String configResources)
31      {
32          super(variant, configResources);
33      }
34      
35      @Parameters
36      public static Collection<Object[]> parameters()
37      {
38          return Arrays.asList(new Object[][]{
39              {ConfigVariant.SERVICE, "streaming-download-mule-1389-service.xml"},
40              {ConfigVariant.FLOW, "streaming-download-mule-1389-flow.xml"}
41          });
42      }
43  
44  }