View Javadoc

1   /*
2    * $Id: ErrorHandlerTestCase.java 22620 2011-08-09 10:02:17Z dirk.olmes $
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.example.errorhandler;
12  
13  import org.mule.api.config.MuleProperties;
14  import org.mule.tck.junit4.FunctionalTestCase;
15  import org.mule.util.SystemUtils;
16  
17  import java.util.Properties;
18  
19  import org.junit.Test;
20  
21  public class ErrorHandlerTestCase extends FunctionalTestCase
22  {
23  
24      @Override
25      protected Properties getStartUpProperties()
26      {
27          Properties startupProps = new Properties();
28          startupProps.put(MuleProperties.APP_HOME_DIRECTORY_PROPERTY, SystemUtils.JAVA_IO_TMPDIR);
29          return  startupProps;
30      }
31  
32      @Override
33      protected String getConfigResources()
34      {
35          return "mule-config.xml";
36      }
37  
38      @Test
39      public void testConfigSanity()
40      {
41          // empty
42      }
43      
44      // TODO Create a test to copy files from test-data/out to test-data/in
45  }
46  
47