|
|
|
@ -17,14 +17,13 @@
@@ -17,14 +17,13 @@
|
|
|
|
|
package org.springframework.test.context.junit4; |
|
|
|
|
|
|
|
|
|
import org.junit.runner.RunWith; |
|
|
|
|
|
|
|
|
|
import org.springframework.test.context.ContextConfiguration; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Extension of {@link SpringJUnit4ClassRunnerAppCtxTests}, which verifies that |
|
|
|
|
* we can specify an explicit, <em>absolute path</em> location for our |
|
|
|
|
* application context. |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* @author Sam Brannen |
|
|
|
|
* @since 2.5 |
|
|
|
|
* @see SpringJUnit4ClassRunnerAppCtxTests |
|
|
|
@ -32,7 +31,7 @@ import org.springframework.test.context.ContextConfiguration;
@@ -32,7 +31,7 @@ import org.springframework.test.context.ContextConfiguration;
|
|
|
|
|
* @see RelativePathSpringJUnit4ClassRunnerAppCtxTests |
|
|
|
|
*/ |
|
|
|
|
@RunWith(SpringJUnit4ClassRunner.class) |
|
|
|
|
@ContextConfiguration(locations = { SpringJUnit4ClassRunnerAppCtxTests.DEFAULT_CONTEXT_RESOURCE_PATH }) |
|
|
|
|
@ContextConfiguration(locations = { SpringJUnit4ClassRunnerAppCtxTests.DEFAULT_CONTEXT_RESOURCE_PATH }, inheritLocations = false) |
|
|
|
|
public class AbsolutePathSpringJUnit4ClassRunnerAppCtxTests extends SpringJUnit4ClassRunnerAppCtxTests { |
|
|
|
|
/* all tests are in the parent class. */ |
|
|
|
|
} |
|
|
|
|