View Javadoc

1   /*
2    * $Id: RmiFunctionalTestCase.java 22471 2011-07-20 10:36:17Z claude.mamo $
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.rmi;
12  
13  import org.mule.transport.AbstractFunctionalTestCase;
14  
15  import java.util.Arrays;
16  import java.util.Collection;
17  
18  import org.junit.runners.Parameterized.Parameters;
19  
20  public class RmiFunctionalTestCase extends AbstractFunctionalTestCase
21  {      
22      public RmiFunctionalTestCase(ConfigVariant variant, String configResources)
23      {
24          super(variant, configResources);
25          this.prefix = "rmi";
26      }
27  
28      @Parameters
29      public static Collection<Object[]> parameters()
30      {
31          return Arrays.asList(new Object[][]{
32              {ConfigVariant.SERVICE, "rmi-functional-test-service.xml"},
33              {ConfigVariant.FLOW, "rmi-functional-test-flow.xml"}
34          });
35      }      
36  }