View Javadoc

1   /*
2    * $Id: SmtpMimeNonAsciiFunctionalTestCase.java 22518 2011-07-22 07:00:22Z 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.email.functional;
12  
13  import java.util.Arrays;
14  import java.util.Collection;
15  import java.util.Locale;
16  
17  import org.junit.Test;
18  import org.junit.runners.Parameterized.Parameters;
19  
20  public class SmtpMimeNonAsciiFunctionalTestCase extends AbstractEmailFunctionalTestCase
21  {
22  
23      public SmtpMimeNonAsciiFunctionalTestCase(ConfigVariant variant, String configResources)
24      {
25          super(variant, MIME_MESSAGE, "smtp", configResources, Locale.JAPAN, "iso-2022-jp");
26      }
27  
28      @Parameters
29      public static Collection<Object[]> parameters()
30      {
31          return Arrays.asList(new Object[][]{
32              {ConfigVariant.SERVICE, "smtp-mime-functional-test-service.xml"},
33              {ConfigVariant.FLOW, "smtp-mime-functional-test-flow.xml"}
34          });
35      }      
36      
37      @Test
38      public void testSend() throws Exception
39      {
40          doSend();
41      }
42  
43  }