1 /*
2 * $Id: MuleConfigOnFileSystemWithSpringImportsClasspathTestCase.java 8354 2007-09-12 15:19:56Z dirk.olmes $
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="classpath:file.xml"/></code> statements. The Spring configs will be loaded from the classpath
17 * instead of the same directory as the Mule config because of the "classpath:" prefix (Spring uses relative path
18 * by default).
19 */
20 public class MuleConfigOnFileSystemWithSpringImportsClasspathTestCase extends MuleConfigOnFileSystemWithSpringImportsTestCase
21 {
22 public String getConfigResources()
23 {
24 // TODO TC this is guaranteed to fail, when e.g. running in a reactor build fromt the root
25 // update: it work on CI, but fails for a single run in IDE, maybe getting all resources
26 // from classpath and copying them to the target folder for the test would be more robust?
27 return "./src/test/resources/mule-config-with-imports-classpath.xml";
28 }
29 }
30
31