View Javadoc

1   /*
2    * $Id: MultipleNamedConnectorsTestCase.java 22521 2011-07-22 08:31:07Z 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.test.config;
12  
13  import java.util.Arrays;
14  import java.util.Collection;
15  
16  import org.junit.Test;
17  import org.junit.runners.Parameterized.Parameters;
18  import org.mule.tck.AbstractServiceAndFlowTestCase;
19  
20  public class MultipleNamedConnectorsTestCase extends AbstractServiceAndFlowTestCase
21  {
22  
23      public MultipleNamedConnectorsTestCase(ConfigVariant variant, String configResources)
24      {
25          super(variant, configResources);
26      }
27  
28      @Parameters
29      public static Collection<Object[]> parameters()
30      {
31          return Arrays.asList(new Object[][]{
32              {ConfigVariant.SERVICE, "multiple-named-connectors-test-service.xml"},
33              {ConfigVariant.FLOW, "multiple-named-connectors-test-flow.xml"}
34          });
35      }
36  
37      @Test
38      public void testMultipleNamedConnectors() throws Exception
39      {
40          // no-op, the initialization must not fail.   
41      }
42  }