1 /*
2 * $Id$
3 * --------------------------------------------------------------------------------------
4 * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.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.extras.spring.config;
12
13
14 /**
15 * Tests a Mule config from the file system (i.e., not from the classpath) which loads Spring configs
16 * via <code><import resource="file.xml"/></code> statements. The Spring configs will be loaded from the same directory
17 * as the Mule config (Spring uses relative path by default).
18 */
19 public class MuleConfigOnFileSystemWithSpringImportsTestCase extends MuleConfigWithSpringImportsTestCase
20 {
21 public String getConfigResources()
22 {
23 // TODO TC this is guaranteed to fail, when e.g. running in a reactor build fromt the root
24 // update: it work on CI, but fails for a single run in IDE, maybe getting all resources
25 // from classpath and copying them to the target folder for the test would be more robust?
26 return "./src/test/resources/mule-config-with-imports.xml";
27 }
28 }
29
30